diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-05-12 09:26:39 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-05-12 10:10:50 +0200 |
commit | b7a66651546787b9e575e5c0d6f532278b928f22 (patch) | |
tree | e713a2b1c02ba88b1a8c718d2f9f026ffbf5cb76 /sw | |
parent | 389da66dfc96d06c407bff156c4ea21e940c5e06 (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')
-rw-r--r-- | sw/source/core/layout/laycache.cxx | 10 |
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 ) |