summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbasections.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-03 13:30:17 +0200
committerNoel Grandin <noel@peralex.com>2015-08-03 13:30:44 +0200
commit5edd744d1021b41f59528a6e3a8adebfe63e6b6e (patch)
treec94e4879df8d505ba3f670e3c5aa2640080e8f7a /sw/source/ui/vba/vbasections.cxx
parenta381d16d23d0efb678e9e410db3ad23313693640 (diff)
sw: inline use-once typedefs
Change-Id: Id0e54c92769e6c82690fe6f1eab488fcabe6c655
Diffstat (limited to 'sw/source/ui/vba/vbasections.cxx')
-rw-r--r--sw/source/ui/vba/vbasections.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/ui/vba/vbasections.cxx b/sw/source/ui/vba/vbasections.cxx
index 4669a51c2f02..a23d56d63c81 100644
--- a/sw/source/ui/vba/vbasections.cxx
+++ b/sw/source/ui/vba/vbasections.cxx
@@ -28,11 +28,9 @@
using namespace ::ooo::vba;
using namespace ::com::sun::star;
-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
+class SectionEnumeration : public ::cppu::WeakImplHelper< container::XEnumeration >
{
XSectionVec mxSections;
XSectionVec::iterator mIt;
@@ -53,7 +51,8 @@ public:
};
// here I regard pagestyle as section
-class SectionCollectionHelper : public SectionCollectionHelper_Base
+class SectionCollectionHelper : public ::cppu::WeakImplHelper< container::XIndexAccess,
+ container::XEnumerationAccess >
{
private:
uno::Reference< XHelperInterface > mxParent;