summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/rendergraphicrasterizer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/rendergraphicrasterizer.cxx')
-rw-r--r--vcl/source/gdi/rendergraphicrasterizer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/rendergraphicrasterizer.cxx b/vcl/source/gdi/rendergraphicrasterizer.cxx
index fda87c3384fb..a3b06ec864ae 100644
--- a/vcl/source/gdi/rendergraphicrasterizer.cxx
+++ b/vcl/source/gdi/rendergraphicrasterizer.cxx
@@ -234,11 +234,11 @@ void RenderGraphicRasterizer::InitializeRasterizer()
maDefaultSizePixel.Width() = maDefaultSizePixel.Height() = 0;
- if( !maRenderGraphic.IsEmpty() )
+ if ( !maRenderGraphic.IsEmpty() )
{
rtl::OUString aServiceName;
- if( 0 == maRenderGraphic.GetGraphicDataMimeType().compareToAscii( "image/svg+xml" ) )
+ if( maRenderGraphic.GetGraphicDataMimeType() == "image/svg+xml" )
{
aServiceName = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( VCL_SERVICENAME_RASTERIZER_SVG ) );
}