diff options
author | Noel Grandin <noel@peralex.com> | 2013-01-16 17:12:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-02-11 08:02:11 +0200 |
commit | e5fdaec54a54e42b487c37e6b01493bcdfc30b4c (patch) | |
tree | 26421d24cee78af24feb748fc52845f279dd299e /xmlscript | |
parent | c4d051c5dbee532264e1bfc2ccdb337c6dcf83ed (diff) |
fdo#46808, Adapt document::XML*BasicExporter UNO services to new style
The services are
document::XMLBasicExporter
document::XMLOasisBasicExporter
Change-Id: Ifd93e5735cae94d34904d79769cdb3edf587fe43
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xmlflat_imexp/xmlbas_export.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx b/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx index c23e43b34d6d..c20b53e23609 100644 --- a/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.hxx @@ -21,13 +21,12 @@ #define XMLSCRIPT_XMLBAS_EXPORT_HXX #include <com/sun/star/xml/sax/XDocumentHandler.hpp> -#include <com/sun/star/document/XExporter.hpp> -#include <com/sun/star/document/XFilter.hpp> +#include <com/sun/star/document/XXMLBasicExporter.hpp> #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -#include <cppuhelper/implbase4.hxx> +#include <cppuhelper/implbase3.hxx> #include <osl/mutex.hxx> @@ -40,11 +39,10 @@ namespace xmlscript // class XMLBasicExporterBase // ============================================================================= - typedef ::cppu::WeakImplHelper4< + typedef ::cppu::WeakImplHelper3< ::com::sun::star::lang::XServiceInfo, ::com::sun::star::lang::XInitialization, - ::com::sun::star::document::XExporter, - ::com::sun::star::document::XFilter > XMLBasicExporterBase_BASE; + ::com::sun::star::document::XXMLBasicExporter > XMLBasicExporterBase_BASE; class XMLBasicExporterBase : public XMLBasicExporterBase_BASE { |