diff options
author | Michael Stahl <mstahl@redhat.com> | 2011-11-24 00:52:00 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-11-24 00:52:00 +0100 |
commit | 279a176397623ea83e98fac5a7f4132325b42594 (patch) | |
tree | ca21478406b36b744b80a105b3d6570214d98821 /sw/inc/index.hxx | |
parent | fdo#39589: Avoid using ulimit_cast between signed and unsigned. (diff) | |
download | core-279a176397623ea83e98fac5a7f4132325b42594.tar.gz core-279a176397623ea83e98fac5a7f4132325b42594.zip |
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/inc/index.hxx')
-rw-r--r-- | sw/inc/index.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/index.hxx b/sw/inc/index.hxx index 2a3a79231712..5c56fd5cf4ab 100644 --- a/sw/inc/index.hxx +++ b/sw/inc/index.hxx @@ -43,7 +43,7 @@ class SwIndex; class SwIndexReg; struct SwPosition; -#if OSL_DEBUG_LEVEL > 1 +#ifdef DBG_UTIL #define INLINE #else #define INLINE inline @@ -53,9 +53,9 @@ class SW_DLLPUBLIC SwIndex { friend class SwIndexReg; -#if OSL_DEBUG_LEVEL > 1 - static int nSerial; - int MySerial; +#ifdef DBG_UTIL + static int s_nSerial; + int m_nSerial; #endif xub_StrLen nIndex; @@ -142,7 +142,7 @@ public: // do not know a valid array (SwPaM/SwPosition!): struct EmptyIndexArray: rtl::Static< SwIndexReg, EmptyIndexArray > {}; -#if !defined(OSL_DEBUG_LEVEL) || OSL_DEBUG_LEVEL < 2 +#ifndef DBG_UTIL inline xub_StrLen SwIndex::operator++() { |