From a890a7696ff5dfc3ec8a012ba59cc04db4a1473d Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Fri, 10 Jul 2015 17:50:12 +0900 Subject: tdf#88206 replace cppu::WeakImplHelper* etc. with the variadic variants, for comphelper. This also includes extra changes in other modules required accordingly. Change-Id: Id1537f46f1c90f760a0d8987a6dafa0e1da03b8f Reviewed-on: https://gerrit.libreoffice.org/16929 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- comphelper/source/streaming/memorystream.cxx | 6 +++--- comphelper/source/streaming/seqinputstreamserv.cxx | 4 ++-- comphelper/source/streaming/seqoutputstreamserv.cxx | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'comphelper/source/streaming') diff --git a/comphelper/source/streaming/memorystream.cxx b/comphelper/source/streaming/memorystream.cxx index 3efe2d1126f2..d4a4ebf8d502 100644 --- a/comphelper/source/streaming/memorystream.cxx +++ b/comphelper/source/streaming/memorystream.cxx @@ -26,14 +26,14 @@ #include #include #include -#include +#include #include #include #include using ::cppu::OWeakObject; -using ::cppu::WeakImplHelper4; +using ::cppu::WeakImplHelper; using namespace ::com::sun::star::io; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; @@ -42,7 +42,7 @@ using namespace ::osl; namespace comphelper { -class UNOMemoryStream : public WeakImplHelper4 < XStream, XSeekableInputStream, XOutputStream, XTruncate > +class UNOMemoryStream : public WeakImplHelper< XStream, XSeekableInputStream, XOutputStream, XTruncate > { public: UNOMemoryStream(); diff --git a/comphelper/source/streaming/seqinputstreamserv.cxx b/comphelper/source/streaming/seqinputstreamserv.cxx index 1ea60fa5a63f..233cc8dc6524 100644 --- a/comphelper/source/streaming/seqinputstreamserv.cxx +++ b/comphelper/source/streaming/seqinputstreamserv.cxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -41,7 +41,7 @@ using namespace ::com::sun::star; namespace { class SequenceInputStreamService: - public ::cppu::WeakImplHelper3< + public ::cppu::WeakImplHelper< lang::XServiceInfo, io::XSeekableInputStream, lang::XInitialization>, diff --git a/comphelper/source/streaming/seqoutputstreamserv.cxx b/comphelper/source/streaming/seqoutputstreamserv.cxx index f1ef3c6ebb48..6d604dc9b03f 100644 --- a/comphelper/source/streaming/seqoutputstreamserv.cxx +++ b/comphelper/source/streaming/seqoutputstreamserv.cxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -39,7 +39,7 @@ using namespace ::com::sun::star; namespace { class SequenceOutputStreamService: - public cppu::WeakImplHelper2, + public cppu::WeakImplHelper, private boost::noncopyable { public: -- cgit