summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/pdfiadaptor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/pdfimport/pdfiadaptor.cxx')
-rw-r--r--sdext/source/pdfimport/pdfiadaptor.cxx16
1 files changed, 5 insertions, 11 deletions
diff --git a/sdext/source/pdfimport/pdfiadaptor.cxx b/sdext/source/pdfimport/pdfiadaptor.cxx
index f554f8148b8c..9738d62615bf 100644
--- a/sdext/source/pdfimport/pdfiadaptor.cxx
+++ b/sdext/source/pdfimport/pdfiadaptor.cxx
@@ -56,7 +56,7 @@ PDFIHybridAdaptor::PDFIHybridAdaptor( const uno::Reference< uno::XComponentConte
}
// XFilter
-sal_Bool SAL_CALL PDFIHybridAdaptor::filter( const uno::Sequence< beans::PropertyValue >& rFilterData ) throw( uno::RuntimeException, std::exception )
+sal_Bool SAL_CALL PDFIHybridAdaptor::filter( const uno::Sequence< beans::PropertyValue >& rFilterData )
{
bool bRet = false;
if( m_xModel.is() )
@@ -187,12 +187,12 @@ sal_Bool SAL_CALL PDFIHybridAdaptor::filter( const uno::Sequence< beans::Propert
return bRet;
}
-void SAL_CALL PDFIHybridAdaptor::cancel() throw(std::exception)
+void SAL_CALL PDFIHybridAdaptor::cancel()
{
}
//XImporter
-void SAL_CALL PDFIHybridAdaptor::setTargetDocument( const uno::Reference< lang::XComponent >& xDocument ) throw( lang::IllegalArgumentException, std::exception )
+void SAL_CALL PDFIHybridAdaptor::setTargetDocument( const uno::Reference< lang::XComponent >& xDocument )
{
SAL_INFO("sdext.pdfimport", "PDFIAdaptor::setTargetDocument" );
m_xModel.set( xDocument, uno::UNO_QUERY );
@@ -201,19 +201,16 @@ void SAL_CALL PDFIHybridAdaptor::setTargetDocument( const uno::Reference< lang::
}
OUString PDFIHybridAdaptor::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("org.libreoffice.comp.documents.HybridPDFImport");
}
sal_Bool PDFIHybridAdaptor::supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
css::uno::Sequence<OUString> PDFIHybridAdaptor::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
return css::uno::Sequence<OUString>{"com.sun.star.document.ImportFilter"};
}
@@ -283,7 +280,7 @@ bool PDFIRawAdaptor::odfConvert( const OUString& rURL,
// XImportFilter
sal_Bool SAL_CALL PDFIRawAdaptor::importer( const uno::Sequence< beans::PropertyValue >& rSourceData,
const uno::Reference< xml::sax::XDocumentHandler >& rHdl,
- const uno::Sequence< OUString >& /*rUserData*/ ) throw( uno::RuntimeException, std::exception )
+ const uno::Sequence< OUString >& /*rUserData*/ )
{
// get the InputStream carrying the PDF content
uno::Reference< io::XInputStream > xInput;
@@ -325,7 +322,7 @@ sal_Bool SAL_CALL PDFIRawAdaptor::importer( const uno::Sequence< beans::Property
}
//XImporter
-void SAL_CALL PDFIRawAdaptor::setTargetDocument( const uno::Reference< lang::XComponent >& xDocument ) throw( lang::IllegalArgumentException, std::exception )
+void SAL_CALL PDFIRawAdaptor::setTargetDocument( const uno::Reference< lang::XComponent >& xDocument )
{
SAL_INFO("sdext.pdfimport", "PDFIAdaptor::setTargetDocument" );
m_xModel.set( xDocument, uno::UNO_QUERY );
@@ -334,19 +331,16 @@ void SAL_CALL PDFIRawAdaptor::setTargetDocument( const uno::Reference< lang::XCo
}
OUString PDFIRawAdaptor::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return m_implementationName;
}
sal_Bool PDFIRawAdaptor::supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
css::uno::Sequence<OUString> PDFIRawAdaptor::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
return css::uno::Sequence<OUString>{"com.sun.star.document.ImportFilter"};
}