diff options
author | Douglas Mencken <dougmencken@gmail.com> | 2015-10-04 22:19:14 -0400 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-10-06 12:13:54 +0000 |
commit | 85b1f91779cd90eb1c7808909c2721239fc51dd1 (patch) | |
tree | 21ca582dc9435d15304a9ea80170482cf0c18bfb /sw/source/ui/vba/vbasection.hxx | |
parent | 8e7a2a62d1bd14ea629b4cbbdccd0c9b9b14a6e5 (diff) |
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 <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/source/ui/vba/vbasection.hxx')
-rw-r--r-- | sw/source/ui/vba/vbasection.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbasection.hxx b/sw/source/ui/vba/vbasection.hxx index d761f2ef51b4..0d66fecea2cf 100644 --- a/sw/source/ui/vba/vbasection.hxx +++ b/sw/source/ui/vba/vbasection.hxx @@ -21,9 +21,8 @@ #include <ooo/vba/word/XSection.hpp> #include <vbahelper/vbahelperinterface.hxx> -#include <cppuhelper/implbase1.hxx> -typedef InheritedHelperInterfaceImpl1< ooo::vba::word::XSection > SwVbaSection_BASE; +typedef InheritedHelperInterfaceWeakImpl< ooo::vba::word::XSection > SwVbaSection_BASE; class SwVbaSection : public SwVbaSection_BASE { |