diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-01-25 22:24:55 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-01-26 09:17:08 +0100 |
commit | 853e3fb639a540b2a452ee7116ae61e7b581f8fd (patch) | |
tree | dfae1d4dd42f3da62672917b0f62068d387e0203 /sw/source/filter/ww8/ww8par.cxx | |
parent | 199b307be547405fc32ed29e23e6aa9bb81ce398 (diff) |
sw: remove remaining not-compiling debug code to fix dbglevel=2 build
Change-Id: Ia94cb6b52d34e741106a9b0c84ec2158465f0843
Reviewed-on: https://gerrit.libreoffice.org/48641
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/filter/ww8/ww8par.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 3195a498f74c..e658111d03fd 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -392,9 +392,6 @@ public: Sttb(); bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* fp ) override; -#endif OUString getStringAtIndex( sal_uInt32 ); }; @@ -427,28 +424,6 @@ bool Sttb::Read( SvStream& rS ) return true; } -#if OSL_DEBUG_LEVEL > 1 -void Sttb::Print( FILE* fp ) -{ - fprintf( fp, "[ 0x%" SAL_PRIxUINT32 " ] Sttb - dump\n", nOffSet); - fprintf( fp, " fExtend 0x%x [expected 0xFFFF ]\n", fExtend ); - fprintf( fp, " cData no. or string data items %d (0x%x)\n", cData, cData ); - - if ( cData ) - { - for (sal_uInt16 index = 0; index < cData; ++index) - { - if (index >= dataItems.size()) - { - fprintf(fp, " Sttb truncated at entry %d(0x%x)\n", static_cast< int >( index ), static_cast< unsigned int >( index )); - break; - } - fprintf(fp," string dataItem[ %d(0x%x) ] has name %s\n", static_cast< int >( index ), static_cast< unsigned int >( index ), OUStringToOString( dataItems[ index ].data, RTL_TEXTENCODING_UTF8 ).getStr() ); - } - } -} -#endif - OUString Sttb::getStringAtIndex( sal_uInt32 index ) { @@ -4756,9 +4731,6 @@ void SwWW8ImplReader::ReadDocInfo() if (!checkSeek(*m_pTableStream, m_xWwFib->m_fcSttbfAssoc) || !aSttb.Read(*m_pTableStream)) SAL_WARN("sw.ww8", "** Read of SttbAssoc data failed!!!! "); m_pTableStream->Seek( nCur ); // return to previous position, is that necessary? -#if OSL_DEBUG_LEVEL > 1 - aSttb.Print( stderr ); -#endif OUString sPath = aSttb.getStringAtIndex( 0x1 ); OUString aURL; // attempt to convert to url (won't work for obvious reasons on linux) @@ -4840,9 +4812,6 @@ void WW8Customizations::Import( SwDocShell* pShell ) SAL_WARN("sw.ww8", "** Read of Customization data failed!!!! "); return; } -#if OSL_DEBUG_LEVEL > 1 - aTCG.Print( stderr ); -#endif aTCG.ImportCustomToolBar( *pShell ); } catch(...) |