summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/txtfrm.hxx
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/inc/txtfrm.hxx
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/inc/txtfrm.hxx')
-rw-r--r--sw/source/core/inc/txtfrm.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx
index bb7fc866f3c2..c42be69359ef 100644
--- a/sw/source/core/inc/txtfrm.hxx
+++ b/sw/source/core/inc/txtfrm.hxx
@@ -402,7 +402,7 @@ public:
inline sal_Bool IsSwapped() const { return bIsSwapped; }
// Hat der Frm eine lokale Fussnote (in diesem Frm bzw. Follow)?
-#if OSL_DEBUG_LEVEL > 1
+#ifdef DBG_UTIL
void CalcFtnFlag( xub_StrLen nStop = STRING_LEN );//For testing SplitFrm
#else
void CalcFtnFlag();
@@ -662,10 +662,9 @@ inline SwTwips SwTxtFrm::GrowTst( const SwTwips nGrow )
return Grow( nGrow, sal_True );
}
-#if OSL_DEBUG_LEVEL > 1
-// fragt auf WYSIWYG DBG ab
+#ifdef DBG_UTIL
+// query WYSIWYG DBG
extern sal_Bool IsDbg( const SwTxtFrm *pFrm );
-#define DBTXTFRM aDbstream << "SwTxtFrm[" << GetFrmId() << "]"
#endif
inline sal_Bool SwTxtFrm::IsInside( const xub_StrLen nPos ) const