summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/swfont.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-11-24 00:52:00 +0100
committerMichael Stahl <mstahl@redhat.com>2011-11-24 00:52:00 +0100
commit279a176397623ea83e98fac5a7f4132325b42594 (patch)
treeca21478406b36b744b80a105b3d6570214d98821 /sw/source/core/txtnode/swfont.cxx
parent0215f8b19451ab67c7fdaf91f2da8298a9b89c47 (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/txtnode/swfont.cxx')
-rw-r--r--sw/source/core/txtnode/swfont.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/txtnode/swfont.cxx b/sw/source/core/txtnode/swfont.cxx
index 1d87b9b91a51..54ef401f2ecf 100644
--- a/sw/source/core/txtnode/swfont.cxx
+++ b/sw/source/core/txtnode/swfont.cxx
@@ -78,9 +78,9 @@
#define FNT_ATM_HACK
#endif
-#if OSL_DEBUG_LEVEL > 1
-// globale Variable
-SvStatistics aSvStat;
+#ifdef DBG_UTIL
+// global Variable
+SvStatistics g_SvStat;
#endif
using namespace ::com::sun::star;
@@ -1169,9 +1169,9 @@ void SwSubFont::CalcEsc( SwDrawTextInfo& rInf, Point& rPos )
// used during painting of small capitals
void SwDrawTextInfo::Shift( sal_uInt16 nDir )
{
-#if OSL_DEBUG_LEVEL > 1
- OSL_ENSURE( bPos, "DrawTextInfo: Undefined Position" );
- OSL_ENSURE( bSize, "DrawTextInfo: Undefined Width" );
+#ifdef DBG_UTIL
+ OSL_ENSURE( m_bPos, "DrawTextInfo: Undefined Position" );
+ OSL_ENSURE( m_bSize, "DrawTextInfo: Undefined Width" );
#endif
const sal_Bool bBidiPor = ( GetFrm() && GetFrm()->IsRightToLeft() ) !=