From 1754344c88c15c431307fe82f475d3c5312b9f8f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 1 Nov 2013 17:02:34 +0100 Subject: Some Trivial clean-up Change-Id: Ie48e8f5cbc455ef267ad756d82f8c0efee0ef065 --- svx/source/unodraw/unomod.cxx | 4 +--- 1 file changed, 1 insertion(+), 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 ) -- cgit