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/vbatables.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sw/source/ui/vba/vbatables.cxx') 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; -- cgit