summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbasections.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbasections.cxx')
-rw-r--r--sw/source/ui/vba/vbasections.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbasections.cxx b/sw/source/ui/vba/vbasections.cxx
index d929357d60a9..06cd0f469315 100644
--- a/sw/source/ui/vba/vbasections.cxx
+++ b/sw/source/ui/vba/vbasections.cxx
@@ -23,12 +23,13 @@
#include <docsh.hxx>
#include <doc.hxx>
#include "wordvbahelper.hxx"
+#include <cppuhelper/implbase.hxx>
using namespace ::ooo::vba;
using namespace ::com::sun::star;
-typedef ::cppu::WeakImplHelper1< container::XEnumeration > SectionEnumeration_BASE;
-typedef ::cppu::WeakImplHelper2< container::XIndexAccess, container::XEnumerationAccess > SectionCollectionHelper_Base;
+typedef ::cppu::WeakImplHelper< container::XEnumeration > SectionEnumeration_BASE;
+typedef ::cppu::WeakImplHelper< container::XIndexAccess, container::XEnumerationAccess > SectionCollectionHelper_Base;
typedef std::vector< uno::Reference< beans::XPropertySet > > XSectionVec;
class SectionEnumeration : public SectionEnumeration_BASE