diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /lotuswordpro/source/filter/LotusWordProImportFilter.cxx | |
parent | Fixup whitespace changes, remove commented code. (diff) | |
download | core-5e21a413c788f839a66d9e4c14e745ed18058db8.tar.gz core-5e21a413c788f839a66d9e4c14e745ed18058db8.zip |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'lotuswordpro/source/filter/LotusWordProImportFilter.cxx')
-rw-r--r-- | lotuswordpro/source/filter/LotusWordProImportFilter.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lotuswordpro/source/filter/LotusWordProImportFilter.cxx b/lotuswordpro/source/filter/LotusWordProImportFilter.cxx index 72697f9dabdd..5e028d2f0803 100644 --- a/lotuswordpro/source/filter/LotusWordProImportFilter.cxx +++ b/lotuswordpro/source/filter/LotusWordProImportFilter.cxx @@ -261,18 +261,18 @@ sal_Bool SAL_CALL LotusWordProImportFilter::importImpl( const Sequence< ::com::s } sal_Bool SAL_CALL LotusWordProImportFilter::filter( const Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { return importImpl ( aDescriptor ); } void SAL_CALL LotusWordProImportFilter::cancel( ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { } // XImporter void SAL_CALL LotusWordProImportFilter::setTargetDocument( const uno::Reference< ::com::sun::star::lang::XComponent >& xDoc ) - throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException) + throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::exception) { meType = FILTER_IMPORT; mxDoc = xDoc; @@ -280,7 +280,7 @@ void SAL_CALL LotusWordProImportFilter::setTargetDocument( const uno::Reference< // XExtendedFilterDetection OUString SAL_CALL LotusWordProImportFilter::detect( com::sun::star::uno::Sequence< PropertyValue >& Descriptor ) - throw( com::sun::star::uno::RuntimeException ) + throw( com::sun::star::uno::RuntimeException, std::exception ) { OUString sTypeName( "writer_LotusWordPro_Document" ); @@ -326,7 +326,7 @@ OUString SAL_CALL LotusWordProImportFilter::detect( com::sun::star::uno::Sequenc // XInitialization void SAL_CALL LotusWordProImportFilter::initialize( const Sequence< Any >& aArguments ) - throw (Exception, RuntimeException) + throw (Exception, RuntimeException, std::exception) { Sequence < PropertyValue > aAnySeq; sal_Int32 nLength = aArguments.getLength(); @@ -375,17 +375,17 @@ uno::Reference< XInterface > SAL_CALL LotusWordProImportFilter_createInstance( c // XServiceInfo OUString SAL_CALL LotusWordProImportFilter::getImplementationName( ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { return LotusWordProImportFilter_getImplementationName(); } sal_Bool SAL_CALL LotusWordProImportFilter::supportsService( const OUString& rServiceName ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { return cppu::supportsService(this, rServiceName); } Sequence< OUString > SAL_CALL LotusWordProImportFilter::getSupportedServiceNames( ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { return LotusWordProImportFilter_getSupportedServiceNames(); } |