summaryrefslogtreecommitdiff
path: root/sw/source/core/text/txtftn.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-11-16 21:57:33 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-11-17 09:35:14 +0100
commitc2ea797abf377c4a6a1d01de93a638aa5f068183 (patch)
tree57cf235657db43f5347eb870ed5abb30be427142 /sw/source/core/text/txtftn.cxx
parent262bc4387970106f4fa9bf0b85cf82cbf645bcf8 (diff)
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@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/core/text/txtftn.cxx')
-rw-r--r--sw/source/core/text/txtftn.cxx15
1 files changed, 0 insertions, 15 deletions
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;
}