diff options
Diffstat (limited to 'filter/source/pdf/pdfinteract.cxx')
-rw-r--r-- | filter/source/pdf/pdfinteract.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/filter/source/pdf/pdfinteract.cxx b/filter/source/pdf/pdfinteract.cxx index 28c69e7437a2..febc5df6faf9 100644 --- a/filter/source/pdf/pdfinteract.cxx +++ b/filter/source/pdf/pdfinteract.cxx @@ -37,14 +37,12 @@ PDFInteractionHandler::~PDFInteractionHandler() void SAL_CALL PDFInteractionHandler::handle( const Reference< task::XInteractionRequest >& i_xRequest ) - throw (RuntimeException, std::exception) { handleInteractionRequest( i_xRequest ); } sal_Bool SAL_CALL PDFInteractionHandler::handleInteractionRequest( const Reference< task::XInteractionRequest >& i_xRequest ) - throw (RuntimeException, std::exception) { bool bHandled = false; @@ -65,40 +63,37 @@ sal_Bool SAL_CALL PDFInteractionHandler::handleInteractionRequest( const Referen OUString PDFInteractionHandler_getImplementationName () - throw (RuntimeException) { return OUString ( "com.sun.star.comp.PDF.PDFExportInteractionHandler" ); } -Sequence< OUString > SAL_CALL PDFInteractionHandler_getSupportedServiceNames( ) throw (RuntimeException) +Sequence< OUString > SAL_CALL PDFInteractionHandler_getSupportedServiceNames( ) { Sequence<OUString> aRet { "com.sun.star.filter.pdfexport.PDFExportInteractionHandler" }; return aRet; } -Reference< XInterface > SAL_CALL PDFInteractionHandler_createInstance( const Reference< XMultiServiceFactory > & ) throw( Exception ) +Reference< XInterface > SAL_CALL PDFInteractionHandler_createInstance( const Reference< XMultiServiceFactory > & ) { return static_cast<cppu::OWeakObject*>(new PDFInteractionHandler); } OUString SAL_CALL PDFInteractionHandler::getImplementationName() - throw (RuntimeException, std::exception) { return PDFInteractionHandler_getImplementationName(); } sal_Bool SAL_CALL PDFInteractionHandler::supportsService( const OUString& rServiceName ) - throw (RuntimeException, std::exception) { return cppu::supportsService( this, rServiceName ); } -css::uno::Sequence< OUString > SAL_CALL PDFInteractionHandler::getSupportedServiceNames( ) throw (RuntimeException, std::exception) +css::uno::Sequence< OUString > SAL_CALL PDFInteractionHandler::getSupportedServiceNames( ) { return PDFInteractionHandler_getSupportedServiceNames(); } |