[Libreoffice-commits] core.git: sw/source
Miklos Vajna
vmiklos at collabora.co.uk
Fri May 12 08:11:31 UTC 2017
sw/source/core/layout/laycache.cxx | 10 ----------
1 file changed, 10 deletions(-)
New commits:
commit b7a66651546787b9e575e5c0d6f532278b928f22
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri May 12 09:26:39 2017 +0200
sw laycache: clean up debug code that doesn't even build anymore
Change-Id: I52ad9ac6d43881a02c4817ea7527761105a12786
Reviewed-on: https://gerrit.libreoffice.org/37529
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/sw/source/core/layout/laycache.cxx b/sw/source/core/layout/laycache.cxx
index 66f816661e97..251651fdbbe4 100644
--- a/sw/source/core/layout/laycache.cxx
+++ b/sw/source/core/layout/laycache.cxx
@@ -756,11 +756,6 @@ bool SwLayHelper::CheckInsert( sal_uLong nNodeIndex )
( ++mnIndex < mpImpl->size() &&
mpImpl->GetBreakIndex( mnIndex ) == nNodeIndex ) ) )
mbFirst = false;
-#if OSL_DEBUG_LEVEL > 1
- sal_uLong nBreakIndex = ( pImpl && nIndex < pImpl->size() ) ?
- pImpl->GetBreakIndex(nIndex) : 0xffff;
- (void)nBreakIndex;
-#endif
// OD 09.04.2003 #108698# - always split a big tables.
if ( !mbFirst ||
( mrpFrame->IsTabFrame() && bLongTab )
@@ -771,11 +766,6 @@ bool SwLayHelper::CheckInsert( sal_uLong nNodeIndex )
{
if( mpImpl || bLongTab )
{
-#if OSL_DEBUG_LEVEL > 1
- sal_uLong nBrkIndex = ( pImpl && nIndex < pImpl->size() ) ?
- pImpl->GetBreakIndex(nIndex) : 0xffff;
- (void)nBrkIndex;
-#endif
sal_Int32 nOfst = COMPLETE_STRING;
sal_uInt16 nType = SW_LAYCACHE_IO_REC_PAGES;
if( bLongTab )
More information about the Libreoffice-commits
mailing list