summaryrefslogtreecommitdiff
path: root/sw/inc/unotbl.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-04-06 18:44:54 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-04-06 20:23:13 +0000
commit403fa5ec2a9a3459f8e62aadf451626386fdd9dc (patch)
treed534b03b75142ca2d7ec7c5b23a910a834419e27 /sw/inc/unotbl.hxx
parent9f1ffa641b67a4359611bb62d147a9a1e09312cd (diff)
sw: use variadic cppu::WeakImplHelper
Change-Id: I2c03ffad8d935bad126c19a8647c924af5a9bce5 Reviewed-on: https://gerrit.libreoffice.org/15174 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/inc/unotbl.hxx')
-rw-r--r--sw/inc/unotbl.hxx20
1 files changed, 8 insertions, 12 deletions
diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index ce6048e28285..3313b47a2509 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -32,11 +32,7 @@
#include <com/sun/star/sheet/XCellRangeData.hpp>
#include <com/sun/star/table/XAutoFormattable.hpp>
-#include <cppuhelper/implbase3.hxx>
-#include <cppuhelper/implbase4.hxx>
-#include <cppuhelper/implbase5.hxx>
-#include <cppuhelper/implbase7.hxx>
-#include <cppuhelper/implbase10.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/interfacecontainer.h>
#include <comphelper/uno3.hxx>
@@ -57,7 +53,7 @@ class SwChartDataProvider;
class SwFrmFmt;
typedef
-cppu::WeakImplHelper4
+cppu::WeakImplHelper
<
::com::sun::star::table::XCell,
::com::sun::star::lang::XServiceInfo,
@@ -158,7 +154,7 @@ public:
SwFrmFmt* GetFrmFmt() const { return const_cast<SwFrmFmt*>(static_cast<const SwFrmFmt*>(GetRegisteredIn())); }
};
-class SwXTextTableRow SAL_FINAL : public cppu::WeakImplHelper2
+class SwXTextTableRow SAL_FINAL : public cppu::WeakImplHelper
<
::com::sun::star::beans::XPropertySet,
::com::sun::star::lang::XServiceInfo
@@ -205,7 +201,7 @@ public:
static SwTableLine* FindLine(SwTable* pTable, SwTableLine* pLine);
};
-typedef cppu::WeakImplHelper3<
+typedef cppu::WeakImplHelper<
::com::sun::star::text::XTextTableCursor,
::com::sun::star::lang::XServiceInfo,
::com::sun::star::beans::XPropertySet
@@ -293,7 +289,7 @@ struct SwRangeDescriptor
};
class SwTableProperties_Impl;
-class SwXTextTable : public cppu::WeakImplHelper10
+class SwXTextTable : public cppu::WeakImplHelper
<
::com::sun::star::text::XTextTable,
::com::sun::star::lang::XServiceInfo,
@@ -442,7 +438,7 @@ public:
SwFrmFmt* GetFrmFmt() const { return const_cast<SwFrmFmt*>(static_cast<const SwFrmFmt*>(GetRegisteredIn())); }
};
-class SwXCellRange : public cppu::WeakImplHelper7
+class SwXCellRange : public cppu::WeakImplHelper
<
::com::sun::star::table::XCellRange,
::com::sun::star::lang::XServiceInfo,
@@ -557,7 +553,7 @@ public:
};
-class SwXTableRows SAL_FINAL : public cppu::WeakImplHelper2
+class SwXTableRows SAL_FINAL : public cppu::WeakImplHelper
<
::com::sun::star::table::XTableRows,
::com::sun::star::lang::XServiceInfo
@@ -599,7 +595,7 @@ public:
virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) SAL_OVERRIDE;
};
-class SwXTableColumns : public cppu::WeakImplHelper2
+class SwXTableColumns : public cppu::WeakImplHelper
<
::com::sun::star::table::XTableColumns,
::com::sun::star::lang::XServiceInfo