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( ...@@ -307,7 +307,7 @@ Reference<XInterface> CanvasFactory::lookupAndUse(
bool bForceLastEntry(false); bool bForceLastEntry(false);
checkConfigFlag( bForceLastEntry, checkConfigFlag( bForceLastEntry,
m_bCacheHasForcedLastImpl, m_bCacheHasForcedLastImpl,
OUString("ForceSafeServiceImpl") ); "ForceSafeServiceImpl" );
// tdf#93870 - force VCL canvas in OpenGL mode for now. // tdf#93870 - force VCL canvas in OpenGL mode for now.
if( OpenGLWrapper::isVCLOpenGLEnabled() ) if( OpenGLWrapper::isVCLOpenGLEnabled() )
...@@ -317,13 +317,13 @@ Reference<XInterface> CanvasFactory::lookupAndUse( ...@@ -317,13 +317,13 @@ Reference<XInterface> CanvasFactory::lookupAndUse(
bool bUseAAEntry(true); bool bUseAAEntry(true);
checkConfigFlag( bUseAAEntry, checkConfigFlag( bUseAAEntry,
m_bCacheHasUseAAEntry, m_bCacheHasUseAAEntry,
OUString("UseAntialiasingCanvas") ); "UseAntialiasingCanvas" );
// use accelerated canvas, if config flag set (or not existing) // use accelerated canvas, if config flag set (or not existing)
bool bUseAcceleratedEntry(true); bool bUseAcceleratedEntry(true);
checkConfigFlag( bUseAcceleratedEntry, checkConfigFlag( bUseAcceleratedEntry,
m_bCacheHasUseAcceleratedEntry, m_bCacheHasUseAcceleratedEntry,
OUString("UseAcceleratedCanvas") ); "UseAcceleratedCanvas" );
// try to reuse last working implementation for given service name // try to reuse last working implementation for given service name
const CacheVector::iterator aEnd(m_aCachedImplementations.end()); 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