diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-01 17:02:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-01 17:02:34 +0100 |
commit | 1754344c88c15c431307fe82f475d3c5312b9f8f (patch) | |
tree | a7186648d853cbc382fd1a6a1c0c04737bb6c108 /svx | |
parent | 1f0f538b20adbb6b3703150be3e202cd03f3d6de (diff) |
Some Trivial clean-up
Change-Id: Ie48e8f5cbc455ef267ad756d82f8c0efee0ef065
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unomod.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx index 2c7fef5c6500..85b2e77d3075 100644 --- a/svx/source/unodraw/unomod.cxx +++ b/svx/source/unodraw/unomod.cxx @@ -171,9 +171,7 @@ sal_Bool SvxUnoDrawMSFactory::createEvent( const SdrModel* pDoc, const SdrHint* uno::Reference< uno::XInterface > SAL_CALL SvxUnoDrawMSFactory::createInstance( const OUString& rServiceSpecifier ) throw( uno::Exception, uno::RuntimeException ) { - const OUString aDrawingPrefix("com.sun.star.drawing."); - - if( rServiceSpecifier.startsWith( aDrawingPrefix ) ) + if( rServiceSpecifier.startsWith("com.sun.star.drawing.") ) { sal_uInt32 nType = UHashMap::getId( rServiceSpecifier ); if( nType != UHASHMAP_NOTFOUND ) |