From 85b1f91779cd90eb1c7808909c2721239fc51dd1 Mon Sep 17 00:00:00 2001 From: Douglas Mencken Date: Sun, 4 Oct 2015 22:19:14 -0400 Subject: vba: convert to variadic InheritedHelperInterfaceImpl&WeakImpl etc Variadic templates ~-i.e. templates, which can take an arbitrary number of arguments of any type-~ is new C++11 feature note that uno::Reference and cppu::UnoType can only take one parameter thus leave XNamedObjectCollectionHelper non-variadic in vbacollectionimpl.hxx Change-Id: I22e60fa050ee31d39ae8bb7cac06cf243c4587b1 Reviewed-on: https://gerrit.libreoffice.org/19145 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- include/vbahelper/vbashape.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/vbahelper/vbashape.hxx') diff --git a/include/vbahelper/vbashape.hxx b/include/vbahelper/vbashape.hxx index 5cedd998ea98..0670b3908538 100644 --- a/include/vbahelper/vbashape.hxx +++ b/include/vbahelper/vbashape.hxx @@ -26,11 +26,11 @@ #include #include #include -#include +#include #include -typedef ::cppu::WeakImplHelper2< ov::msforms::XShape, css::lang::XEventListener > ListeningShape; +typedef ::cppu::WeakImplHelper< ov::msforms::XShape, css::lang::XEventListener > ListeningShape; typedef InheritedHelperInterfaceImpl< ListeningShape > ScVbaShape_BASE; -- cgit