summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2010-11-16 10:51:51 +0100
committerThorsten Behrens <tbehrens@novell.com>2010-11-24 22:31:40 +0100
commitdb8718b9f5768608e567d84d801ed100cf2630c8 (patch)
treed130da60bca6c569d880936485d0b394b5332db2
parenta46d569b32133c040fffddeae2b59135f78893af (diff)
fixed DBG_UTIL vs. OSL_DEBUG_LEVEL mixup
(cherry picked from commit f19fb8630f6dbf4b525bdd4ba775f05bb9d7e1a0)
-rw-r--r--sw/source/core/text/inftxt.cxx2
-rw-r--r--sw/source/core/text/inftxt.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index 98913595f3a7..138deb209871 100644
--- a/sw/source/core/text/inftxt.cxx
+++ b/sw/source/core/text/inftxt.cxx
@@ -112,7 +112,7 @@ namespace numfunc
}
// <--
-#ifdef DBG_UTIL
+#if OSL_DEBUG_LEVEL > 1
// Test2: WYSIWYG++
// Test4: WYSIWYG debug
static sal_Bool bDbgLow = sal_False;
diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx
index 676c1fba2f1a..64cc6d7c0553 100644
--- a/sw/source/core/text/inftxt.hxx
+++ b/sw/source/core/text/inftxt.hxx
@@ -380,7 +380,7 @@ public:
{ return ( pKanaComp && nKanaIdx < pKanaComp->Count() )
? (*pKanaComp)[nKanaIdx] : 0; }
-#ifdef DBG_UTIL
+#if OSL_DEBUG_LEVEL > 1
sal_Bool IsOptCalm() const;
sal_Bool IsOptLow() const;
sal_Bool IsOptDbg() const;