summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-05-12 09:26:39 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-05-12 10:10:50 +0200
commitb7a66651546787b9e575e5c0d6f532278b928f22 (patch)
treee713a2b1c02ba88b1a8c718d2f9f026ffbf5cb76 /sw/source
parent389da66dfc96d06c407bff156c4ea21e940c5e06 (diff)
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@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/layout/laycache.cxx10
1 files changed, 0 insertions, 10 deletions
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 )