diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-30 08:40:11 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-30 08:59:59 +0000 |
commit | 3bc5df7f32501075149e4b41f6e98ea8dd2cfcbd (patch) | |
tree | 6e7f5d288cf65935b3ed1f0b88200d32d2f016f0 /cui/source | |
parent | 2e528df76b168a221c6d251d9b076bce5ba051a3 (diff) |
UNO: no need to use OUString constructor when calling createInstance
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526
Reviewed-on: https://gerrit.libreoffice.org/19682
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 4 | ||||
-rw-r--r-- | cui/source/options/optinet2.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 0065db174704..5578f45fd3d8 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -480,7 +480,7 @@ CanvasSettings::CanvasSettings() : mxForceFlagNameAccess.set( xConfigProvider->createInstanceWithArguments( - OUString("com.sun.star.configuration.ConfigurationUpdateAccess"), + "com.sun.star.configuration.ConfigurationUpdateAccess", Sequence<Any>( &propValue, 1 ) ), UNO_QUERY_THROW ); @@ -491,7 +491,7 @@ CanvasSettings::CanvasSettings() : Reference<XNameAccess> xNameAccess( xConfigProvider->createInstanceWithArguments( - OUString("com.sun.star.configuration.ConfigurationAccess"), + "com.sun.star.configuration.ConfigurationAccess", Sequence<Any>( &propValue, 1 ) ), UNO_QUERY_THROW ); Reference<XHierarchicalNameAccess> xHierarchicalNameAccess( xNameAccess, UNO_QUERY_THROW); diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx index c46e713fe1ed..a37d5e3263e5 100644 --- a/cui/source/options/optinet2.cxx +++ b/cui/source/options/optinet2.cxx @@ -204,7 +204,7 @@ SvxProxyTabPage::SvxProxyTabPage(vcl::Window* pParent, const SfxItemSet& rSet) aArgumentList[0] = makeAny( aProperty ); m_xConfigurationUpdateAccess = xConfigurationProvider->createInstanceWithArguments( - OUString( "com.sun.star.configuration.ConfigurationUpdateAccess" ), + "com.sun.star.configuration.ConfigurationUpdateAccess", aArgumentList ); } |