summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-12-20 11:18:03 +0200
committerTor Lillqvist <tml@collabora.com>2015-12-20 11:18:03 +0200
commit1e840cc7c2b1cfac6f2935e6929d234464eac3ee (patch)
tree6a134ff66d0bc9524fb3c7f919fbc2058de8c34d /sd
parentac82c8d2b35ea3b3b73eccc58c593d94eb044214 (diff)
Move silly DBG macro to the only file where it is used
Change-Id: Ie0da09ffccba5ca92f629f38befa56370315feb7
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/pptx-epptooxml.cxx9
1 files changed, 9 insertions, 0 deletions
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()