summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpfilter.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-13 00:57:03 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-13 05:26:04 +0200
commite834206767b33d5fadc8100ada95c1f383d8363c (patch)
treedb5ae198474f34f6f432baca98ab2ef5c8483e19 /lotuswordpro/source/filter/lwpfilter.cxx
parentSAL_INT64_IS_STRUCT is never defined (diff)
downloadcore-e834206767b33d5fadc8100ada95c1f383d8363c.tar.gz
core-e834206767b33d5fadc8100ada95c1f383d8363c.zip
unusedcode.easy: remove LWPFilterReader::LWPFilterReader()
Change-Id: Iefbf36d2ce0f98c61a0d9f5d04b77a3505980e80
Diffstat (limited to 'lotuswordpro/source/filter/lwpfilter.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpfilter.cxx34
1 files changed, 0 insertions, 34 deletions
diff --git a/lotuswordpro/source/filter/lwpfilter.cxx b/lotuswordpro/source/filter/lwpfilter.cxx
index 010ac9fa73fc..30ca558c1671 100644
--- a/lotuswordpro/source/filter/lwpfilter.cxx
+++ b/lotuswordpro/source/filter/lwpfilter.cxx
@@ -59,12 +59,9 @@
************************************************************************/
#include "lwpfilter.hxx"
#include "lwpresource.hxx"
-//for sax stream
#include "xfilter/xfsaxstream.hxx"
-//for file parser
#include "lwp9reader.hxx"
#include "lwpsvstream.hxx"
-//for container reset
#include "xfilter/xffontfactory.hxx"
#include "xfilter/xfstylemanager.hxx"
@@ -80,7 +77,6 @@
#include <cppuhelper/supportsservice.hxx>
-#include <tools/stream.hxx>
#include <sfx2/docfile.hxx>
#include <boost/scoped_ptr.hpp>
@@ -97,36 +93,6 @@ using namespace ::com::sun::star::xml::sax;
using namespace ::com::sun::star;
using ::com::sun::star::uno::Sequence;
-LWPFilterReader::LWPFilterReader()
-{
-}
-
-LWPFilterReader::~LWPFilterReader()
-{
-}
-
-sal_Bool LWPFilterReader::filter( const Sequence< PropertyValue >& aDescriptor )
- throw( RuntimeException, std::exception )
-{
- OUString sURL;
- for( sal_Int32 i = 0; i < aDescriptor.getLength(); i++ )
- {
- //Note we should attempt to use "InputStream" if it exists first!
- if ( aDescriptor[i].Name == "URL" )
- aDescriptor[i].Value >>= sURL;
- }
-
- SvFileStream inputStream( sURL, STREAM_READ );
- if ( inputStream.IsEof() || ( inputStream.GetError() != SVSTREAM_OK ) )
- return sal_False;
-
- return (ReadWordproFile(inputStream, m_DocumentHandler) == 0);
-}
-
-void LWPFilterReader::cancel() throw (com::sun::star::uno::RuntimeException, std::exception)
-{
-}
-
/**
* @descr decompressed small file
* @param pCompressed - real file stream