summaryrefslogtreecommitdiff
path: root/writerfilter/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-29 22:15:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-05 09:18:17 +0000
commitf731dc1e3506c78918b0965d77c3f51eaaf752ad (patch)
tree6a2d02b161b85a0fc986df33d7d62e157dce7c75 /writerfilter/inc
parent2669d048bc8c38f5b75cd0ecdde8d6ae326601eb (diff)
align ifdefs of usage and definitions
Diffstat (limited to 'writerfilter/inc')
-rw-r--r--writerfilter/inc/resourcemodel/LoggedResources.hxx2
-rw-r--r--writerfilter/inc/resourcemodel/Protocol.hxx4
2 files changed, 2 insertions, 4 deletions
diff --git a/writerfilter/inc/resourcemodel/LoggedResources.hxx b/writerfilter/inc/resourcemodel/LoggedResources.hxx
index 16270ca987f9..ce7c0ec27247 100644
--- a/writerfilter/inc/resourcemodel/LoggedResources.hxx
+++ b/writerfilter/inc/resourcemodel/LoggedResources.hxx
@@ -51,8 +51,6 @@ public:
void attribute(const string & rName, const string & rValue);
void attribute(const string & rName, sal_uInt32 nValue);
- void setPrefix(const string & rPrefix);
-
private:
TagLogger::Pointer_t mpLogger;
string msPrefix;
diff --git a/writerfilter/inc/resourcemodel/Protocol.hxx b/writerfilter/inc/resourcemodel/Protocol.hxx
index e63ddfbd5963..a44020e1dee7 100644
--- a/writerfilter/inc/resourcemodel/Protocol.hxx
+++ b/writerfilter/inc/resourcemodel/Protocol.hxx
@@ -28,7 +28,7 @@
#ifndef INCLUDE_WRITERFILTER_PROTOCOL_HXX
#define INCLUDE_WRITERFILTER_PROTOCOL_HXX
-#if OSL_DEBUG_LEVEL > 1
+#ifdef DEBUG_PROTOCOL
#include <boost/shared_ptr.hpp>
#include "WW8ResourceModel.hxx"
@@ -96,7 +96,7 @@ public:
}
-#endif // DEBUG
+#endif // DEBUG_PROTOCOL
#endif // INCLUDE_WRITERFILTER_PROTOCOL_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */