From 5d75fc9dbbff29e531348a36d5cb49a5ca0d611d Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sun, 12 Jul 2015 21:05:40 +0900 Subject: tdf#88206 replace cppu::WeakImplHelper* etc. with the variadic variants, in configmgr. Change-Id: I0cf82ab487ed879aa385d6065e908e347c0778e8 Reviewed-on: https://gerrit.libreoffice.org/16964 Tested-by: Jenkins Reviewed-by: Noel Grandin --- configmgr/inc/pch/precompiled_configmgr.hxx | 6 ++---- configmgr/qa/unit/test.cxx | 4 ++-- configmgr/source/configurationprovider.cxx | 8 ++++---- configmgr/source/configurationregistry.cxx | 7 +++---- configmgr/source/readonlyaccess.cxx | 4 ++-- configmgr/source/readwriteaccess.cxx | 4 ++-- configmgr/source/update.cxx | 4 ++-- 7 files changed, 17 insertions(+), 20 deletions(-) diff --git a/configmgr/inc/pch/precompiled_configmgr.hxx b/configmgr/inc/pch/precompiled_configmgr.hxx index bcc533e86b13..2a43a2a36ecd 100644 --- a/configmgr/inc/pch/precompiled_configmgr.hxx +++ b/configmgr/inc/pch/precompiled_configmgr.hxx @@ -101,12 +101,10 @@ #include #include #include -#include +#include #include #include -#include -#include -#include +#include #include #include #include diff --git a/configmgr/qa/unit/test.cxx b/configmgr/qa/unit/test.cxx index a6954ada4f55..544a808e4832 100644 --- a/configmgr/qa/unit/test.cxx +++ b/configmgr/qa/unit/test.cxx @@ -42,7 +42,7 @@ #include #include #include -#include +#include #include #include #include @@ -111,7 +111,7 @@ private: }; class RecursiveTest: - public cppu::WeakImplHelper1< css::beans::XPropertyChangeListener > + public cppu::WeakImplHelper< css::beans::XPropertyChangeListener > { public: RecursiveTest(Test const & theTest, int count, bool * destroyed); diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx index a9fcd6720db8..31b87b69edd7 100644 --- a/configmgr/source/configurationprovider.cxx +++ b/configmgr/source/configurationprovider.cxx @@ -45,9 +45,9 @@ #include #include #include -#include +#include #include -#include +#include #include #include #include @@ -81,7 +81,7 @@ void badNodePath() { } typedef - cppu::WeakComponentImplHelper5< + cppu::WeakComponentImplHelper< css::lang::XServiceInfo, css::lang::XMultiServiceFactory, css::util::XRefreshable, css::util::XFlushable, css::lang::XLocalizable > @@ -369,7 +369,7 @@ void Service::flushModifications() const { } class Factory: - public cppu::WeakImplHelper2< + public cppu::WeakImplHelper< css::lang::XSingleComponentFactory, css::lang::XServiceInfo > { public: diff --git a/configmgr/source/configurationregistry.cxx b/configmgr/source/configurationregistry.cxx index b2e7408e39cf..d1f640e3c112 100644 --- a/configmgr/source/configurationregistry.cxx +++ b/configmgr/source/configurationregistry.cxx @@ -48,8 +48,7 @@ #include #include #include -#include -#include +#include #include #include #include @@ -68,7 +67,7 @@ namespace configmgr { namespace configuration_registry { namespace { class Service: - public cppu::WeakImplHelper3< + public cppu::WeakImplHelper< css::lang::XServiceInfo, css::registry::XSimpleRegistry, css::util::XFlushable > { @@ -152,7 +151,7 @@ private: }; class RegistryKey: - public cppu::WeakImplHelper1< css::registry::XRegistryKey > + public cppu::WeakImplHelper< css::registry::XRegistryKey > { public: RegistryKey(Service & service, css::uno::Any const & value): diff --git a/configmgr/source/readonlyaccess.cxx b/configmgr/source/readonlyaccess.cxx index 9989eac30ab2..afaef972f3ff 100644 --- a/configmgr/source/readonlyaccess.cxx +++ b/configmgr/source/readonlyaccess.cxx @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include #include #include @@ -41,7 +41,7 @@ namespace configmgr { namespace read_only_access { namespace { class Service: - public cppu::WeakImplHelper3< + public cppu::WeakImplHelper< css::lang::XServiceInfo, css::lang::XInitialization, css::container::XHierarchicalNameAccess > { diff --git a/configmgr/source/readwriteaccess.cxx b/configmgr/source/readwriteaccess.cxx index 19f0eb4a09b9..e6c4fa07dc5d 100644 --- a/configmgr/source/readwriteaccess.cxx +++ b/configmgr/source/readwriteaccess.cxx @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include @@ -43,7 +43,7 @@ namespace configmgr { namespace read_write_access { namespace { class Service: - public cppu::WeakImplHelper3< + public cppu::WeakImplHelper< css::lang::XServiceInfo, css::lang::XInitialization, css::configuration::XReadWriteAccess > { diff --git a/configmgr/source/update.cxx b/configmgr/source/update.cxx index 13694d865522..5d4028559fed 100644 --- a/configmgr/source/update.cxx +++ b/configmgr/source/update.cxx @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include @@ -57,7 +57,7 @@ std::set< OUString > seqToSet( } class Service: - public cppu::WeakImplHelper1< css::configuration::XUpdate > + public cppu::WeakImplHelper< css::configuration::XUpdate > { public: explicit Service(css::uno::Reference< css::uno::XComponentContext > const context): -- cgit