[Libreoffice-commits] core.git: desktop/source
Tor Lillqvist
tml at collabora.com
Wed Dec 7 22:58:20 UTC 2016
desktop/source/deployment/registry/configuration/dp_configuration.cxx | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
New commits:
commit d10f2e5e6d2ae2492d6d80a0cb40455d6d130ea4
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Dec 8 00:53:52 2016 +0200
loplugin:unreffun
Change-Id: I15d868892a3ea4eadd526a0d3371f9fea39910cf
diff --git a/desktop/source/deployment/registry/configuration/dp_configuration.cxx b/desktop/source/deployment/registry/configuration/dp_configuration.cxx
index b274786..f2f7dfb 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
More information about the Libreoffice-commits
mailing list