From 1e840cc7c2b1cfac6f2935e6929d234464eac3ee Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 20 Dec 2015 11:18:03 +0200 Subject: Move silly DBG macro to the only file where it is used Change-Id: Ie0da09ffccba5ca92f629f38befa56370315feb7 --- sd/source/filter/eppt/pptx-epptooxml.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sd') diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index e9b02e85cdc7..0e5cdf3296c1 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -91,6 +91,15 @@ using ::com::sun::star::beans::XPropertySetInfo; using ::com::sun::star::container::XIndexAccess; using ::sax_fastparser::FSHelperPtr; +// FIXME: this should be removed and replaced by SAL_INFO +#ifndef DBG +# if OSL_DEBUG_LEVEL > 1 +# define DBG(x) x +# else +# define DBG(x) +# endif +#endif + DBG(void dump_pset(Reference< XPropertySet > rXPropSet);) #define IDS(x) OString(OStringLiteral(#x " ") + OString::number( mnShapeIdMax++ )).getStr() -- cgit