summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/dbg_lay.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout/dbg_lay.cxx')
-rw-r--r--sw/source/core/layout/dbg_lay.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/layout/dbg_lay.cxx b/sw/source/core/layout/dbg_lay.cxx
index 1bce2be06d..eeff8a954e 100644
--- a/sw/source/core/layout/dbg_lay.cxx
+++ b/sw/source/core/layout/dbg_lay.cxx
@@ -104,8 +104,8 @@
*
* --------------------------------------------------*/
-#ifndef DBG_UTIL
-#error Wer fummelt denn an den makefiles rum?
+#if !defined(OSL_DEBUG_LEVEL) || OSL_DEBUG_LEVEL == 0
+#error Who broken the makefiles?
#endif
@@ -137,7 +137,7 @@ SwImplProtocol* SwProtocol::pImpl = NULL;
ULONG lcl_GetFrameId( const SwFrm* pFrm )
{
-#ifdef DBG_UTIL
+#if OSL_DEBUG_LEVEL > 1
static BOOL bFrameId = FALSE;
if( bFrameId )
return pFrm->GetFrmId();