Kaydet (Commit) c2ea797a authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: remove temporary debug code in txtftn that no longer builds anyway

Change-Id: I3a5f35f8184a513a2d11b01a13535700be149ead
Reviewed-on: https://gerrit.libreoffice.org/44839Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst 262bc438
......@@ -607,10 +607,6 @@ void SwTextFrame::ConnectFootnote( SwTextFootnote *pFootnote, const SwTwips nDea
SwFootnoteBossFrame *pBoss = pContent->FindFootnoteBossFrame( !bEnd );
#if OSL_DEBUG_LEVEL > 1
SwTwips nRstHeight = GetRstHeight();
#endif
pSect = pBoss->FindSctFrame();
bool bDocEnd = bEnd ? !( pSect && pSect->IsEndnAtEnd() ) :
( !( pSect && pSect->IsFootnoteAtEnd() ) &&
......@@ -771,17 +767,6 @@ void SwTextFrame::ConnectFootnote( SwTextFootnote *pFootnote, const SwTwips nDea
ValidateFrame();
}
#if OSL_DEBUG_LEVEL > 1
// pFootnoteFrame may have changed due to Calc ...
SwFootnoteFrame *pFootnoteFrame = pBoss->FindFootnote( this, pFootnote );
if( pFootnoteFrame && pBoss != pFootnoteFrame->FindFootnoteBossFrame( !bEnd ) )
{
int bla = 5;
(void)bla;
}
nRstHeight = GetRstHeight();
(void)nRstHeight;
#endif
mbInFootnoteConnect = false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment