CID#1103675 use normal assert, as it's toast anyway
Change-Id: I065ce5f80f0c54443aca9378a653a9f25175feee
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user