diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-31 11:37:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-01 07:12:23 +0100 |
commit | c45a3488af6455a3b307f9e64bed41d23b3bae53 (patch) | |
tree | c01870fee017c1b9edcad3836d6dc124b147db1b /desktop/source | |
parent | dae6ba564fcf20299b7a560aeb346efc84364d41 (diff) |
loplugin:constantparam in d*
Change-Id: I65c395157d2b68a549a6fecf9abf1fd46446d960
Reviewed-on: https://gerrit.libreoffice.org/44109
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/deployment/inc/dp_registry.hxx | 2 | ||||
-rw-r--r-- | desktop/source/deployment/manager/dp_manager.cxx | 2 | ||||
-rw-r--r-- | desktop/source/deployment/registry/dp_registry.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/deployment/inc/dp_registry.hxx b/desktop/source/deployment/inc/dp_registry.hxx index 347359e47921..43746ddfc642 100644 --- a/desktop/source/deployment/inc/dp_registry.hxx +++ b/desktop/source/deployment/inc/dp_registry.hxx @@ -33,7 +33,7 @@ namespace com { namespace sun { namespace star { namespace dp_registry { css::uno::Reference<css::deployment::XPackageRegistry> create( - OUString const & context, OUString const & cachePath, bool readOnly, + OUString const & context, OUString const & cachePath, css::uno::Reference<css::uno::XComponentContext> const & xComponentContext); } diff --git a/desktop/source/deployment/manager/dp_manager.cxx b/desktop/source/deployment/manager/dp_manager.cxx index 64d3debe423e..6bb8e3e659b7 100644 --- a/desktop/source/deployment/manager/dp_manager.cxx +++ b/desktop/source/deployment/manager/dp_manager.cxx @@ -281,7 +281,7 @@ void PackageManagerImpl::initRegistryBackends() create_folder( nullptr, m_registryCache, Reference<XCommandEnvironment>(), false); m_xRegistry.set( ::dp_registry::create( - m_context, m_registryCache, false, + m_context, m_registryCache, m_xComponentContext ) ); } diff --git a/desktop/source/deployment/registry/dp_registry.cxx b/desktop/source/deployment/registry/dp_registry.cxx index 1350ba9dff72..a14b0fe6bbf2 100644 --- a/desktop/source/deployment/registry/dp_registry.cxx +++ b/desktop/source/deployment/registry/dp_registry.cxx @@ -530,11 +530,11 @@ PackageRegistryImpl::getSupportedPackageTypes() Reference<deployment::XPackageRegistry> SAL_CALL create( OUString const & context, - OUString const & cachePath, bool readOnly, + OUString const & cachePath, Reference<XComponentContext> const & xComponentContext ) { return PackageRegistryImpl::create( - context, cachePath, readOnly, xComponentContext ); + context, cachePath, false/*readOnly*/, xComponentContext ); } } // namespace dp_registry |