diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-08 14:17:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-09 08:28:04 +0200 |
commit | 4763091bbecab8722a43d0ed73eafc0a1f596242 (patch) | |
tree | 095cad3f795be38a6fa64d4b4ad452619433972c /desktop/source/deployment/registry/configuration | |
parent | ac528503b4c172dd322841681b7aa9180a95721d (diff) |
loplugin:constantparam
Change-Id: Ia9500b25602c14aadf49fe373682ae9d87a0a1a2
Reviewed-on: https://gerrit.libreoffice.org/37390
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source/deployment/registry/configuration')
-rw-r--r-- | desktop/source/deployment/registry/configuration/dp_configuration.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/deployment/registry/configuration/dp_configuration.cxx b/desktop/source/deployment/registry/configuration/dp_configuration.cxx index a7906c3694e1..ad372fa73297 100644 --- a/desktop/source/deployment/registry/configuration/dp_configuration.cxx +++ b/desktop/source/deployment/registry/configuration/dp_configuration.cxx @@ -215,7 +215,7 @@ BackendImpl::BackendImpl( //can be removed. This works now, because the extension manager is a singleton //and the backends are only create once per process. std::list<OUString> folders = m_backendDb->getAllDataUrls(); - deleteUnusedFolders(OUString(), folders); + deleteUnusedFolders(folders); configmgrini_verify_init( xCmdEnv ); @@ -699,7 +699,7 @@ void BackendImpl::PackageImpl::processPackage_( ConfigurationBackendDb::Data data; if (!m_isSchema) { - const OUString sModFolder = that->createFolder(OUString(), xCmdEnv); + const OUString sModFolder = that->createFolder(xCmdEnv); bool out_replaced = false; url = replaceOrigin(url, sModFolder, xCmdEnv, that->getComponentContext(), out_replaced); if (out_replaced) @@ -755,7 +755,7 @@ void BackendImpl::PackageImpl::processPackage_( ConfigurationBackendDb::Data data; if (!schema) { - const OUString sModFolder = that->createFolder(OUString(), xCmdEnv); + const OUString sModFolder = that->createFolder(xCmdEnv); bool out_replaced = false; url_replaced = replaceOrigin( url2, sModFolder, xCmdEnv, that->getComponentContext(), out_replaced); |