summaryrefslogtreecommitdiff
path: root/oox/source/vml/vmldrawing.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-15 10:13:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-15 10:13:24 +0100
commit691824acefacddca266ffb8deaa5790520de62e8 (patch)
treebbff67a8561c82f6c234f6fb5d19551423927826 /oox/source/vml/vmldrawing.cxx
parent73441b0b650df4f9f7f6799f96150630426b79da (diff)
oox: Use appropriate OUString functions on string constants
Change-Id: I55ee581c9d3fc0a17639833a6a034e2addf768d1
Diffstat (limited to 'oox/source/vml/vmldrawing.cxx')
-rw-r--r--oox/source/vml/vmldrawing.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/vml/vmldrawing.cxx b/oox/source/vml/vmldrawing.cxx
index c808c7f4c316..1a7d2e096376 100644
--- a/oox/source/vml/vmldrawing.cxx
+++ b/oox/source/vml/vmldrawing.cxx
@@ -207,7 +207,7 @@ Reference< XShape > Drawing::createAndInsertXShape( const OUString& rService,
{
Reference< XMultiServiceFactory > xModelFactory( mrFilter.getModelFactory(), UNO_SET_THROW );
xShape.set( xModelFactory->createInstance( rService ), UNO_QUERY_THROW );
- if ( !rService.equalsAscii( "com.sun.star.text.TextFrame" ) )
+ if ( rService != "com.sun.star.text.TextFrame" )
{
// insert shape into passed shape collection (maybe drawpage or group shape)
rxShapes->add( xShape );