summaryrefslogtreecommitdiffstats
path: root/sw/inc/index.hxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2010-11-25 17:08:45 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-11-25 17:12:34 +0100
commitc16ba8a04fd4599e439e7e039705e41691c43acb (patch)
tree66a1c67973a674245548e10ff0746d1e473a7703 /sw/inc/index.hxx
parentreplace DBG_UTIL -> OSL_DEBUG_LEVEL > 1 (diff)
downloadcore-c16ba8a04fd4599e439e7e039705e41691c43acb.tar.gz
core-c16ba8a04fd4599e439e7e039705e41691c43acb.zip
Removed DBG_UTIL from sw
* Fixed the different dbglevel builds * This needed to change all the sw local ASSERT to OSL_ENSURE...
Diffstat (limited to 'sw/inc/index.hxx')
-rw-r--r--sw/inc/index.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/index.hxx b/sw/inc/index.hxx
index b2e0642eb199..8a18d2d09996 100644
--- a/sw/inc/index.hxx
+++ b/sw/inc/index.hxx
@@ -41,17 +41,17 @@ class SwIndex;
class SwIndexReg;
struct SwPosition;
-#ifndef DBG_UTIL
-#define INLINE inline
-#else
+#if OSL_DEBUG_LEVEL > 1
#define INLINE
+#else
+#define INLINE inline
#endif
class SW_DLLPUBLIC SwIndex
{
friend class SwIndexReg;
-#ifdef DBG_UTIL
+#if OSL_DEBUG_LEVEL > 1
static int nSerial;
int MySerial;
#endif
@@ -148,7 +148,7 @@ public:
void MoveTo( SwIndexReg& rArr );
};
-#ifndef DBG_UTIL
+#if !defined(OSL_DEBUG_LEVEL) || OSL_DEBUG_LEVEL < 2
inline xub_StrLen SwIndex::operator++()
{