summaryrefslogtreecommitdiff
path: root/writerfilter/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-10-16 09:25:06 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-10-16 09:34:00 +0200
commit7f71e99e3f35e7b94aa426f588276d05bf86bf09 (patch)
tree2798c5ac5768d2417cccfd1543a36f849c8b5b15 /writerfilter/inc
parentbc9a5f00c60b07d600886b237db2ee4822f0f662 (diff)
writerfilter: check for DEBUG_DOMAINMAPPER, not OSL_DEBUG_LEVEL explicitly
Previously code only built if DEBUG_DOMAINMAPPER was exactly defined with OSL_DEBUG_LEVEL was > 1, as they these conditions were used for the same purpose. Change all this dmapper XML dumping code to consistently use DEBUG_DOMAINMAPPER, so later it'll be possible to change when it's defined without breaking the build. Change-Id: I32442cf098162c7d7c9eb7c454094685ab654b74
Diffstat (limited to 'writerfilter/inc')
-rw-r--r--writerfilter/inc/resourcemodel/TagLogger.hxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/writerfilter/inc/resourcemodel/TagLogger.hxx b/writerfilter/inc/resourcemodel/TagLogger.hxx
index 94fc67a3dff0..37a90789761b 100644
--- a/writerfilter/inc/resourcemodel/TagLogger.hxx
+++ b/writerfilter/inc/resourcemodel/TagLogger.hxx
@@ -61,26 +61,20 @@ namespace writerfilter
void setFileName(const std::string & filename);
void startDocument();
void endDocument();
-#endif
-#ifdef DEBUG_DOMAINMAPPER
void element(const std::string & name);
void unoPropertySet(css::uno::Reference<css::beans::XPropertySet> rPropSet);
-#endif
-#if OSL_DEBUG_LEVEL > 1
void startElement(const std::string & name);
#endif
void attribute(const std::string & name, const std::string & value);
-#if OSL_DEBUG_LEVEL > 1
+#ifdef DEBUG_DOMAINMAPPER
void attribute(const std::string & name, const OUString & value);
void attribute(const std::string & name, sal_uInt32 value);
void attribute(const std::string & name, const css::uno::Any aAny);
void chars(const std::string & chars);
void chars(const OUString & chars);
void endElement();
-#endif
-#ifdef DEBUG_DOMAINMAPPER
void propertySet(writerfilter::Reference<Properties>::Pointer_t props,
IdToString::Pointer_t pIdToString);
#endif