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
commit2fe4ed26217dc3f02937d7b1edd9a58bc6167920 (patch)
tree9ad0ce49cea35a18a2321c0e3e094e8322b693e0
parent9d706ee42d6fdc4a4d815842f76bf302840ee01f (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 c6a1bdfd1f..ec518d0857 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 662f9fba08..b11c6c3554 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;