diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-08-04 17:52:31 +0900 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-08-06 08:14:23 +0000 |
commit | 975875d53a8afa7ae2df944f7a584870c663bc6a (patch) | |
tree | b75252bae121d6604edef4d017714f2dcac8fa86 /extensions/test/ole/cpnt | |
parent | c268bfd4715186bf0623fdd757de7bf68298f3c3 (diff) |
tdf#88206 replace cppu::WeakImplHelper* etc.
with the variadic variants in extensions.
Change-Id: I45e9dc5769150181df88791b3f748002ca713c02
Reviewed-on: https://gerrit.libreoffice.org/17517
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'extensions/test/ole/cpnt')
-rw-r--r-- | extensions/test/ole/cpnt/cpnt.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/extensions/test/ole/cpnt/cpnt.cxx b/extensions/test/ole/cpnt/cpnt.cxx index 179448430909..7cf7e0b9ea57 100644 --- a/extensions/test/ole/cpnt/cpnt.cxx +++ b/extensions/test/ole/cpnt/cpnt.cxx @@ -35,8 +35,7 @@ #include <com/sun/star/reflection/XIdlReflection.hpp> #include <com/sun/star/lang/XEventListener.hpp> -#include <cppuhelper/implbase7.hxx> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include <com/sun/star/uno/Reference.h> #include <rtl/ustring.h> #include <com/sun/star/uno/Reference.hxx> @@ -67,7 +66,7 @@ using namespace com::sun::star::reflection; #define KEY1 L"/oletest.OleTestImpl/UNO/SERVICES" #define KEY2 L"oletest.OleTest" -class OComponent : public WeakImplHelper7< +class OComponent : public WeakImplHelper< XTestSequence, XTestStruct, XTestOther, XTestInterfaces, XSimple, XTestInParameters, XIdentity > { @@ -304,7 +303,7 @@ public: // XTestSequence virtual Reference< XInterface > SAL_CALL getThis( ) throw (RuntimeException); }; -class EventListener: public WeakImplHelper1<XEventListener> +class EventListener: public WeakImplHelper<XEventListener> { public: EventListener(): bCalled( sal_False) |