sw: convert that to assert too
Change-Id: I4f06fc4871cbb92b40d950b31a06b5e185aed321 Reviewed-on: https://gerrit.libreoffice.org/50806 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
This commit is contained in:
@@ -1749,7 +1749,7 @@ SwLayoutFrame *SwFrame::GetNextSctLeaf( MakePageType eMakePage )
|
||||
pNxt = static_cast<SwSectionFrame*>(pTmp);
|
||||
else
|
||||
{
|
||||
OSL_ENSURE( pTmp->IsTabFrame(), "GetNextSctLeaf: Wrong Type" );
|
||||
assert(pTmp->IsTabFrame());
|
||||
pNxt = static_cast<SwTabFrame*>(pTmp);
|
||||
}
|
||||
while( !pNxtContent && nullptr != ( pTmp = pTmp->GetNext() ) )
|
||||
|
||||
Reference in New Issue
Block a user