From 370a26f7804d12da26abe007f1d80a00c4fdaeb4 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sat, 15 Aug 2015 15:09:19 +0900 Subject: hwpfilter: tdf#88206 replace cppu::WeakImplHelper* with the variadic variants. Change-Id: Ibfe59dc7631cf499f42ff998066ed73d1eb257b3 Reviewed-on: https://gerrit.libreoffice.org/17767 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- hwpfilter/source/attributes.cxx | 2 +- hwpfilter/source/attributes.hxx | 4 ++-- hwpfilter/source/hwpreader.hxx | 8 +++----- 3 files changed, 6 insertions(+), 8 deletions(-) (limited to 'hwpfilter') diff --git a/hwpfilter/source/attributes.cxx b/hwpfilter/source/attributes.cxx index a5749e8e0dd7..14868ec5a8f3 100644 --- a/hwpfilter/source/attributes.cxx +++ b/hwpfilter/source/attributes.cxx @@ -53,7 +53,7 @@ sal_Int16 SAL_CALL AttributeListImpl::getLength() throw (RuntimeException, std:: AttributeListImpl::AttributeListImpl( const AttributeListImpl &r ) : -cppu::WeakImplHelper1( r ) +cppu::WeakImplHelper( r ) { m_pImpl = new AttributeListImpl_impl; *m_pImpl = *(r.m_pImpl); diff --git a/hwpfilter/source/attributes.hxx b/hwpfilter/source/attributes.hxx index de1bde89548f..e762579c7031 100644 --- a/hwpfilter/source/attributes.hxx +++ b/hwpfilter/source/attributes.hxx @@ -22,7 +22,7 @@ #define INCLUDED_HWPFILTER_SOURCE_ATTRIBUTES_HXX #include -#include +#include /*---------------------------------------- * @@ -35,7 +35,7 @@ using namespace ::com::sun::star::xml::sax; using namespace ::com::sun::star::uno; struct AttributeListImpl_impl; -class AttributeListImpl : public WeakImplHelper1< XAttributeList > +class AttributeListImpl : public WeakImplHelper< XAttributeList > { protected: virtual ~AttributeListImpl(); diff --git a/hwpfilter/source/hwpreader.hxx b/hwpfilter/source/hwpreader.hxx index 15baadd89f09..c94c078ef603 100644 --- a/hwpfilter/source/hwpreader.hxx +++ b/hwpfilter/source/hwpreader.hxx @@ -37,9 +37,7 @@ #include #include -#include -#include -#include +#include #include #include @@ -73,7 +71,7 @@ struct HwpReaderPrivate; /** * This class implements the external Parser interface */ -class HwpReader : public WeakImplHelper1 +class HwpReader : public WeakImplHelper { public: @@ -151,7 +149,7 @@ private: static char* getPStyleName(int, char *); }; -class HwpImportFilter : public WeakImplHelper4< XFilter, XImporter, XServiceInfo, XExtendedFilterDetection > +class HwpImportFilter : public WeakImplHelper< XFilter, XImporter, XServiceInfo, XExtendedFilterDetection > { public: HwpImportFilter(const Reference< XMultiServiceFactory >& rFact); -- cgit