diff options
Diffstat (limited to 'drawinglayer')
-rwxr-xr-x | drawinglayer/source/primitive2d/metafileprimitive2d.cxx | 6 | ||||
-rwxr-xr-x | drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx index d205981205aa..5d3e5181855d 100755 --- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx @@ -2115,7 +2115,7 @@ namespace case META_TEXTRECT_ACTION : { /** CHECKED, WORKS WELL */ - // OSL_ENSURE(false, "META_TEXTRECT_ACTION requested (!)"); + // OSL_FAIL("META_TEXTRECT_ACTION requested (!)"); const MetaTextRectAction* pA = (const MetaTextRectAction*)pAction; const Rectangle& rRectangle = pA->GetRect(); const sal_uInt32 nStringLength(pA->GetText().Len()); @@ -2729,7 +2729,7 @@ namespace } default : { - OSL_ENSURE(false, "interpretMetafile: META_MAPMODE_ACTION with unsupported MapUnit (!)"); + OSL_FAIL("interpretMetafile: META_MAPMODE_ACTION with unsupported MapUnit (!)"); break; } } @@ -3147,7 +3147,7 @@ namespace } default: { - OSL_ENSURE(false, "Unknown MetaFile Action (!)"); + OSL_FAIL("Unknown MetaFile Action (!)"); break; } } diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index c0cc47c4a41e..c7e856a63eb2 100755 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -850,7 +850,7 @@ namespace drawinglayer } catch(const uno::Exception&) { - OSL_ENSURE(false, "VclMetafileProcessor2D: No access to printable flag of Control, caught an exception!"); + OSL_FAIL("VclMetafileProcessor2D: No access to printable flag of Control, caught an exception!"); } } @@ -927,7 +927,7 @@ namespace drawinglayer } catch( const uno::Exception& ) { - OSL_ENSURE(false, "VclMetafileProcessor2D: Printing of Control failed, caught an exception!"); + OSL_FAIL("VclMetafileProcessor2D: Printing of Control failed, caught an exception!"); } } |