summaryrefslogtreecommitdiffstats
path: root/hwpfilter/source/hwpreader.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/hwpreader.hxx')
-rw-r--r--hwpfilter/source/hwpreader.hxx33
1 files changed, 0 insertions, 33 deletions
diff --git a/hwpfilter/source/hwpreader.hxx b/hwpfilter/source/hwpreader.hxx
index ef8d767e9ec4..8d5a9f0dfef6 100644
--- a/hwpfilter/source/hwpreader.hxx
+++ b/hwpfilter/source/hwpreader.hxx
@@ -84,44 +84,11 @@ using namespace ::com::sun::star::document;
#include "drawdef.h"
#include "attributes.hxx"
-
#define IMPLEMENTATION_NAME "com.sun.comp.hwpimport.HwpImportFilter"
#define SERVICE_NAME1 "com.sun.star.document.ImportFilter"
#define SERVICE_NAME2 "com.sun.star.document.ExtendedTypeDetection"
#define WRITER_IMPORTER_NAME "com.sun.star.comp.Writer.XMLImporter"
-class MyDataSink : public ::cppu::WeakImplHelper2< XActiveDataControl, XActiveDataSink >
-{
- Reference < XInputStream > m_xInputStream;
-public:
-
- // XActiveDataControl.
- virtual void SAL_CALL addListener ( const Reference<XStreamListener> &)
- throw(RuntimeException) {}
- virtual void SAL_CALL removeListener ( const Reference<XStreamListener> &)
- throw(RuntimeException) {}
- virtual void SAL_CALL start (void) throw(RuntimeException) {}
- virtual void SAL_CALL terminate (void) throw(RuntimeException) {}
-
- // XActiveDataSink.
- virtual void SAL_CALL setInputStream ( const Reference<XInputStream> &rxInputStream)
- throw(RuntimeException);
- virtual Reference<XInputStream> SAL_CALL getInputStream (void)
- throw(RuntimeException);
-};
-
-void SAL_CALL MyDataSink::setInputStream ( const Reference<XInputStream> &rxInputStream)
- throw(RuntimeException )
-{
- m_xInputStream = rxInputStream;
-}
-
-Reference < XInputStream > SAL_CALL MyDataSink::getInputStream (void)
- throw(RuntimeException)
-{
- return m_xInputStream;
-}
-
struct HwpReaderPrivate;
/**
* This class implements the external Parser interface