summaryrefslogtreecommitdiff
path: root/writerfilter/inc
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-06-19 09:37:43 +0200
committerJan Holesovsky <kendy@collabora.com>2014-06-19 13:07:19 +0200
commitf8c5a61e052c500201c7bfc4c36f127c0ac36b30 (patch)
treec0893719aa9b369578a27f3f7eec006e73650918 /writerfilter/inc
parent1c876f5616522ab695de8c0316cdb0c601081815 (diff)
writerfilter: Hide more debug-only stuff behind the DEBUG_DOMAINMAPPER.
Change-Id: I0e86cafab97f0adad516660c6fdf40e13d114bf2
Diffstat (limited to 'writerfilter/inc')
-rw-r--r--writerfilter/inc/resourcemodel/TagLogger.hxx2
-rw-r--r--writerfilter/inc/resourcemodel/WW8ResourceModel.hxx6
-rw-r--r--writerfilter/inc/resourcemodel/util.hxx2
3 files changed, 9 insertions, 1 deletions
diff --git a/writerfilter/inc/resourcemodel/TagLogger.hxx b/writerfilter/inc/resourcemodel/TagLogger.hxx
index c75af7b3ac25..92ad86095343 100644
--- a/writerfilter/inc/resourcemodel/TagLogger.hxx
+++ b/writerfilter/inc/resourcemodel/TagLogger.hxx
@@ -30,6 +30,7 @@
namespace writerfilter
{
+#ifdef DEBUG_DOMAINMAPPER
class IdToString
{
public:
@@ -39,6 +40,7 @@ namespace writerfilter
protected:
~IdToString() {}
};
+#endif
class TagLogger
{
diff --git a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
index 0d3634276e70..995dd55046b0 100644
--- a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
+++ b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
@@ -333,7 +333,9 @@ public:
/**
Returns string representation of this value.
*/
+#ifdef DEBUG_DOMAINMAPPER
virtual std::string toString() const = 0;
+#endif
};
/**
@@ -382,12 +384,16 @@ public:
/**
Returns name of sprm.
*/
+#ifdef DEBUG_DOMAINMAPPER
virtual std::string getName() const = 0;
+#endif
/**
Returns string repesentation of sprm.
*/
+#ifdef DEBUG_DOMAINMAPPER
virtual std::string toString() const = 0;
+#endif
protected:
~Sprm() {}
diff --git a/writerfilter/inc/resourcemodel/util.hxx b/writerfilter/inc/resourcemodel/util.hxx
index 24abfe8ad9fa..b176cd8236e0 100644
--- a/writerfilter/inc/resourcemodel/util.hxx
+++ b/writerfilter/inc/resourcemodel/util.hxx
@@ -26,7 +26,7 @@
namespace writerfilter
{
-#if OSL_DEBUG_LEVEL > 1
+#ifdef DEBUG_DOMAINMAPPER
std::string toString(css::uno::Reference< css::text::XTextRange > textRange);
#endif
}