summaryrefslogtreecommitdiff
path: root/sw/inc/dbgoutsw.hxx
diff options
context:
space:
mode:
authorJacek Wolszczak <shutdownrunner@gmail.com>2011-05-10 09:56:23 +0200
committerKohei Yoshida <kyoshida@novell.com>2011-05-17 16:59:27 -0400
commit622db59048fbcc04a9ff950c2a2bcdd458c7df87 (patch)
treec776ffbeaba8a7b23c9b176a94b7a93d618246f9 /sw/inc/dbgoutsw.hxx
parent03cf5c4a5d74dbeb151cf27c26adc2b9a1163cb8 (diff)
Replace #ifdef DEBUG with #if OSL_DEBUG_LEVEL > 1
Diffstat (limited to 'sw/inc/dbgoutsw.hxx')
-rw-r--r--sw/inc/dbgoutsw.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/dbgoutsw.hxx b/sw/inc/dbgoutsw.hxx
index fdedacbb5232..1ec37fdb4355 100644
--- a/sw/inc/dbgoutsw.hxx
+++ b/sw/inc/dbgoutsw.hxx
@@ -28,7 +28,7 @@
#ifndef __DBGOUTSW_HXX
#define __DBGOUTSW_HXX
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
#include <boost/unordered_map.hpp>
#include <tox.hxx>
@@ -124,7 +124,7 @@ const char * dbg_out(const boost::unordered_map<tKey, tMember, fHashFunction> &
}
SW_DLLPUBLIC const char * dbg_out(const SwFormToken & rToken);
SW_DLLPUBLIC const char * dbg_out(const SwFormTokens & rTokens);
-#endif // DEBUG
+#endif // OSL_DEBUG_LEVEL > 1
#endif // __DBGOUTSW_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */