summaryrefslogtreecommitdiff
path: root/sc/inc/linkuno.hxx
diff options
context:
space:
mode:
authorRaj Natarajan <rajkumar.natarajan@gmail.com>2015-07-23 07:42:18 +0530
committerNoel Grandin <noelgrandin@gmail.com>2015-07-28 07:28:09 +0000
commitadbfe33377813b209bb4a7d7e4e9f737be033969 (patch)
treede46a6e5c0b41fba2c5073c09ee88aa501c258e3 /sc/inc/linkuno.hxx
parentc1780b4c9217b3b5374907b7e537f481ed2c680e (diff)
tdf#88206 Change uses of cppu::WeakImplHelper* to the variadic variant
Change-Id: I16ca3893798cbb20a93eceea259fafd7a31eff44 Reviewed-on: https://gerrit.libreoffice.org/17346 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/inc/linkuno.hxx')
-rw-r--r--sc/inc/linkuno.hxx23
1 files changed, 10 insertions, 13 deletions
diff --git a/sc/inc/linkuno.hxx b/sc/inc/linkuno.hxx
index c4b804f9a0f2..9789dc5e8dbb 100644
--- a/sc/inc/linkuno.hxx
+++ b/sc/inc/linkuno.hxx
@@ -37,10 +37,7 @@
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/container/XNamed.hpp>
-#include <cppuhelper/implbase1.hxx>
-#include <cppuhelper/implbase3.hxx>
-#include <cppuhelper/implbase4.hxx>
-#include <cppuhelper/implbase5.hxx>
+#include <cppuhelper/implbase.hxx>
#include "externalrefmgr.hxx"
@@ -53,7 +50,7 @@ typedef ::com::sun::star::uno::Reference<
::com::sun::star::util::XRefreshListener > XRefreshListenerRef;
typedef boost::ptr_vector<XRefreshListenerRef> XRefreshListenerArr_Impl;
-class ScSheetLinkObj : public cppu::WeakImplHelper4<
+class ScSheetLinkObj : public cppu::WeakImplHelper<
com::sun::star::container::XNamed,
com::sun::star::util::XRefreshable,
com::sun::star::beans::XPropertySet,
@@ -153,7 +150,7 @@ public:
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
-class ScSheetLinksObj : public cppu::WeakImplHelper4<
+class ScSheetLinksObj : public cppu::WeakImplHelper<
com::sun::star::container::XNameAccess,
com::sun::star::container::XEnumerationAccess,
com::sun::star::container::XIndexAccess,
@@ -207,7 +204,7 @@ public:
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
-class ScAreaLinkObj : public cppu::WeakImplHelper4<
+class ScAreaLinkObj : public cppu::WeakImplHelper<
com::sun::star::sheet::XAreaLink,
com::sun::star::util::XRefreshable,
com::sun::star::beans::XPropertySet,
@@ -313,7 +310,7 @@ public:
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
-class ScAreaLinksObj : public cppu::WeakImplHelper3<
+class ScAreaLinksObj : public cppu::WeakImplHelper<
com::sun::star::sheet::XAreaLinks,
com::sun::star::container::XEnumerationAccess,
com::sun::star::lang::XServiceInfo >,
@@ -367,7 +364,7 @@ public:
//! order of XNamed and DDELink changed to avoid "duplicate comdat" symbols
-class ScDDELinkObj : public cppu::WeakImplHelper5<
+class ScDDELinkObj : public cppu::WeakImplHelper<
com::sun::star::sheet::XDDELink,
com::sun::star::container::XNamed,
com::sun::star::util::XRefreshable,
@@ -430,7 +427,7 @@ public:
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
-class ScDDELinksObj : public cppu::WeakImplHelper4<
+class ScDDELinksObj : public cppu::WeakImplHelper<
com::sun::star::container::XEnumerationAccess,
com::sun::star::container::XIndexAccess,
com::sun::star::sheet::XDDELinks,
@@ -491,7 +488,7 @@ public:
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
-class ScExternalSheetCacheObj : public cppu::WeakImplHelper1< ::com::sun::star::sheet::XExternalSheetCache >
+class ScExternalSheetCacheObj : public cppu::WeakImplHelper< ::com::sun::star::sheet::XExternalSheetCache >
{
public:
explicit ScExternalSheetCacheObj(ScDocShell* pDocShell, ScExternalRefCache::TableTypeRef pTable, size_t nIndex);
@@ -524,7 +521,7 @@ private:
size_t mnIndex;
};
-class ScExternalDocLinkObj : public cppu::WeakImplHelper1< ::com::sun::star::sheet::XExternalDocLink >
+class ScExternalDocLinkObj : public cppu::WeakImplHelper< ::com::sun::star::sheet::XExternalDocLink >
{
public:
ScExternalDocLinkObj(ScDocShell* pDocShell, ScExternalRefManager* pRefMgr, sal_uInt16 nFileId);
@@ -572,7 +569,7 @@ private:
};
/** This is the UNO API equivalent of ScExternalRefManager. */
-class ScExternalDocLinksObj : public cppu::WeakImplHelper1< ::com::sun::star::sheet::XExternalDocLinks >
+class ScExternalDocLinksObj : public cppu::WeakImplHelper< ::com::sun::star::sheet::XExternalDocLinks >
{
public:
ScExternalDocLinksObj(ScDocShell* pDocShell);