diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-03 13:30:17 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-03 13:30:44 +0200 |
commit | 5edd744d1021b41f59528a6e3a8adebfe63e6b6e (patch) | |
tree | c94e4879df8d505ba3f670e3c5aa2640080e8f7a /sw/source/ui/vba/vbatables.cxx | |
parent | a381d16d23d0efb678e9e410db3ad23313693640 (diff) |
sw: inline use-once typedefs
Change-Id: Id0e54c92769e6c82690fe6f1eab488fcabe6c655
Diffstat (limited to 'sw/source/ui/vba/vbatables.cxx')
-rw-r--r-- | sw/source/ui/vba/vbatables.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/ui/vba/vbatables.cxx b/sw/source/ui/vba/vbatables.cxx index 1ccfa74702b6..8bb0bc7bbdb6 100644 --- a/sw/source/ui/vba/vbatables.cxx +++ b/sw/source/ui/vba/vbatables.cxx @@ -59,11 +59,10 @@ static bool lcl_isInHeaderFooter( const uno::Reference< text::XTextTable >& xTab return false; } -typedef ::cppu::WeakImplHelper< css::container::XEnumeration > EnumBase; -typedef ::cppu::WeakImplHelper< container::XIndexAccess, container::XNameAccess > TableCollectionHelper_Base; typedef std::vector< uno::Reference< text::XTextTable > > XTextTableVec; -class TableCollectionHelper : public TableCollectionHelper_Base +class TableCollectionHelper : public ::cppu::WeakImplHelper< container::XIndexAccess, + container::XNameAccess > { XTextTableVec mxTables; XTextTableVec::iterator cachePos; @@ -132,7 +131,7 @@ public: } }; -class TableEnumerationImpl : public EnumBase +class TableEnumerationImpl : public ::cppu::WeakImplHelper< css::container::XEnumeration > { uno::Reference< XHelperInterface > mxParent; uno::Reference< uno::XComponentContext > mxContext; |