diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-12-06 20:42:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-07 10:56:36 +0000 |
commit | d1a9c73ea16f5b4838f639ce2bb2226d9b9b334a (patch) | |
tree | 1fbc59474ab27dbb4c7e53e50911f8df2cd2c054 /comphelper | |
parent | a6149bc0aa25dfbe963466a3a02c3d1ac18d75a1 (diff) |
tdf#88206 replace cppu::WeakImplHelper* misc
also edited two examples in canvas comments
Change-Id: Iac82b462168f869f995c33bb2c639f3dbe09cbd5
Reviewed-on: https://gerrit.libreoffice.org/31715
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/qa/container/comphelper_ifcontainer.cxx | 4 | ||||
-rw-r--r-- | comphelper/qa/container/testifcontainer.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/comphelper/qa/container/comphelper_ifcontainer.cxx b/comphelper/qa/container/comphelper_ifcontainer.cxx index 6da949301b4b..135adfdb9304 100644 --- a/comphelper/qa/container/comphelper_ifcontainer.cxx +++ b/comphelper/qa/container/comphelper_ifcontainer.cxx @@ -27,7 +27,7 @@ #include <com/sun/star/lang/XEventListener.hpp> #include <comphelper/interfacecontainer2.hxx> #include <cppuhelper/queryinterface.hxx> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include <cppuhelper/propshlp.hxx> using namespace com::sun::star; @@ -40,7 +40,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/comphelper/qa/container/testifcontainer.cxx b/comphelper/qa/container/testifcontainer.cxx index 3cc8f9c8958b..e881f6739db6 100644 --- a/comphelper/qa/container/testifcontainer.cxx +++ b/comphelper/qa/container/testifcontainer.cxx @@ -23,7 +23,7 @@ #include "cppunit/plugin/TestPlugIn.h" #include <osl/mutex.hxx> #include <comphelper/interfacecontainer2.hxx> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include <com/sun/star/beans/XVetoableChangeListener.hpp> using namespace ::osl; @@ -44,7 +44,7 @@ public: CPPUNIT_TEST_SUITE_END(); }; -class TestListener : public cppu::WeakImplHelper1< XVetoableChangeListener > +class TestListener : public cppu::WeakImplHelper< XVetoableChangeListener > { public: // Methods |