From 5edd744d1021b41f59528a6e3a8adebfe63e6b6e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 3 Aug 2015 13:30:17 +0200 Subject: sw: inline use-once typedefs Change-Id: Id0e54c92769e6c82690fe6f1eab488fcabe6c655 --- sw/source/ui/vba/vbasections.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sw/source/ui/vba/vbasections.cxx') 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; -- cgit