From d10f2e5e6d2ae2492d6d80a0cb40455d6d130ea4 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 8 Dec 2016 00:53:52 +0200 Subject: loplugin:unreffun Change-Id: I15d868892a3ea4eadd526a0d3371f9fea39910cf --- .../source/deployment/registry/configuration/dp_configuration.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'desktop/source/deployment') 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 const & xCmdEnv ); +#if HAVE_FEATURE_EXTENSIONS bool removeFromConfigmgrIni( bool isSchema, OUString const & url, Reference const & xCmdEnv ); - +#endif void addDataToDb(OUString const & url, ConfigurationBackendDb::Data const & data); ::boost::optional 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 const & xCmdEnv ) @@ -512,7 +513,7 @@ bool BackendImpl::removeFromConfigmgrIni( configmgrini_flush( xCmdEnv ); return true; } - +#endif // Package -- cgit