sw/source/filter/ww8/ww8toolbar.cxx | 334 ------------------------------------ sw/source/filter/ww8/ww8toolbar.hxx | 57 ------ 2 files changed, 391 deletions(-)
New commits: commit f2fd69e3c95723eb41ee35c9ff288bef027d2d8b Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Thu Jan 18 23:02:24 2018 +0100 sw: remove no longer building ww8toolbar dump code Such dumper code for other ww8 features is in the separate mso-dumper repo. If it is found really useful later, it can be still restored and fixed up to actually build, though. Change-Id: Id542fef9c0111c8bc88b943e268c9a02f3503d72 Reviewed-on: https://gerrit.libreoffice.org/48161 Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk> Tested-by: Jenkins <c...@libreoffice.org> diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx index 8011a640410c..fbaf35979faf 100644 --- a/sw/source/filter/ww8/ww8toolbar.cxx +++ b/sw/source/filter/ww8/ww8toolbar.cxx @@ -179,48 +179,6 @@ SwTBC* SwCTBWrapper::GetTBCAtOffset( sal_uInt32 nStreamOffset ) return nullptr; } -#if OSL_DEBUG_LEVEL > 1 -void SwCTBWrapper::Print( FILE* fp ) -{ - Indent a; - indent_printf(fp,"[ 0x%x ] SwCTBWrapper - dump\n", nOffSet ); - bool bRes = ( ch == 0x12 && reserved2 == 0x0 && reserved3 == 0x7 && reserved4 == 0x6 && reserved5 == 0xC ); - if ( bRes ) - indent_printf(fp," sanity check ( first 8 bytes conform )\n"); - else - { - indent_printf(fp," reserved1(0x%x)\n",ch); - indent_printf(fp," reserved2(0x%x)\n",reserved2); - indent_printf(fp," reserved3(0x%x)\n",reserved3); - indent_printf(fp," reserved4(0x%x)\n",reserved4); - indent_printf(fp," reserved5(0x%x)\n",reserved5); - indent_printf(fp,"Quitting dump"); - return; - } - indent_printf(fp," size of TBDelta structures 0x%x\n", cbTBD ); - indent_printf(fp," cCust: no. of cCust structures 0x%x\n",cCust); - indent_printf(fp," cbDTBC: no. of bytes in rtbdc array 0x%x\n", static_cast< unsigned int >( cbDTBC )); - - sal_Int32 index = 0; - - for ( std::vector< SwTBC >::iterator it = rtbdc.begin(); it != rtbdc.end(); ++it, ++index ) - { - indent_printf(fp," Dumping rtbdc[%d]\n", static_cast< int >( index )); - Indent b; - it->Print( fp ); - } - - index = 0; - - for ( std::vector< Customization >::iterator it = rCustomizations.begin(); it != rCustomizations.end(); ++it, ++index ) - { - indent_printf(fp," Dumping customization [%d]\n", static_cast< int >( index )); - Indent c; - it->Print(fp); - } -} -#endif - bool SwCTBWrapper::ImportCustomToolBar( SfxObjectShell& rDocSh ) { for ( std::vector< Customization >::iterator it = rCustomizations.begin(); it != rCustomizations.end(); ++it ) @@ -292,40 +250,6 @@ bool Customization::Read( SvStream &rS) return rS.good(); } -#if OSL_DEBUG_LEVEL > 1 -void Customization::Print( FILE* fp ) -{ - Indent a; - indent_printf( fp,"[ 0x%x ] Customization -- dump \n", nOffSet ); - indent_printf( fp," tbidForTBD 0x%x ( should be 0 for CTBs )\n", static_cast< unsigned int >( tbidForTBD )); - indent_printf( fp," reserved1 0x%x \n", reserved1); - indent_printf( fp," ctbds - number of customisations %d(0x%x) \n", ctbds, ctbds ); - if ( !tbidForTBD && !ctbds ) - customizationDataCTB->Print( fp ); - else - { - const char* pToolBar = NULL; - switch ( tbidForTBD ) - { - case 0x9: - pToolBar = "Standard"; - break; - case 0x25: - pToolBar = "Builtin-Menu"; - break; - default: - pToolBar = "Unknown toolbar"; - break; - } - - indent_printf( fp," TBDelta(s) are associated with %s toolbar.\n", pToolBar); - std::vector< TBDelta >::iterator it = customizationDataTBDelta.begin(); - for (sal_uInt16 index = 0; index < ctbds; ++it, ++index) - it->Print( fp ); - } -} -#endif - bool Customization::ImportMenu( SwCTBWrapper& rWrapper, CustomToolBarImportHelper& helper ) { if ( tbidForTBD == 0x25 ) // we can handle in a limited way additions the built-in menu bar @@ -452,28 +376,6 @@ bool TBDelta::Read(SvStream &rS) return rS.good(); } -#if OSL_DEBUG_LEVEL > 1 -void TBDelta::Print( FILE* fp ) -{ - // Like most of the debug output, it's raw and little ( no ) - // interpretation of the data is output ( e.g. flag values etc. ) - indent_printf( fp, "[ 0x%x ] TBDelta -- dump\n", nOffSet ); - indent_printf( fp, " doprfatendFlags 0x%x\n",doprfatendFlags ); - - indent_printf( fp, " ibts 0x%x\n",ibts ); - indent_printf( fp, " cidNext 0x%x\n", static_cast< unsigned int >( cidNext ) ); - indent_printf( fp, " cid 0x%x\n", static_cast< unsigned int >( cid ) ); - indent_printf( fp, " fc 0x%x\n", static_cast< unsigned int >( fc ) ); - indent_printf( fp, " CiTBDE 0x%x\n",CiTBDE ); - indent_printf( fp, " cbTBC 0x%x\n", cbTBC ); - if ( ControlDropsToolBar() ) - { - indent_printf( fp, " this delta is associated with a control that drops a menu toolbar\n", cbTBC ); - indent_printf( fp, " the menu toolbar drops the toolbar defined at index[%d] in the rCustomizations array of the CTBWRAPPER that contains this TBDelta\n", CustomizationIndex() ); - } -} -#endif - SwCTB::SwCTB() : cbTBData( 0 ) ,iWCTBl( 0 ) ,reserved( 0 ) @@ -522,35 +424,6 @@ bool SwCTB::Read( SvStream &rS) return rS.good(); } -#if OSL_DEBUG_LEVEL > 1 -void -SwCTB::Print( FILE* fp ) -{ - Indent a; - indent_printf(fp, "[ 0x%x ] SwCTB - dump\n", nOffSet ); - indent_printf(fp, " name %s\n", OUStringToOString( name.getString(), RTL_TEXTENCODING_UTF8 ).getStr() ); - indent_printf(fp, " cbTBData size, in bytes, of this structure excluding the name, cCtls, and rTBC fields. %x\n", static_cast< unsigned int >( cbTBData ) ); - - tb.Print(fp); - for ( short counter = 0; counter < nVisualData; ++counter ) - { - indent_printf( fp, " TBVisualData [%d]\n", counter); - Indent b; - rVisualData[ counter ].Print( fp ); - } - indent_printf(fp, " iWCTBl 0x%x reserved 0x%x unused 0x%x cCtls( toolbar controls ) 0x%x \n", static_cast< unsigned int >( iWCTBl ), reserved, unused, static_cast< unsigned int >( cCtls ) ); - if ( cCtls ) - { - for ( sal_Int32 index = 0; index < cCtls; ++index ) - { - - indent_printf(fp, " dumping toolbar control 0x%x\n", static_cast< unsigned int >( index ) ); - rTBC[ index ].Print( fp ); - } - } -} -#endif - bool SwCTB::ImportCustomToolBar( SwCTBWrapper& rWrapper, CustomToolBarImportHelper& helper ) { bool bRes = false; @@ -635,23 +508,6 @@ bool SwTBC::Read( SvStream &rS ) return rS.good(); } -#if OSL_DEBUG_LEVEL > 1 -void SwTBC::Print( FILE* fp ) -{ - Indent a; - indent_printf(fp,"[ 0x%x ] SwTBC -- dump\n", nOffSet ); - indent_printf(fp," dumping header ( TBCHeader )\n"); - tbch.Print( fp ); - if ( cid.get() ) - indent_printf(fp," cid = 0x%x\n", static_cast< unsigned int >( *cid ) ); - if ( tbcd.get() ) - { - indent_printf(fp," dumping toolbar data TBCData \n"); - tbcd->Print(fp); - } -} -#endif - bool SwTBC::ImportToolBarControl( SwCTBWrapper& rWrapper, const css::uno::Reference< css::container::XIndexContainer >& toolbarcontainer, CustomToolBarImportHelper& helper, bool bIsMenuBar ) { @@ -769,16 +625,6 @@ Xst::Read( SvStream& rS ) return rS.good(); } -#if OSL_DEBUG_LEVEL > 1 -void -Xst::Print( FILE* fp ) -{ - Indent a; - indent_printf( fp, "[ 0x%x ] Xst -- dump\n", nOffSet ); - indent_printf( fp, " %s", OUStringToOString( sString, RTL_TEXTENCODING_UTF8 ).getStr() ); -} -#endif - Tcg::Tcg() : nTcgVer( -1 ) { } @@ -794,17 +640,6 @@ bool Tcg::Read(SvStream &rS) return tcg->Read( rS ); } -#if OSL_DEBUG_LEVEL > 1 -void Tcg::Print( FILE* fp ) -{ - Indent a(true); - indent_printf(fp, "[ 0x%x ] Tcg - dump %d\n", nOffSet, nTcgVer); - indent_printf(fp," nTcgVer %d\n", nTcgVer); - if ( tcg.get() ) - tcg->Print( fp ); -} -#endif - bool Tcg::ImportCustomToolBar( SfxObjectShell& rDocSh ) { if ( tcg.get() ) @@ -906,24 +741,6 @@ bool Tcg255::Read(SvStream &rS) // Peek at } -#if OSL_DEBUG_LEVEL > 1 -void Tcg255::Print( FILE* fp) -{ - Indent a; - indent_printf(fp, "[ 0x%x ] Tcg255 - dump\n", nOffSet ); - indent_printf(fp, " contains %d sub records\n", rgtcgData.size() ); - std::vector< Tcg255SubStruct* >::iterator it = rgtcgData.begin(); - std::vector< Tcg255SubStruct* >::iterator it_end = rgtcgData.end(); - - for( sal_Int32 count = 1; it != it_end ; ++it, ++count ) - { - Indent b; - indent_printf(fp, " [%d] Tcg255SubStruct \n", static_cast< unsigned int >( count ) ); - (*it)->Print(fp); - } -} -#endif - Tcg255SubStruct::Tcg255SubStruct( ) : ch(0) { } @@ -966,21 +783,6 @@ bool PlfMcd::Read(SvStream &rS) return rS.good(); } -#if OSL_DEBUG_LEVEL > 1 -void PlfMcd::Print( FILE* fp ) -{ - Indent a; - indent_printf(fp, "[ 0x%x ] PlfMcd ( Tcg255SubStruct ) - dump\n", nOffSet ); - indent_printf(fp, " contains %d MCD records\n", static_cast<int>( iMac ) ); - for ( sal_Int32 count=0; count < iMac; ++count ) - { - Indent b; - indent_printf(fp, "[%d] MCD\n", static_cast< int >( count ) ); - rgmcd[ count ].Print( fp ); - } -} -#endif - PlfAcd::PlfAcd() : iMac(0) ,rgacd(nullptr) @@ -1017,21 +819,6 @@ bool PlfAcd::Read( SvStream &rS) return rS.good(); } -#if OSL_DEBUG_LEVEL > 1 -void PlfAcd::Print( FILE* fp ) -{ - Indent a; - indent_printf(fp, "[ 0x%x ] PlfAcd ( Tcg255SubStruct ) - dump\n", nOffSet ); - indent_printf(fp, " contains %d ACD records\n", static_cast< int >( iMac ) ); - for ( sal_Int32 count=0; count < iMac; ++count ) - { - Indent b; - indent_printf(fp, "[%d] ACD\n", static_cast< int >( count ) ); - rgacd[ count ].Print( fp ); - } -} -#endif - PlfKme::PlfKme() : iMac( 0 ) ,rgkme( nullptr ) @@ -1065,21 +852,6 @@ bool PlfKme::Read(SvStream &rS) return rS.good(); } -#if OSL_DEBUG_LEVEL > 1 -void PlfKme::Print( FILE* fp ) -{ - Indent a; - indent_printf(fp, "[ 0x%x ] PlfKme ( Tcg255SubStruct ) - dump\n", nOffSet ); - indent_printf(fp, " contains %d Kme records\n", static_cast< int >( iMac ) ); - for ( sal_Int32 count=0; count < iMac; ++count ) - { - Indent b; - indent_printf(fp, "[%d] Kme\n", static_cast< int >( count ) ); - rgkme[ count ].Print( fp ); - } -} -#endif - TcgSttbf::TcgSttbf() { } @@ -1092,15 +864,6 @@ bool TcgSttbf::Read( SvStream &rS) return sttbf.Read( rS ); } -#if OSL_DEBUG_LEVEL > 1 -void TcgSttbf::Print( FILE* fp ) -{ - Indent a; - indent_printf(fp,"[ 0x%x ] TcgSttbf - dump\n", nOffSet ); - sttbf.Print( fp ); -} -#endif - TcgSttbfCore::TcgSttbfCore() : fExtend( 0 ) ,cData( 0 ) ,cbExtra( 0 ) @@ -1132,23 +895,6 @@ bool TcgSttbfCore::Read( SvStream& rS ) return rS.good(); } -#if OSL_DEBUG_LEVEL > 1 -void TcgSttbfCore::Print( FILE* fp ) -{ - Indent a; - indent_printf( fp, "[ 0x%x ] TcgSttbfCore - dump\n"); - indent_printf( fp, " fExtend 0x%x [expected 0xFFFF ]\n", fExtend ); - indent_printf( fp, " cbExtra 0x%x [expected 0x02 ]\n", cbExtra ); - indent_printf( fp, " cData no. or string data items %d (0x%x)\n", cData, cData ); - - if ( cData ) - { - for ( sal_Int32 index = 0; index < cData; ++index ) - indent_printf(fp," string dataItem[ %d(0x%x) ] has name %s and if referenced %d times.\n", static_cast< int >( index ), static_cast< unsigned int >( index ), OUStringToOString( dataItems[ index ].data, RTL_TEXTENCODING_UTF8 ).getStr(), dataItems[ index ].extraData ); - } -} -#endif - MacroNames::MacroNames() : iMac( 0 ) ,rgNames( nullptr ) @@ -1181,21 +927,6 @@ bool MacroNames::Read( SvStream &rS) return rS.good(); } -#if OSL_DEBUG_LEVEL > 1 -void MacroNames::Print( FILE* fp ) -{ - Indent a; - indent_printf(fp, "[ 0x%x ] MacroNames ( Tcg255SubStruct ) - dump\n"); - indent_printf(fp, " contains %d MacroName records\n", iMac ); - for ( sal_Int32 count=0; count < iMac; ++count ) - { - Indent b; - indent_printf(fp, "[%d] MacroName\n", static_cast<int>( count ) ); - rgNames[ count ].Print( fp ); - } -} -#endif - MacroName::MacroName():ibst(0) { } @@ -1208,16 +939,6 @@ bool MacroName::Read(SvStream &rS) return xstz.Read( rS ); } -#if OSL_DEBUG_LEVEL > 1 -void MacroName::Print( FILE* fp ) -{ - Indent a; - indent_printf( fp, "[ 0x%x ] MacroName - dump"); - indent_printf( fp," index - 0x%x has associated following record\n", ibst ); - xstz.Print( fp ); -} -#endif - Xstz::Xstz():chTerm(0) { } @@ -1235,17 +956,6 @@ Xstz::Read(SvStream &rS) return rS.good(); } -#if OSL_DEBUG_LEVEL > 1 -void Xstz::Print( FILE* fp ) -{ - Indent a; - indent_printf(fp,"[ 0x%x ] Xstz -- dump\n", nOffSet ); - indent_printf(fp," Xst\n"); - xst.Print( fp ); - indent_printf(fp," chterm 0x%x ( should be zero )\n", chTerm); -} -#endif - Kme::Kme() : reserved1(0) ,reserved2(0) ,kcm1(0) @@ -1268,21 +978,6 @@ Kme::Read(SvStream &rS) return rS.good(); } -#if OSL_DEBUG_LEVEL > 1 -void Kme::Print( FILE* fp ) -{ - Indent a; - - indent_printf( fp, "[ 0x%x ] Kme - dump\n", nOffSet ); - indent_printf( fp, " reserved1 0x%x [expected 0x0 ]\n", reserved1 ); - indent_printf( fp, " reserved2 0x%x [expected 0x0 ]\n", reserved2 ); - indent_printf( fp, " kcm1 0x%x [shortcut key]\n", kcm1 ); - indent_printf( fp, " kcm2 0x%x [shortcut key]\n", kcm2 ); - indent_printf( fp, " kt 0x%x \n", kt ); - indent_printf( fp, " param 0x%x \n", static_cast< unsigned int >( param ) ); -} -#endif - Acd::Acd() : ibst( 0 ) , fciBasedOnABC( 0 ) { @@ -1296,17 +991,6 @@ bool Acd::Read(SvStream &rS) return rS.good(); } -#if OSL_DEBUG_LEVEL > 1 -void Acd::Print( FILE* fp ) -{ - Indent a; - indent_printf( fp,"[ 0x%x ] ACD - dump\n", nOffSet ); - // #TODO flesh out interpretation of these values - indent_printf( fp," ibst 0x%x\n", ibst); - indent_printf( fp," fciBaseObABC 0x%x\n", fciBasedOnABC); -} -#endif - MCD::MCD() : reserved1(0x56) ,reserved2( 0 ) ,ibst( 0 ) @@ -1328,22 +1012,4 @@ bool MCD::Read(SvStream &rS) return rS.good(); } -#if OSL_DEBUG_LEVEL > 1 -void MCD::Print( FILE* fp ) -{ - Indent a; - indent_printf( fp, "[ 0x%x ] MCD - dump\n", nOffSet ); - indent_printf( fp, " reserved1 0x%x [expected 0x56 ]\n", reserved1 ); - indent_printf( fp, " reserved2 0x%x [expected 0x0 ]\n", reserved2 ); - indent_printf( fp, " ibst 0x%x specifies macro with MacroName.xstz = 0x%x\n", ibst, ibst ); - indent_printf( fp, " ibstName 0x%x index into command string table ( TcgSttbf.sttbf )\n", ibstName ); - - indent_printf( fp, " reserved3 0x%x [expected 0xFFFF ]\n", reserved3 ); - indent_printf( fp, " reserved4 0x%x\n", static_cast< unsigned int >( reserved4 ) ); - indent_printf( fp, " reserved5 0x%x [expected 0x0 ]\n", static_cast< unsigned int >( reserved5 ) ); - indent_printf( fp, " reserved6 0x%x\n", static_cast< unsigned int >( reserved6 ) ); - indent_printf( fp, " reserved7 0x%x\n", static_cast< unsigned int >( reserved7 ) ); -} -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/filter/ww8/ww8toolbar.hxx b/sw/source/filter/ww8/ww8toolbar.hxx index ec51bcfdc987..aad70b859e5b 100644 --- a/sw/source/filter/ww8/ww8toolbar.hxx +++ b/sw/source/filter/ww8/ww8toolbar.hxx @@ -25,9 +25,6 @@ public: Xst(){} bool Read(SvStream &rS) override; const OUString& getString() const { return sString; } -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* fp ) override; -#endif }; class SwTBC : public TBBase @@ -40,9 +37,6 @@ public: SwTBC(); virtual ~SwTBC() override; bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* ) override; -#endif bool ImportToolBarControl( SwCTBWrapper&, const css::uno::Reference< css::container::XIndexContainer >&, CustomToolBarImportHelper&, bool ); OUString GetCustomText(); }; @@ -66,9 +60,6 @@ public: SwCTB(); virtual ~SwCTB() override; bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* fp ) override; -#endif bool IsMenuToolbar(); bool ImportCustomToolBar( SwCTBWrapper&, CustomToolBarImportHelper& ); bool ImportMenuTB( SwCTBWrapper&, const css::uno::Reference< css::container::XIndexContainer >&, CustomToolBarImportHelper& ); @@ -89,9 +80,6 @@ class TBDelta : public TBBase public: TBDelta(); bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* ) override; -#endif bool ControlIsInserted(); bool ControlDropsToolBar(); sal_Int32 TBCStreamOffset() { return fc;} @@ -132,9 +120,6 @@ public: bool Read(SvStream &rS) override; bool ImportCustomToolBar( SwCTBWrapper&, CustomToolBarImportHelper& ); bool ImportMenu( SwCTBWrapper&, CustomToolBarImportHelper& ); -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* ) override; -#endif SwCTB* GetCustomizationData() { return customizationDataCTB.get(); }; }; @@ -167,9 +152,6 @@ public: Customization* GetCustomizaton( sal_Int16 index ); SwCTB* GetCustomizationData( const OUString& name ); -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* ) override; -#endif }; class MCD : public TBBase @@ -187,9 +169,6 @@ class MCD : public TBBase public: MCD(); bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* ) override; -#endif }; class PlfMcd : public Tcg255SubStruct @@ -202,9 +181,6 @@ class PlfMcd : public Tcg255SubStruct public: explicit PlfMcd(); bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* ) override; -#endif }; class Acd : public TBBase @@ -217,9 +193,6 @@ class Acd : public TBBase public: Acd(); bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* ) override; -#endif }; class PlfAcd: public Tcg255SubStruct @@ -233,9 +206,6 @@ public: explicit PlfAcd(); virtual ~PlfAcd() override; bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print(FILE*) override; -#endif }; class Kme : public TBBase @@ -254,9 +224,6 @@ public: Kme(); virtual ~Kme() override; bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* ) override; -#endif }; class PlfKme : public Tcg255SubStruct @@ -270,9 +237,6 @@ public: explicit PlfKme(); virtual ~PlfKme() override; bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* ) override; -#endif }; class TcgSttbfCore : public TBBase @@ -296,9 +260,6 @@ public: TcgSttbfCore(); virtual ~TcgSttbfCore() override; bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* fp ) override; -#endif }; class TcgSttbf : public Tcg255SubStruct @@ -310,9 +271,6 @@ class TcgSttbf : public Tcg255SubStruct public: explicit TcgSttbf(); bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* fp ) override; -#endif }; class Xstz : public TBBase @@ -326,9 +284,6 @@ class Xstz : public TBBase public: Xstz(); bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* fp ) override; -#endif }; class MacroName : public TBBase @@ -341,9 +296,6 @@ class MacroName : public TBBase public: MacroName(); bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* ) override; -#endif }; class MacroNames : public Tcg255SubStruct @@ -358,9 +310,6 @@ public: explicit MacroNames(); virtual ~MacroNames() override; bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* ) override; -#endif }; class Tcg255 : public TBBase @@ -374,9 +323,6 @@ public: Tcg255(); virtual ~Tcg255() override; bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* ) override; -#endif bool ImportCustomToolBar( SfxObjectShell& rDocSh ); }; @@ -391,9 +337,6 @@ public: Tcg(); bool Read(SvStream &rS) override; bool ImportCustomToolBar( SfxObjectShell& rDocSh ); -#if OSL_DEBUG_LEVEL > 1 - virtual void Print( FILE* ) override; -#endif }; #endif _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits