diff options
author | Michael Stahl <mstahl@redhat.com> | 2011-11-24 00:52:07 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-11-24 00:52:07 +0100 |
commit | 9ace8bebd88ff41d65eeaa87a6d1f1dfd8875b6d (patch) | |
tree | aa0104d77acfc11fdf73f4705fba205443cf5750 /sw/source/core/layout/trvlfrm.cxx | |
parent | e70c28c4f4f589edf2a74d21648acc212eb80485 (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/layout/trvlfrm.cxx')
-rw-r--r-- | sw/source/core/layout/trvlfrm.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx index d82eb35f80a0..318ab8812e9a 100644 --- a/sw/source/core/layout/trvlfrm.cxx +++ b/sw/source/core/layout/trvlfrm.cxx @@ -1329,11 +1329,8 @@ const SwCntntFrm *SwLayoutFrm::GetCntntPos( Point& rPoint, break; } -#if OSL_DEBUG_LEVEL > 1 - OSL_ENSURE( pActual, "Keinen Cntnt gefunden." ); - if ( bBodyOnly ) - OSL_ENSURE( pActual->IsInDocBody(), "Cnt nicht im Body." ); -#endif + OSL_ENSURE( pActual, "no Cntnt found." ); + OSL_ENSURE( !bBodyOnly || pActual->IsInDocBody(), "Cntnt not in Body." ); //Spezialfall fuer das selektieren von Tabellen, nicht in wiederholte //TblHedlines. |