summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/dbgoutsw.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-11-24 00:52:00 +0100
committerMichael Stahl <mstahl@redhat.com>2011-11-24 00:52:00 +0100
commit279a176397623ea83e98fac5a7f4132325b42594 (patch)
treeca21478406b36b744b80a105b3d6570214d98821 /sw/source/core/doc/dbgoutsw.cxx
parent0215f8b19451ab67c7fdaf91f2da8298a9b89c47 (diff)
sw: replace abuses of OSL_DEBUG_LEVEL with DBG_UTIL
OSL_DEBUG_LEVEL is set by make debug=t, which should never result in ABI incompatible objects.
Diffstat (limited to 'sw/source/core/doc/dbgoutsw.cxx')
-rw-r--r--sw/source/core/doc/dbgoutsw.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/dbgoutsw.cxx b/sw/source/core/doc/dbgoutsw.cxx
index d595b5171df4..643184d00e36 100644
--- a/sw/source/core/doc/dbgoutsw.cxx
+++ b/sw/source/core/doc/dbgoutsw.cxx
@@ -28,7 +28,7 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
-#if OSL_DEBUG_LEVEL > 1
+#ifdef DBG_UTIL
#include <tools/string.hxx>
#include <svl/poolitem.hxx>
@@ -552,7 +552,7 @@ String lcl_dbg_out(const SwNode & rNode)
aTmpStr += String::CreateFromInt32(rNode.GetIndex());
aTmpStr += String("\"", RTL_TEXTENCODING_ASCII_US);
-#if OSL_DEBUG_LEVEL > 1
+#ifdef DBG_UTIL
aTmpStr += String(" serial=\"", RTL_TEXTENCODING_ASCII_US);
aTmpStr += String::CreateFromInt32(rNode.GetSerial());
aTmpStr += String("\"", RTL_TEXTENCODING_ASCII_US);