Kaydet (Commit) b7a66651 authored tarafından Miklos Vajna's avatar Miklos Vajna

sw laycache: clean up debug code that doesn't even build anymore

Change-Id: I52ad9ac6d43881a02c4817ea7527761105a12786
Reviewed-on: https://gerrit.libreoffice.org/37529Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst 389da66d
...@@ -756,11 +756,6 @@ bool SwLayHelper::CheckInsert( sal_uLong nNodeIndex ) ...@@ -756,11 +756,6 @@ bool SwLayHelper::CheckInsert( sal_uLong nNodeIndex )
( ++mnIndex < mpImpl->size() && ( ++mnIndex < mpImpl->size() &&
mpImpl->GetBreakIndex( mnIndex ) == nNodeIndex ) ) ) mpImpl->GetBreakIndex( mnIndex ) == nNodeIndex ) ) )
mbFirst = false; 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. // OD 09.04.2003 #108698# - always split a big tables.
if ( !mbFirst || if ( !mbFirst ||
( mrpFrame->IsTabFrame() && bLongTab ) ( mrpFrame->IsTabFrame() && bLongTab )
...@@ -771,11 +766,6 @@ bool SwLayHelper::CheckInsert( sal_uLong nNodeIndex ) ...@@ -771,11 +766,6 @@ bool SwLayHelper::CheckInsert( sal_uLong nNodeIndex )
{ {
if( mpImpl || bLongTab ) 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_Int32 nOfst = COMPLETE_STRING;
sal_uInt16 nType = SW_LAYCACHE_IO_REC_PAGES; sal_uInt16 nType = SW_LAYCACHE_IO_REC_PAGES;
if( bLongTab ) if( bLongTab )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment