CID#1103675 use normal assert, as it's toast anyway

Change-Id: I065ce5f80f0c54443aca9378a653a9f25175feee
This commit is contained in:
Caolán McNamara
2013-10-19 15:29:10 +01:00
parent 9f8a3e7329
commit 984d10ca8d

View File

@@ -1515,9 +1515,6 @@ void SVGTextWriter::implWriteTextPortion( const Point& rPos,
Color aTextColor,
sal_Bool bApplyMapping )
{
if( !mpContext )
OSL_FAIL( "SVGTextWriter::implWriteTextPortion: invalid context object." );
Point aPos;
Point aBaseLinePos( rPos );
const FontMetric aMetric( mpVDev->GetFontMetric() );
@@ -1601,6 +1598,8 @@ void SVGTextWriter::implWriteTextPortion( const Point& rPos,
}
addFontAttributes( /* isTexTContainer: */ false );
assert(mpContext); //invalid context object
mpContext->AddPaintAttr( COL_TRANSPARENT, aTextColor );
OUString sTextContent = rText;