Kaydet (Commit) a51f37d0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)

Change-Id: I72cad7217bdfc2a1f3339c604ea4dc55ff661e2a
üst a80bab70
......@@ -307,7 +307,7 @@ Reference<XInterface> 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<XInterface> 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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment