summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport
diff options
context:
space:
mode:
authorKate Goss <katherine.goss@gmail.com>2012-02-11 16:56:17 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-02-13 15:20:42 +0000
commit4001370ba5900dd0a0ec04c62f5aeb347bde025a (patch)
tree4d83fc33af2a738ac2b9d46f39abeea0b4313de1 /sdext/source/pdfimport
parentc424b5dc32bd9313d725f3689696ff63847cf487 (diff)
Remove unused pdfi::PDFIRawAdaptor::odfConvert
Diffstat (limited to 'sdext/source/pdfimport')
-rw-r--r--sdext/source/pdfimport/pdfiadaptor.cxx16
-rw-r--r--sdext/source/pdfimport/pdfiadaptor.hxx3
2 files changed, 0 insertions, 19 deletions
diff --git a/sdext/source/pdfimport/pdfiadaptor.cxx b/sdext/source/pdfimport/pdfiadaptor.cxx
index 1fc25d85932b..1d1a3ad03087 100644
--- a/sdext/source/pdfimport/pdfiadaptor.cxx
+++ b/sdext/source/pdfimport/pdfiadaptor.cxx
@@ -260,22 +260,6 @@ bool PDFIRawAdaptor::parse( const uno::Reference<io::XInputStream>& xInput
return bSuccess;
}
-bool PDFIRawAdaptor::odfConvert( const rtl::OUString& rURL,
- const uno::Reference<io::XOutputStream>& xOutput,
- const uno::Reference<task::XStatusIndicator>& xStatus )
-{
- XmlEmitterSharedPtr pEmitter = createOdfEmitter(xOutput);
- const bool bSuccess = parse(uno::Reference<io::XInputStream>(),
- uno::Reference<task::XInteractionHandler>(),
- rtl::OUString(),
- xStatus,pEmitter,rURL);
-
- // tell input stream that it is no longer needed
- xOutput->closeOutput();
-
- return bSuccess;
-}
-
// XImportFilter
sal_Bool SAL_CALL PDFIRawAdaptor::importer( const uno::Sequence< beans::PropertyValue >& rSourceData,
const uno::Reference< xml::sax::XDocumentHandler >& rHdl,
diff --git a/sdext/source/pdfimport/pdfiadaptor.hxx b/sdext/source/pdfimport/pdfiadaptor.hxx
index d9d6d71356f7..d2b2943681f0 100644
--- a/sdext/source/pdfimport/pdfiadaptor.hxx
+++ b/sdext/source/pdfimport/pdfiadaptor.hxx
@@ -121,9 +121,6 @@ namespace pdfi
@param xStatus
Optional status indicator
*/
- bool odfConvert( const rtl::OUString& rURL,
- const com::sun::star::uno::Reference<com::sun::star::io::XOutputStream>& xOutput,
- const com::sun::star::uno::Reference<com::sun::star::task::XStatusIndicator>& xStatus );
// XImportFilter
virtual sal_Bool SAL_CALL importer( const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& rSourceData,