diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-04-12 16:45:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-04-12 21:23:29 +0100 |
commit | a6775be596342b0a2d6fab3ac5a6da30bb127a53 (patch) | |
tree | 3d4b2bff902f642dbb6f5265891c8d8bbed58d9d /drawinglayer | |
parent | 2894fdcfd38357bd50aceb0386ec77471c96eb3c (diff) |
WaE in dbg-util mode
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/primitive2d/textprimitive2d.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/primitive2d/textprimitive2d.cxx b/drawinglayer/source/primitive2d/textprimitive2d.cxx index e928f8326126..b830f8fc01c9 100644 --- a/drawinglayer/source/primitive2d/textprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/textprimitive2d.cxx @@ -254,7 +254,7 @@ namespace drawinglayer mbFilled(bFilled), mnWidthToFill(nWidthToFill) { -#ifdef DBG_UTIL +#if OSL_DEBUG_LEVEL > 0 const xub_StrLen aStringLength(getText().Len()); OSL_ENSURE(aStringLength >= getTextPosition() && aStringLength >= getTextPosition() + getTextLength(), "TextSimplePortionPrimitive2D with text out of range (!)"); |