sw/source/core/text/txtftn.cxx | 15 --------------- 1 file changed, 15 deletions(-)
New commits: commit c2ea797abf377c4a6a1d01de93a638aa5f068183 Author: Miklos Vajna <vmik...@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 <vmik...@collabora.co.uk> Tested-by: Jenkins <c...@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; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits