diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-14 14:22:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-14 14:30:35 +0100 |
commit | a1b58e93f631c6bfd92fc8269da89c74e3784d58 (patch) | |
tree | f4c41dfaf52962712557a101294959555b673ef4 /desktop | |
parent | 03782946065d8a31808f1dab9bc848d349d623f1 (diff) |
loplugin:constantparam
Change-Id: I3ce653c0d9e517229dbbe32cc8d3ec3c206e364d
Reviewed-on: https://gerrit.libreoffice.org/51273
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/inc/dp_package.hxx | 2 | ||||
-rw-r--r-- | desktop/source/deployment/registry/dp_registry.cxx | 2 | ||||
-rw-r--r-- | desktop/source/deployment/registry/package/dp_package.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/deployment/inc/dp_package.hxx b/desktop/source/deployment/inc/dp_package.hxx index 579b008e43c2..22ab1a5a2d4b 100644 --- a/desktop/source/deployment/inc/dp_package.hxx +++ b/desktop/source/deployment/inc/dp_package.hxx @@ -35,7 +35,7 @@ namespace dp_registry { namespace backend { namespace bundle { css::uno::Reference<css::deployment::XPackageRegistry> create( css::uno::Reference<css::deployment::XPackageRegistry> const & xRootRegistry, - 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/registry/dp_registry.cxx b/desktop/source/deployment/registry/dp_registry.cxx index 9d12da270d24..26da83826b93 100644 --- a/desktop/source/deployment/registry/dp_registry.cxx +++ b/desktop/source/deployment/registry/dp_registry.cxx @@ -341,7 +341,7 @@ Reference<deployment::XPackageRegistry> PackageRegistryImpl::create( // backends. Reference<deployment::XPackageRegistry> extensionBackend = ::dp_registry::backend::bundle::create( - that, context, cachePath, /*readOnly*/false, xComponentContext); + that, context, cachePath, xComponentContext); that->insertBackend(extensionBackend); Reference<lang::XServiceInfo> xServiceInfo( diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx index 7ea79fd9454d..ff7a245f6519 100644 --- a/desktop/source/deployment/registry/package/dp_package.cxx +++ b/desktop/source/deployment/registry/package/dp_package.cxx @@ -1588,14 +1588,14 @@ BackendImpl::PackageImpl::getPackagesFromDb( Reference<deployment::XPackageRegistry> create( Reference<deployment::XPackageRegistry> const & xRootRegistry, - OUString const & context, OUString const & cachePath, bool readOnly, + OUString const & context, OUString const & cachePath, Reference<XComponentContext> const & xComponentContext ) { Sequence<Any> args(cachePath.isEmpty() ? 1 : 3 ); args[ 0 ] <<= context; if (!cachePath.isEmpty()) { args[ 1 ] <<= cachePath; - args[ 2 ] <<= readOnly; + args[ 2 ] <<= false; // readOnly } return new BackendImpl( args, xComponentContext, xRootRegistry ); } |