diff options
author | Noel Grandin <noel@peralex.com> | 2013-02-04 10:34:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-02-12 10:14:43 +0200 |
commit | f1204419af34b1d2f0ecaa69ceeb1f8c8a7d87df (patch) | |
tree | af5cc696bc74c2825739b5e639d0bf96259fd4d5 /xmlscript | |
parent | fdo#46808, Adapt animations::SequenceTimeContainer UNO service to new style (diff) | |
download | core-f1204419af34b1d2f0ecaa69ceeb1f8c8a7d87df.tar.gz core-f1204419af34b1d2f0ecaa69ceeb1f8c8a7d87df.zip |
fdo#46808, Adapt document::XMLOasisBasicImporter UNO service to new style
Change-Id: Ic494847cf56c7661474d2a096dccc675780c9ce1
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xmlflat_imexp/xmlbas_import.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx index 61a84c30c52d..5f16ea61204e 100644 --- a/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.hxx @@ -20,15 +20,14 @@ #ifndef XMLSCRIPT_XMLBAS_IMPORT_HXX #define XMLSCRIPT_XMLBAS_IMPORT_HXX -#include <com/sun/star/xml/sax/XDocumentHandler.hpp> -#include <com/sun/star/document/XImporter.hpp> +#include <com/sun/star/document/XXMLOasisBasicImporter.hpp> #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/script/XLibraryContainer2.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/xml/input/XRoot.hpp> #include <cppuhelper/implbase1.hxx> -#include <cppuhelper/implbase3.hxx> +#include <cppuhelper/implbase2.hxx> #include <osl/mutex.hxx> #include <rtl/ustrbuf.hxx> @@ -245,10 +244,9 @@ namespace xmlscript // class XMLBasicImporterBase // ============================================================================= - typedef ::cppu::WeakImplHelper3< + typedef ::cppu::WeakImplHelper2< ::com::sun::star::lang::XServiceInfo, - ::com::sun::star::document::XImporter, - ::com::sun::star::xml::sax::XDocumentHandler > XMLBasicImporterBase_BASE; + ::com::sun::star::document::XXMLOasisBasicImporter > XMLBasicImporterBase_BASE; class XMLBasicImporterBase : public XMLBasicImporterBase_BASE { |