diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-04-06 18:44:54 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-04-06 20:23:13 +0000 |
commit | 403fa5ec2a9a3459f8e62aadf451626386fdd9dc (patch) | |
tree | d534b03b75142ca2d7ec7c5b23a910a834419e27 /sw/source/ui/vba/vbafield.cxx | |
parent | 9f1ffa641b67a4359611bb62d147a9a1e09312cd (diff) |
sw: use variadic cppu::WeakImplHelper
Change-Id: I2c03ffad8d935bad126c19a8647c924af5a9bce5
Reviewed-on: https://gerrit.libreoffice.org/15174
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/ui/vba/vbafield.cxx')
-rw-r--r-- | sw/source/ui/vba/vbafield.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbafield.cxx b/sw/source/ui/vba/vbafield.cxx index 0011ea76a51d..ef016607e32d 100644 --- a/sw/source/ui/vba/vbafield.cxx +++ b/sw/source/ui/vba/vbafield.cxx @@ -28,6 +28,7 @@ #include <comphelper/string.hxx> #include <ooo/vba/word/WdFieldType.hpp> #include <swtypes.hxx> +#include <cppuhelper/implbase.hxx> using namespace ::ooo::vba; using namespace ::com::sun::star; @@ -226,8 +227,8 @@ static uno::Any lcl_createField( const uno::Reference< XHelperInterface >& xPare return uno::makeAny( xField ); } -typedef ::cppu::WeakImplHelper1< css::container::XEnumeration > FieldEnumeration_BASE; -typedef ::cppu::WeakImplHelper2< container::XIndexAccess, container::XEnumerationAccess > FieldCollectionHelper_BASE; +typedef ::cppu::WeakImplHelper< css::container::XEnumeration > FieldEnumeration_BASE; +typedef ::cppu::WeakImplHelper< container::XIndexAccess, container::XEnumerationAccess > FieldCollectionHelper_BASE; class FieldEnumeration : public FieldEnumeration_BASE { |