diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-09-10 12:51:10 +0900 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-10 13:11:11 +0000 |
commit | e50bcf0a2267bf3c80a5d99442bfe08681241836 (patch) | |
tree | f14ffb6ae356be1e83c9e392d7bcad4204040fdd /vbahelper/source/msforms/vbacontrol.cxx | |
parent | 9303e87bb6839afc09d4db543ff17f2fb5142359 (diff) |
vbahelper: tdf#88206 replace cppu::WeakImplHelper* etc.
with the variadic variants.
Change-Id: I8a7f7c81a876b5f1ac987375f8c43bbef89dc087
Reviewed-on: https://gerrit.libreoffice.org/18461
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vbahelper/source/msforms/vbacontrol.cxx')
-rw-r--r-- | vbahelper/source/msforms/vbacontrol.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vbahelper/source/msforms/vbacontrol.cxx b/vbahelper/source/msforms/vbacontrol.cxx index 910829b67f7a..d228be7f3414 100644 --- a/vbahelper/source/msforms/vbacontrol.cxx +++ b/vbahelper/source/msforms/vbacontrol.cxx @@ -59,6 +59,7 @@ #include <com/sun/star/drawing/XDrawPagesSupplier.hpp> #include <com/sun/star/form/XFormsSupplier.hpp> #include <svx/svdobj.hxx> +#include <cppuhelper/implbase.hxx> using namespace com::sun::star; using namespace ooo::vba; @@ -94,7 +95,7 @@ ScVbaControl::getWindowPeer() throw (uno::RuntimeException) } //ScVbaControlListener -class ScVbaControlListener: public cppu::WeakImplHelper1< lang::XEventListener > +class ScVbaControlListener: public cppu::WeakImplHelper< lang::XEventListener > { private: ScVbaControl *pControl; @@ -765,7 +766,7 @@ void ScVbaControl::setLocked( bool bLocked ) throw (uno::RuntimeException) m_xProps->setPropertyValue( "ReadOnly" , uno::makeAny( bLocked ) ); } -class ControlProviderImpl : public cppu::WeakImplHelper1< XControlProvider > +class ControlProviderImpl : public cppu::WeakImplHelper< XControlProvider > { uno::Reference< uno::XComponentContext > m_xCtx; public: |