diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-08-22 17:06:40 +0900 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-08-23 06:06:04 +0000 |
commit | 7f4e0d6aa29da640408cf4cc84b2fc1a0c11f8ba (patch) | |
tree | 7d078f47d4d7b72c627bae7e7192cf7316b5ebeb /include/oox | |
parent | 9beb2bedc0f65b90cd35f7fa6c9b53ee6729a0c4 (diff) |
oox: tdf#88206 replace cppu::WeakImplHelper* etc.
with the variadic variants.
Change-Id: I8a82df7ea24874d8e246dc983418d872f1943c8e
Reviewed-on: https://gerrit.libreoffice.org/17919
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/oox')
-rw-r--r-- | include/oox/core/contexthandler.hxx | 4 | ||||
-rw-r--r-- | include/oox/core/fasttokenhandler.hxx | 4 | ||||
-rw-r--r-- | include/oox/core/filterbase.hxx | 4 | ||||
-rw-r--r-- | include/oox/core/filterdetect.hxx | 7 | ||||
-rw-r--r-- | include/oox/core/fragmenthandler.hxx | 4 | ||||
-rw-r--r-- | include/oox/vml/vmlinputstream.hxx | 4 |
6 files changed, 13 insertions, 14 deletions
diff --git a/include/oox/core/contexthandler.hxx b/include/oox/core/contexthandler.hxx index 85f15529c4f6..a6de85d3e56b 100644 --- a/include/oox/core/contexthandler.hxx +++ b/include/oox/core/contexthandler.hxx @@ -21,7 +21,7 @@ #define INCLUDED_OOX_CORE_CONTEXTHANDLER_HXX #include <com/sun/star/xml/sax/XFastContextHandler.hpp> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include <rtl/ref.hxx> #include <oox/token/namespaces.hxx> #include <oox/token/tokens.hxx> @@ -48,7 +48,7 @@ typedef ::rtl::Reference< ContextHandler > ContextHandlerRef; struct FragmentBaseData; typedef std::shared_ptr< FragmentBaseData > FragmentBaseDataRef; -typedef ::cppu::WeakImplHelper1< ::com::sun::star::xml::sax::XFastContextHandler > ContextHandler_BASE; +typedef ::cppu::WeakImplHelper< ::com::sun::star::xml::sax::XFastContextHandler > ContextHandler_BASE; class OOX_DLLPUBLIC ContextHandler : public ContextHandler_BASE { diff --git a/include/oox/core/fasttokenhandler.hxx b/include/oox/core/fasttokenhandler.hxx index cdb9682d3759..ff6fd2c603ef 100644 --- a/include/oox/core/fasttokenhandler.hxx +++ b/include/oox/core/fasttokenhandler.hxx @@ -23,7 +23,7 @@ #include <oox/dllapi.h> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/xml/sax/XFastTokenHandler.hpp> -#include <cppuhelper/implbase2.hxx> +#include <cppuhelper/implbase.hxx> #include <sax/fastattribs.hxx> namespace oox { class TokenMap; } @@ -37,7 +37,7 @@ namespace core { that provides access to the tokens generated from the internal token name list. */ class OOX_DLLPUBLIC FastTokenHandler : - public ::cppu::WeakImplHelper2< ::com::sun::star::lang::XServiceInfo, + public ::cppu::WeakImplHelper< ::com::sun::star::lang::XServiceInfo, ::com::sun::star::xml::sax::XFastTokenHandler >, public sax_fastparser::FastTokenHandlerBase { diff --git a/include/oox/core/filterbase.hxx b/include/oox/core/filterbase.hxx index 02737169ad31..471377fc6835 100644 --- a/include/oox/core/filterbase.hxx +++ b/include/oox/core/filterbase.hxx @@ -30,7 +30,7 @@ #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <cppuhelper/basemutex.hxx> -#include <cppuhelper/implbase5.hxx> +#include <cppuhelper/implbase.hxx> #include <comphelper/sequenceashashmap.hxx> #include <oox/helper/binarystreambase.hxx> #include <oox/helper/storagebase.hxx> @@ -82,7 +82,7 @@ enum OoxmlVersion struct FilterBaseImpl; -typedef ::cppu::WeakImplHelper5< +typedef ::cppu::WeakImplHelper< ::com::sun::star::lang::XServiceInfo, ::com::sun::star::lang::XInitialization, ::com::sun::star::document::XImporter, diff --git a/include/oox/core/filterdetect.hxx b/include/oox/core/filterdetect.hxx index 23bd36ec677d..622027f2d0a0 100644 --- a/include/oox/core/filterdetect.hxx +++ b/include/oox/core/filterdetect.hxx @@ -24,8 +24,7 @@ #include <com/sun/star/document/XExtendedFilterDetection.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/xml/sax/XFastDocumentHandler.hpp> -#include <cppuhelper/implbase1.hxx> -#include <cppuhelper/implbase2.hxx> +#include <cppuhelper/implbase.hxx> #include <oox/dllapi.h> namespace com { namespace sun { namespace star { @@ -47,7 +46,7 @@ namespace core { It takes a reference to the filter string object via its constructor, and puts the name of the detected filter to it, if it successfully finds one. */ -class FilterDetectDocHandler : public ::cppu::WeakImplHelper1< ::com::sun::star::xml::sax::XFastDocumentHandler > +class FilterDetectDocHandler : public ::cppu::WeakImplHelper< ::com::sun::star::xml::sax::XFastDocumentHandler > { public: explicit FilterDetectDocHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext, OUString& rFilter ); @@ -85,7 +84,7 @@ private: -class OOX_DLLPUBLIC FilterDetect : public ::cppu::WeakImplHelper2< ::com::sun::star::document::XExtendedFilterDetection, ::com::sun::star::lang::XServiceInfo > +class OOX_DLLPUBLIC FilterDetect : public ::cppu::WeakImplHelper< ::com::sun::star::document::XExtendedFilterDetection, ::com::sun::star::lang::XServiceInfo > { public: explicit FilterDetect( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ) diff --git a/include/oox/core/fragmenthandler.hxx b/include/oox/core/fragmenthandler.hxx index 99ad120c8e20..26c9edb348b9 100644 --- a/include/oox/core/fragmenthandler.hxx +++ b/include/oox/core/fragmenthandler.hxx @@ -21,7 +21,7 @@ #define INCLUDED_OOX_CORE_FRAGMENTHANDLER_HXX #include <com/sun/star/xml/sax/XFastDocumentHandler.hpp> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include <oox/core/contexthandler.hxx> #include <oox/core/relations.hxx> #include <oox/dllapi.h> @@ -74,7 +74,7 @@ struct RecordInfo -typedef ::cppu::ImplInheritanceHelper1< ContextHandler, ::com::sun::star::xml::sax::XFastDocumentHandler > FragmentHandler_BASE; +typedef ::cppu::ImplInheritanceHelper< ContextHandler, ::com::sun::star::xml::sax::XFastDocumentHandler > FragmentHandler_BASE; class OOX_DLLPUBLIC FragmentHandler : public FragmentHandler_BASE { diff --git a/include/oox/vml/vmlinputstream.hxx b/include/oox/vml/vmlinputstream.hxx index 3f7efe086da3..fa1ff1d2338b 100644 --- a/include/oox/vml/vmlinputstream.hxx +++ b/include/oox/vml/vmlinputstream.hxx @@ -21,7 +21,7 @@ #define INCLUDED_OOX_VML_VMLINPUTSTREAM_HXX #include <com/sun/star/io/XInputStream.hpp> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include <rtl/string.hxx> namespace com { namespace sun { namespace star { @@ -51,7 +51,7 @@ namespace vml { 3) Line breaks represented by a single <br> element (without matching </br> element) are replaced by a literal LF character. */ -class InputStream : public ::cppu::WeakImplHelper1< ::com::sun::star::io::XInputStream > +class InputStream : public ::cppu::WeakImplHelper< ::com::sun::star::io::XInputStream > { public: explicit InputStream( |