diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-12-08 00:53:52 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-12-08 00:53:52 +0200 |
commit | d10f2e5e6d2ae2492d6d80a0cb40455d6d130ea4 (patch) | |
tree | 6f7a2b8035a3d7271767f32cc78ab1e25a1e994b /desktop/source/deployment | |
parent | 55df4fa5d5f1ec6c402ab68e51e3ca3af6e5d2ee (diff) |
loplugin:unreffun
Change-Id: I15d868892a3ea4eadd526a0d3371f9fea39910cf
Diffstat (limited to 'desktop/source/deployment')
-rw-r--r-- | desktop/source/deployment/registry/configuration/dp_configuration.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/desktop/source/deployment/registry/configuration/dp_configuration.cxx b/desktop/source/deployment/registry/configuration/dp_configuration.cxx index b27478669263..f2f7dfb45492 100644 --- a/desktop/source/deployment/registry/configuration/dp_configuration.cxx +++ b/desktop/source/deployment/registry/configuration/dp_configuration.cxx @@ -133,9 +133,10 @@ class BackendImpl : public ::dp_registry::backend::PackageRegistryBackend */ void addToConfigmgrIni( bool isSchema, bool isURL, OUString const & url, Reference<XCommandEnvironment> const & xCmdEnv ); +#if HAVE_FEATURE_EXTENSIONS bool removeFromConfigmgrIni( bool isSchema, OUString const & url, Reference<XCommandEnvironment> const & xCmdEnv ); - +#endif void addDataToDb(OUString const & url, ConfigurationBackendDb::Data const & data); ::boost::optional<ConfigurationBackendDb::Data> readDataFromDb(OUString const & url); void revokeEntryFromDb(OUString const & url); @@ -483,7 +484,7 @@ void BackendImpl::addToConfigmgrIni( bool isSchema, bool isURL, OUString const & } } - +#if HAVE_FEATURE_EXTENSIONS bool BackendImpl::removeFromConfigmgrIni( bool isSchema, OUString const & url_, Reference<XCommandEnvironment> const & xCmdEnv ) @@ -512,7 +513,7 @@ bool BackendImpl::removeFromConfigmgrIni( configmgrini_flush( xCmdEnv ); return true; } - +#endif // Package |