summaryrefslogtreecommitdiff
path: root/writerperfect/source/draw/MSPUBImportFilter.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/source/draw/MSPUBImportFilter.hxx')
-rw-r--r--writerperfect/source/draw/MSPUBImportFilter.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/writerperfect/source/draw/MSPUBImportFilter.hxx b/writerperfect/source/draw/MSPUBImportFilter.hxx
index 8fe58ba5cbc9..d8ed49050964 100644
--- a/writerperfect/source/draw/MSPUBImportFilter.hxx
+++ b/writerperfect/source/draw/MSPUBImportFilter.hxx
@@ -8,16 +8,18 @@
#ifndef _MSPUBIMPORTFILTER_HXX
#define _MSPUBIMPORTFILTER_HXX
-#include "ImportFilterBase.hxx"
+#include "writerperfect/ImportFilter.hxx"
+
+#include "DocumentHandlerForOdg.hxx"
/* This component will be instantiated for both import or export. Whether it calls
* setSourceDocument or setTargetDocument determines which Impl function the filter
* member calls */
-class MSPUBImportFilter : public writerperfect::draw::ImportFilterBase
+class MSPUBImportFilter : public writerperfect::ImportFilter<OdgGenerator>
{
public:
MSPUBImportFilter(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
- : writerperfect::draw::ImportFilterBase(rxContext)
+ : writerperfect::ImportFilter<OdgGenerator>(rxContext)
{
}
@@ -31,7 +33,7 @@ public:
private:
virtual bool doDetectFormat(librevenge::RVNGInputStream &rInput, OUString &rTypeName) SAL_OVERRIDE;
- virtual bool doImportDocument(librevenge::RVNGInputStream &rInput, librevenge::RVNGDrawingInterface &rGenerator, utl::MediaDescriptor &) SAL_OVERRIDE;
+ virtual bool doImportDocument(librevenge::RVNGInputStream &rInput, OdgGenerator &rGenerator, utl::MediaDescriptor &) SAL_OVERRIDE;
};
OUString MSPUBImportFilter_getImplementationName()