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/source/core/doc/number.cxx | |
parent | 0215f8b19451ab67c7fdaf91f2da8298a9b89c47 (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/number.cxx')
-rw-r--r-- | sw/source/core/doc/number.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx index 220aa19cf260..8f1d281c67a5 100644 --- a/sw/source/core/doc/number.cxx +++ b/sw/source/core/doc/number.cxx @@ -387,8 +387,8 @@ const SwFmtVertOrient* SwNumFmt::GetGraphicOrientation() const } } -#if OSL_DEBUG_LEVEL > 1 -long int SwNumRule::nInstances = 0; +#ifdef DBG_UTIL +long int SwNumRule::s_nInstances = 0; #endif // handle new parameter <eDefaultNumberFormatPositionAndSpaceMode> @@ -412,8 +412,8 @@ SwNumRule::SwNumRule( const String& rNm, meDefaultNumberFormatPositionAndSpaceMode( eDefaultNumberFormatPositionAndSpaceMode ), msDefaultListId() { -#if OSL_DEBUG_LEVEL > 1 - nSerial = nInstances++; +#ifdef DBG_UTIL + m_nSerial = s_nInstances++; #endif if( !nRefCount++ ) // zum erstmal, also initialisiern @@ -514,8 +514,8 @@ SwNumRule::SwNumRule( const SwNumRule& rNumRule ) meDefaultNumberFormatPositionAndSpaceMode( rNumRule.meDefaultNumberFormatPositionAndSpaceMode ), msDefaultListId( rNumRule.msDefaultListId ) { -#if OSL_DEBUG_LEVEL > 1 - nSerial = nInstances++; +#ifdef DBG_UTIL + m_nSerial = s_nInstances++; #endif ++nRefCount; |