summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porlin.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-11-24 00:52:07 +0100
committerMichael Stahl <mstahl@redhat.com>2011-11-24 00:52:07 +0100
commit9ace8bebd88ff41d65eeaa87a6d1f1dfd8875b6d (patch)
treeaa0104d77acfc11fdf73f4705fba205443cf5750 /sw/source/core/text/porlin.cxx
parente70c28c4f4f589edf2a74d21648acc212eb80485 (diff)
sw: enable more debug code:
Whole bunch of code is #if OSL_DEBUG_LEVEL > 1, reduce that to > 0 so more assertions are active when building --enable-debug or --enable-dbgutil.
Diffstat (limited to 'sw/source/core/text/porlin.cxx')
-rw-r--r--sw/source/core/text/porlin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/text/porlin.cxx b/sw/source/core/text/porlin.cxx
index 60625adba76d..e64d0ef2658e 100644
--- a/sw/source/core/text/porlin.cxx
+++ b/sw/source/core/text/porlin.cxx
@@ -39,7 +39,7 @@
#include "pormulti.hxx"
#include "porglue.hxx"
#include "blink.hxx"
-#if OSL_DEBUG_LEVEL > 1
+#if OSL_DEBUG_LEVEL > 0
sal_Bool ChkChain( SwLinePortion *pStart )
{
@@ -208,7 +208,7 @@ SwLinePortion *SwLinePortion::Insert( SwLinePortion *pIns )
{
pIns->FindLastPortion()->SetPortion( pPortion );
SetPortion( pIns );
-#if OSL_DEBUG_LEVEL > 1
+#if OSL_DEBUG_LEVEL > 0
ChkChain( this );
#endif
return pIns;
@@ -238,7 +238,7 @@ SwLinePortion *SwLinePortion::Append( SwLinePortion *pIns )
SwLinePortion *pPos = FindLastPortion();
pPos->SetPortion( pIns );
pIns->SetPortion( 0 );
-#if OSL_DEBUG_LEVEL > 1
+#if OSL_DEBUG_LEVEL > 0
ChkChain( this );
#endif
return pIns;