summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpfilter.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /lotuswordpro/source/filter/lwpfilter.hxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'lotuswordpro/source/filter/lwpfilter.hxx')
-rw-r--r--lotuswordpro/source/filter/lwpfilter.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/lotuswordpro/source/filter/lwpfilter.hxx b/lotuswordpro/source/filter/lwpfilter.hxx
index de61d961615f..cbd904c3d251 100644
--- a/lotuswordpro/source/filter/lwpfilter.hxx
+++ b/lotuswordpro/source/filter/lwpfilter.hxx
@@ -104,12 +104,12 @@ public:
* get which file to import.
*/
virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& aDescriptor )
- throw( RuntimeException );
+ throw( RuntimeException, std::exception );
/**
* @descr stop loading the file.
*/
- virtual void SAL_CALL cancel() throw (com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL cancel() throw (com::sun::star::uno::RuntimeException, std::exception);
/**
* @descr get the XDocumentHandler interface.
@@ -139,29 +139,29 @@ public:
* @descr see LWPFilterReader::filter.
*/
virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& aDescriptor )
- throw( RuntimeException );
+ throw( RuntimeException, std::exception );
/**
* @descr see LWPFilterReader::cancel.
*/
- virtual void SAL_CALL cancel() throw (com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL cancel() throw (com::sun::star::uno::RuntimeException, std::exception);
// XImporter
virtual void SAL_CALL setTargetDocument( const uno::Reference< XComponent >& xDoc)
- throw( IllegalArgumentException, RuntimeException );
+ throw( IllegalArgumentException, RuntimeException, std::exception );
// XServiceInfo
- OUString SAL_CALL getImplementationName() throw ();
+ OUString SAL_CALL getImplementationName() throw (std::exception);
- Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw ();
+ Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw (std::exception);
- sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw ();
+ sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (std::exception);
/**
* @descr function of interface XExtendedFilterDetection. If this interface is registered, it will be called whenever
* a file is to be loaded.
*/
- virtual OUString SAL_CALL detect( ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& Descriptor ) throw (::com::sun::star::uno::RuntimeException);
+ virtual OUString SAL_CALL detect( ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& Descriptor ) throw (::com::sun::star::uno::RuntimeException, std::exception);
public:
uno::Reference< XFilter > rFilter;