diff options
author | Rohan Kumar <rohankanojia420@gmail.com> | 2016-03-03 16:19:27 +0530 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2016-04-05 12:09:42 +0000 |
commit | bc504b08f008b1813a29bb90c226340407c2077b (patch) | |
tree | 3f7ca8974d5752e52a7b3ac1227ab7a045f47b2b /include | |
parent | 931d003ade7c4a88f46be1e89b32d58e5eb9d083 (diff) |
tdf#91794 OSL_DEBUG_LEVEL > 1 removed in libo/filter module
I replaced the occurences of OSL_DEBUG_LEVEL > 1 with the debug
macro DEBUG_{module}_{area}.
Change-Id: Ibbf7345d3dc43354ff80a8ceafb4a812749513c7
Reviewed-on: https://gerrit.libreoffice.org/22355
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/filter/msfilter/mstoolbar.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/filter/msfilter/mstoolbar.hxx b/include/filter/msfilter/mstoolbar.hxx index 9daa89b22631..c6b3920e1966 100644 --- a/include/filter/msfilter/mstoolbar.hxx +++ b/include/filter/msfilter/mstoolbar.hxx @@ -21,8 +21,8 @@ #include <tools/stream.hxx> #include <vcl/bitmap.hxx> -class TBCHeader; +class TBCHeader; class MSOCommandConvertor { @@ -70,7 +70,7 @@ class MSFILTER_DLLPUBLIC TBBase friend class Indent; static int nIndent; // num spaces to indent before printing protected: -#if OSL_DEBUG_LEVEL > 1 +#ifdef DEBUG_FILTER_MSTOOLBAR static void indent_printf(FILE* fp, const char* format, ... ); #endif sal_uInt32 nOffSet; // usually for debug we can store the offset in the stream to this record @@ -79,7 +79,7 @@ public: virtual ~TBBase(){} virtual bool Read(SvStream &rS) = 0; -#if OSL_DEBUG_LEVEL > 1 +#ifdef DEBUG_FILTER_MSTOOLBAR virtual void Print( FILE* ) {} // #FIXME remove this an implement the debug routines in all the classes below to enable some sort of readable output #endif sal_uInt32 GetOffset() { return nOffSet; } @@ -127,7 +127,7 @@ public: TBCExtraInfo(); virtual ~TBCExtraInfo(){} bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 +#ifdef DEBUG_FILTER_MSTOOLBAR virtual void Print( FILE* ) override; #endif OUString getOnAction(); @@ -161,7 +161,7 @@ public: TBCBitMap(); virtual ~TBCBitMap(); bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 +#ifdef DEBUG_FILTER_MSTOOLBAR virtual void Print( FILE* ) override; #endif // #FIXME Const-ness @@ -275,7 +275,7 @@ public: bool isVisible() { return !( bFlagsTCR & 0x1 ); } bool isBeginGroup() { return ( bFlagsTCR & 0x2 ) != 0; } bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 +#ifdef DEBUG_FILTER_MSTOOLBAR virtual void Print( FILE* ) override; #endif sal_uInt32 getTbct() { return tbct; }; @@ -292,7 +292,7 @@ public: TBCData( const TBCHeader& Header ); virtual ~TBCData(){} bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 +#ifdef DEBUG_FILTER_MSTOOLBAR virtual void Print( FILE* ) override; #endif bool ImportToolBarControl( CustomToolBarImportHelper&, std::vector< css::beans::PropertyValue >&, bool& bBeginGroup, bool bIsMenuBar ); @@ -314,7 +314,7 @@ public: TB(); virtual ~TB(){} bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 +#ifdef DEBUG_FILTER_MSTOOLBAR virtual void Print( FILE* ) override; #endif sal_Int16 getcCL(){ return cCL; } @@ -332,7 +332,7 @@ public: sal_Int16 right; sal_Int16 bottom; bool Read( SvStream &rS ) override { rS.ReadInt16( left ).ReadInt16( top ).ReadInt16( right ).ReadInt16( bottom ); return true; } -#if OSL_DEBUG_LEVEL > 1 +#ifdef DEBUG_FILTER_MSTOOLBAR virtual void Print( FILE* fo ) override; #endif }; @@ -352,7 +352,7 @@ public: TBVisualData(); virtual ~TBVisualData(){} bool Read(SvStream &rS) override; -#if OSL_DEBUG_LEVEL > 1 +#ifdef DEBUG_FILTER_MSTOOLBAR virtual void Print( FILE* ) override; #endif }; |