diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-19 15:27:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-19 19:16:32 +0100 |
commit | 9f8a3e7329f2ce079f3b64d1f73d1097ed5aa025 (patch) | |
tree | fdbb162e7e2846a67a999288bf03873540dbdce5 /filter | |
parent | f69a5ff7ab8d0b7d166fb59f4717ca06d1d00812 (diff) |
CID#1103676 use normal assert, as it's toast anyway
Change-Id: I47340d71b5f3af9c06556965f240fb084440ea27
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/svg/svgwriter.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index 29812b307372..332b5d8b4af7 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -1493,8 +1493,7 @@ void SVGTextWriter::writeTextPortion( const Point& rPos, } } - if( !mpVDev ) - OSL_FAIL( "SVGTextWriter::writeTextPortion: invalid virtual device." ); + assert(mpVDev); //invalid virtual device const FontMetric aMetric( mpVDev->GetFontMetric() ); |