diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-04-14 15:39:46 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-04-14 15:46:22 +0200 |
commit | 893590f16e9ac10e61f2c1b37e27a11fe2205f42 (patch) | |
tree | da6aa7926c3178eb3a5100eb586b4a14d04bcc48 /sc | |
parent | 2188a7ac2eb37aee89f8f305bdf99db9b05b20bf (diff) |
The entry points for these are hidden behind OSL_DEBUG_LEVEL > 1 too.
Change-Id: I728e808ac897aa1be184fb4a8bbbf781eb816cf0
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xltoolbar.cxx | 11 | ||||
-rw-r--r-- | sc/source/filter/excel/xltoolbar.hxx | 20 |
2 files changed, 25 insertions, 6 deletions
diff --git a/sc/source/filter/excel/xltoolbar.cxx b/sc/source/filter/excel/xltoolbar.cxx index 33aa2a43ea1b..468de5eac05b 100644 --- a/sc/source/filter/excel/xltoolbar.cxx +++ b/sc/source/filter/excel/xltoolbar.cxx @@ -97,6 +97,7 @@ bool ScCTB::Read( SvStream &rS ) return true; } +#if OSL_DEBUG_LEVEL > 1 void ScCTB::Print( FILE* fp ) { Indent a; @@ -123,6 +124,7 @@ void ScCTB::Print( FILE* fp ) it->Print( fp ); } } +#endif bool ScCTB::IsMenuToolbar() { @@ -192,6 +194,7 @@ bool CTBS::Read( SvStream &rS ) return true; } +#if OSL_DEBUG_LEVEL > 1 void CTBS::Print( FILE* fp ) { Indent a; @@ -208,6 +211,7 @@ void CTBS::Print( FILE* fp ) indent_printf( fp, " ctbViews 0x%x\n", ctbViews ); indent_printf( fp, " ictbView 0x%x\n", ictbView ); } +#endif ScTBC::ScTBC() { @@ -237,7 +241,7 @@ ScTBC::Read(SvStream &rS) return true; } - +#if OSL_DEBUG_LEVEL > 1 void ScTBC::Print(FILE* fp) { @@ -249,6 +253,7 @@ ScTBC::Print(FILE* fp) if ( tbcd.get() ) tbcd->Print( fp ); } +#endif bool ScTBC::ImportToolBarControl( ScCTBWrapper& rWrapper, const css::uno::Reference< css::container::XIndexContainer >& toolbarcontainer, CustomToolBarImportHelper& helper, bool bIsMenuToolbar ) { @@ -307,6 +312,7 @@ bool ScTBC::ImportToolBarControl( ScCTBWrapper& rWrapper, const css::uno::Refere return true; } +#if OSL_DEBUG_LEVEL > 1 void TBCCmd::Print(FILE* fp) { @@ -319,6 +325,7 @@ TBCCmd::Print(FILE* fp) indent_printf( fp, " C ( reserved - ignored ) %s\n", A ? "true" : "false" ); indent_printf( fp, " reserved3 0x%x\n", reserved3 ); } +#endif bool TBCCmd::Read( SvStream &rS ) { @@ -361,6 +368,7 @@ ScCTBWrapper::Read( SvStream &rS) return true; } +#if OSL_DEBUG_LEVEL > 1 void ScCTBWrapper::Print( FILE* fp ) { @@ -374,6 +382,7 @@ ScCTBWrapper::Print( FILE* fp ) it->Print( fp ); } } +#endif ScCTB* ScCTBWrapper::GetCustomizationData( const OUString& sTBName ) { diff --git a/sc/source/filter/excel/xltoolbar.hxx b/sc/source/filter/excel/xltoolbar.hxx index abb522077537..d30169afbf84 100644 --- a/sc/source/filter/excel/xltoolbar.hxx +++ b/sc/source/filter/excel/xltoolbar.hxx @@ -26,7 +26,9 @@ public: bool C:1; sal_uInt16 reserved3:8; bool Read( SvStream& rS ) SAL_OVERRIDE; - void Print(FILE* fp) SAL_OVERRIDE; +#if OSL_DEBUG_LEVEL > 1 + virtual void Print(FILE* fp) SAL_OVERRIDE; +#endif }; class ScTBC : public TBBase @@ -37,7 +39,9 @@ class ScTBC : public TBBase public: ScTBC(); virtual ~ScTBC(){} - void Print( FILE* ) SAL_OVERRIDE; +#if OSL_DEBUG_LEVEL > 1 + virtual void Print( FILE* ) SAL_OVERRIDE; +#endif bool Read(SvStream &rS) SAL_OVERRIDE; bool ImportToolBarControl( ScCTBWrapper&, const com::sun::star::uno::Reference< com::sun::star::container::XIndexContainer >& toolbarcontainer, CustomToolBarImportHelper& helper, bool bIsMenuBar ); }; @@ -53,7 +57,9 @@ class ScCTB : public TBBase public: ScCTB(sal_uInt16); virtual ~ScCTB(){} - void Print( FILE* ) SAL_OVERRIDE; +#if OSL_DEBUG_LEVEL > 1 + virtual void Print( FILE* ) SAL_OVERRIDE; +#endif bool Read(SvStream &rS) SAL_OVERRIDE; bool IsMenuToolbar(); bool ImportCustomToolBar( ScCTBWrapper&, CustomToolBarImportHelper& ); @@ -78,7 +84,9 @@ public: CTBS& operator = ( const CTBS&); CTBS(); virtual ~CTBS(){} - void Print( FILE* ) SAL_OVERRIDE; +#if OSL_DEBUG_LEVEL > 1 + virtual void Print( FILE* ) SAL_OVERRIDE; +#endif bool Read(SvStream &rS) SAL_OVERRIDE; }; @@ -92,7 +100,9 @@ public: ScCTBWrapper(); virtual ~ScCTBWrapper(); bool Read(SvStream &rS) SAL_OVERRIDE; - void Print( FILE* ) SAL_OVERRIDE; +#if OSL_DEBUG_LEVEL > 1 + virtual void Print( FILE* ) SAL_OVERRIDE; +#endif bool ImportCustomToolBar( SfxObjectShell& rDocSh ); ScCTB* GetCustomizationData( const OUString& name ); }; |