[Libreoffice-commits] core.git: sw/source
Miklos Vajna
vmiklos at collabora.co.uk
Fri Nov 17 08:35:35 UTC 2017
sw/source/core/text/txtftn.cxx | 15 ---------------
1 file changed, 15 deletions(-)
New commits:
commit c2ea797abf377c4a6a1d01de93a638aa5f068183
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Thu Nov 16 21:57:33 2017 +0100
sw: remove temporary debug code in txtftn that no longer builds anyway
Change-Id: I3a5f35f8184a513a2d11b01a13535700be149ead
Reviewed-on: https://gerrit.libreoffice.org/44839
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/sw/source/core/text/txtftn.cxx b/sw/source/core/text/txtftn.cxx
index 49d202c830d3..d50d9acb76d1 100644
--- a/sw/source/core/text/txtftn.cxx
+++ b/sw/source/core/text/txtftn.cxx
@@ -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;
}
More information about the Libreoffice-commits
mailing list