From 61b00192cd4682cb592d880be1f4d57925ca03c7 Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Wed, 7 Dec 2016 08:59:42 +0100 Subject: tdf#88206 replace cppu::WeakImplHelper* in cppuhelper Change-Id: I3130a3fe28c00bd83cade9667a6e3b3abcb719f7 Reviewed-on: https://gerrit.libreoffice.org/31714 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx | 4 ++-- cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx | 4 ++-- cppuhelper/qa/propertysetmixin/test_propertysetmixin.cxx | 6 +++--- cppuhelper/qa/weak/test_weak.cxx | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'cppuhelper/qa') diff --git a/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx b/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx index b1f7ff7722ed..0484eecbce7d 100644 --- a/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx +++ b/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include using namespace com::sun::star; @@ -42,7 +42,7 @@ struct ContainerStats { ContainerStats() : m_nAlive(0), m_nDisposed(0) {} }; -class ContainerListener : public ::cppu::WeakImplHelper1< XEventListener > +class ContainerListener : public ::cppu::WeakImplHelper< XEventListener > { ContainerStats *m_pStats; public: diff --git a/cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx b/cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx index f6b96e26df57..5e8ce06b7ef0 100644 --- a/cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx +++ b/cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include #include #include @@ -344,7 +344,7 @@ void Full::setFourth(sal_Int32) } class Supplier: - public cppu::WeakImplHelper1< + public cppu::WeakImplHelper< test::cppuhelper::propertysetmixin::XSupplier > { public: diff --git a/cppuhelper/qa/propertysetmixin/test_propertysetmixin.cxx b/cppuhelper/qa/propertysetmixin/test_propertysetmixin.cxx index 9385dcd4e317..ab9412928c07 100644 --- a/cppuhelper/qa/propertysetmixin/test_propertysetmixin.cxx +++ b/cppuhelper/qa/propertysetmixin/test_propertysetmixin.cxx @@ -46,7 +46,7 @@ #include #include #include -#include +#include #include "cppunit/TestAssert.h" #include "cppunit/TestFixture.h" #include "cppunit/extensions/HelperMacros.h" @@ -82,7 +82,7 @@ std::ostream & operator <<(std::ostream & out, css::uno::Any const & value) { } class BoundListener: - public cppu::WeakImplHelper1< css::beans::XPropertyChangeListener > + public cppu::WeakImplHelper< css::beans::XPropertyChangeListener > { public: BoundListener(): m_count(0) {} @@ -116,7 +116,7 @@ private: }; class VetoListener: - public cppu::WeakImplHelper1< css::beans::XVetoableChangeListener > + public cppu::WeakImplHelper< css::beans::XVetoableChangeListener > { public: VetoListener(): m_count(0) {} diff --git a/cppuhelper/qa/weak/test_weak.cxx b/cppuhelper/qa/weak/test_weak.cxx index 84c980efb2b5..2a1d23e1c2a8 100644 --- a/cppuhelper/qa/weak/test_weak.cxx +++ b/cppuhelper/qa/weak/test_weak.cxx @@ -27,14 +27,14 @@ #include #include #include -#include +#include #include #include #include namespace { -class Reference: public cppu::WeakImplHelper1< css::uno::XReference > { +class Reference: public cppu::WeakImplHelper< css::uno::XReference > { public: Reference(): m_disposed(false) {} -- cgit v1.2.3