From a51f37d023684f8bab9af78a101bc2a38b837d35 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 6 Nov 2015 09:34:45 +0100 Subject: loplugin:stringconstant: elide explicit ctor usage (automatic rewrite) Change-Id: I72cad7217bdfc2a1f3339c604ea4dc55ff661e2a --- canvas/source/factory/cf_service.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/canvas/source/factory/cf_service.cxx b/canvas/source/factory/cf_service.cxx index 5ef726acc079..3e655b38b0fa 100644 --- a/canvas/source/factory/cf_service.cxx +++ b/canvas/source/factory/cf_service.cxx @@ -307,7 +307,7 @@ Reference CanvasFactory::lookupAndUse( bool bForceLastEntry(false); checkConfigFlag( bForceLastEntry, m_bCacheHasForcedLastImpl, - OUString("ForceSafeServiceImpl") ); + "ForceSafeServiceImpl" ); // tdf#93870 - force VCL canvas in OpenGL mode for now. if( OpenGLWrapper::isVCLOpenGLEnabled() ) @@ -317,13 +317,13 @@ Reference CanvasFactory::lookupAndUse( bool bUseAAEntry(true); checkConfigFlag( bUseAAEntry, m_bCacheHasUseAAEntry, - OUString("UseAntialiasingCanvas") ); + "UseAntialiasingCanvas" ); // use accelerated canvas, if config flag set (or not existing) bool bUseAcceleratedEntry(true); checkConfigFlag( bUseAcceleratedEntry, m_bCacheHasUseAcceleratedEntry, - OUString("UseAcceleratedCanvas") ); + "UseAcceleratedCanvas" ); // try to reuse last working implementation for given service name const CacheVector::iterator aEnd(m_aCachedImplementations.end()); -- cgit