summaryrefslogtreecommitdiff
path: root/include/filter
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-10-26 20:12:19 +0100
committerEike Rathke <erack@redhat.com>2015-10-26 20:13:27 +0100
commit7bac2a210da02a4f5a00644f1ca2473d8fe6dd7c (patch)
tree300041149474efde3fc8b408ba00e48b25f16750 /include/filter
parentcc2ffcad79916ddfb903a60cbc4da946fc272d68 (diff)
TBBase::indent_printf() only #if OSL_DEBUG_LEVEL > 1
... so the next unusedcode round doesn't remove it again. Change-Id: I3bcbafb0461f09fcfbb0e14f4f1a1713a540b5a3
Diffstat (limited to 'include/filter')
-rw-r--r--include/filter/msfilter/mstoolbar.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/filter/msfilter/mstoolbar.hxx b/include/filter/msfilter/mstoolbar.hxx
index 205d019bca3c..d2e8531c7e51 100644
--- a/include/filter/msfilter/mstoolbar.hxx
+++ b/include/filter/msfilter/mstoolbar.hxx
@@ -70,7 +70,9 @@ class MSFILTER_DLLPUBLIC TBBase
friend class Indent;
static int nIndent; // num spaces to indent before printing
protected:
+#if OSL_DEBUG_LEVEL > 1
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
public:
TBBase() : nOffSet( 0 ) {}