[Libreoffice-commits] core.git: svx/source

Stephan Bergmann sbergman at redhat.com
Fri Nov 1 17:03:01 CET 2013


 svx/source/unodraw/unomod.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 1754344c88c15c431307fe82f475d3c5312b9f8f
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Nov 1 17:02:34 2013 +0100

    Some Trivial clean-up
    
    Change-Id: Ie48e8f5cbc455ef267ad756d82f8c0efee0ef065

diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx
index 2c7fef5..85b2e77 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 )


More information about the Libreoffice-commits mailing list