diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-10-31 15:13:58 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-01 15:25:43 +0000 |
commit | b5db48ada113206ac090e4a08f2ae211859103ed (patch) | |
tree | 5ca14a8e4209f18845476546953683b6adc860ab /xmlhelp | |
parent | 9da44ea99fe2fb4455b5e02ee8b178f22584254a (diff) |
no need to use OUString constructor in call to createInstance
Change-Id: Iaf3d83ba1490cb1d97a5bd4d1f7cd6943d4a7296
Reviewed-on: https://gerrit.libreoffice.org/19704
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/databases.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx index 4cd6c02aed88..e9e2e3638a6d 100644 --- a/xmlhelp/source/cxxhelp/provider/databases.cxx +++ b/xmlhelp/source/cxxhelp/provider/databases.cxx @@ -875,8 +875,7 @@ Reference< XHierarchicalNameAccess > Databases::jarFile( const OUString& jar, Reference< XInterface > xIfc = m_xSMgr->createInstanceWithArgumentsAndContext( - OUString( - "com.sun.star.packages.comp.ZipPackage" ), + "com.sun.star.packages.comp.ZipPackage", aArguments, m_xContext ); if ( xIfc.is() ) @@ -1675,8 +1674,7 @@ Reference< XHierarchicalNameAccess > JarFileIterator::implGetJarFromPackage Reference< XMultiComponentFactory >xSMgr( m_xContext->getServiceManager(), UNO_QUERY ); Reference< XInterface > xIfc = xSMgr->createInstanceWithArgumentsAndContext( - OUString( - "com.sun.star.packages.comp.ZipPackage" ), + "com.sun.star.packages.comp.ZipPackage", aArguments, m_xContext ); if ( xIfc.is() ) |