Kaydet (Commit) 5d75fc9d authored tarafından Takeshi Abe's avatar Takeshi Abe Kaydeden (comit) Noel Grandin

tdf#88206 replace cppu::WeakImplHelper* etc.

with the variadic variants, in configmgr.

Change-Id: I0cf82ab487ed879aa385d6065e908e347c0778e8
Reviewed-on: https://gerrit.libreoffice.org/16964Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 7f32aec6
......@@ -101,12 +101,10 @@
#include <config_folders.h>
#include <cppu/unotype.hxx>
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase5.hxx>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase2.hxx>
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/implementationentry.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <cppuhelper/queryinterface.hxx>
......
......@@ -42,7 +42,7 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/util/XChangesBatch.hpp>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase.hxx>
#include <osl/conditn.hxx>
#include <osl/thread.h>
#include <osl/thread.hxx>
......@@ -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);
......
......@@ -45,9 +45,9 @@
#include <com/sun/star/util/XRefreshable.hpp>
#include <cppu/unotype.hxx>
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase5.hxx>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implbase2.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/weak.hxx>
......@@ -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:
......
......@@ -48,8 +48,7 @@
#include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/util/XFlushable.hpp>
#include <cppu/unotype.hxx>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/weak.hxx>
#include <osl/mutex.hxx>
......@@ -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):
......
......@@ -22,7 +22,7 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uno/XInterface.hpp>
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/weak.hxx>
#include <osl/mutex.hxx>
......@@ -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 >
{
......
......@@ -24,7 +24,7 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/util/ChangesSet.hpp>
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/weak.hxx>
#include <osl/mutex.hxx>
......@@ -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 >
{
......
......@@ -29,7 +29,7 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uno/XInterface.hpp>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/weak.hxx>
#include <osl/mutex.hxx>
#include <rtl/ref.hxx>
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment