From 61cac9542a2a16455aa6868b2495d940cb488726 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Wed, 26 Aug 2015 18:13:46 +0900 Subject: sax: tdf#88206 replace cppu::WeakImplHelper* with the variadic variants. Change-Id: Id8d0c61b0454652abbbd09be0c72696a057dc2d2 Reviewed-on: https://gerrit.libreoffice.org/18008 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sax/test/saxdemo.cxx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'sax/test/saxdemo.cxx') diff --git a/sax/test/saxdemo.cxx b/sax/test/saxdemo.cxx index 5af47eb763ff..95d83f0c0354 100644 --- a/sax/test/saxdemo.cxx +++ b/sax/test/saxdemo.cxx @@ -40,8 +40,7 @@ #include #include -#include -#include +#include #include @@ -57,7 +56,7 @@ using namespace ::com::sun::star::io; /************ * Sequence of bytes -> InputStream ************/ -class OInputStream : public WeakImplHelper1 < XInputStream > +class OInputStream : public WeakImplHelper < XInputStream > { public: OInputStream( const Sequence< sal_Int8 >&seq ) : @@ -130,7 +129,7 @@ Reference< XInputStream > createStreamFromFile( // The Documenthandler for reading sax class TestDocumentHandler : - public WeakImplHelper3< XExtendedDocumentHandler , XEntityResolver , XErrorHandler > + public WeakImplHelper< XExtendedDocumentHandler , XEntityResolver , XErrorHandler > { public: TestDocumentHandler( ) @@ -251,7 +250,7 @@ public: // implements an XAttributeList struct AttributeListImpl_impl; -class AttributeListImpl : public WeakImplHelper1< XAttributeList > +class AttributeListImpl : public WeakImplHelper< XAttributeList > { public: AttributeListImpl(); @@ -431,7 +430,7 @@ void writeParagraphHelper( // writes data to a file class OFileWriter : - public WeakImplHelper1< XOutputStream > + public WeakImplHelper< XOutputStream > { public: OFileWriter( char *pcFile ) { strncpy( m_pcFile , pcFile, 256 - 1 ); m_f = 0; } -- cgit