summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unodraw.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/unocore/unodraw.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/unocore/unodraw.cxx')
-rw-r--r--sw/source/core/unocore/unodraw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx
index eab043ad200f..44bea6b2496d 100644
--- a/sw/source/core/unocore/unodraw.cxx
+++ b/sw/source/core/unocore/unodraw.cxx
@@ -2685,7 +2685,7 @@ void SwXShape::_AdjustPositionProperties( const awt::Point _aPosition )
SwXGroupShape::SwXGroupShape(uno::Reference< XInterface > & xShape) :
SwXShape(xShape)
{
-#if OSL_DEBUG_LEVEL > 1
+#if OSL_DEBUG_LEVEL > 0
uno::Reference<XShapes> xShapes(xShapeAgg, uno::UNO_QUERY);
OSL_ENSURE(xShapes.is(), "no SvxShape found or shape is not a group shape");
#endif