diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-22 21:09:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 08:54:38 +0100 |
commit | c320dc7fe54e423f005147e0573f6f887ced70ea (patch) | |
tree | 976366302df09b9bee9a9cc2763007ffe83a6810 /writerperfect | |
parent | a97cd4dd3bf43847363fe646fb2eb5a34d0d07a0 (diff) |
coverity#1215311 Uncaught exception
Change-Id: Ic000d3a3920dddb8cc8585bb31127d14cfc35eb7
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/writer/WordPerfectImportFilter.cxx | 2 | ||||
-rw-r--r-- | writerperfect/source/writer/WordPerfectImportFilter.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/writerperfect/source/writer/WordPerfectImportFilter.cxx b/writerperfect/source/writer/WordPerfectImportFilter.cxx index ee0aad258bd9..e70eef6ebd86 100644 --- a/writerperfect/source/writer/WordPerfectImportFilter.cxx +++ b/writerperfect/source/writer/WordPerfectImportFilter.cxx @@ -86,7 +86,7 @@ static bool handleEmbeddedWPGImage(const WPXBinaryData &input, WPXBinaryData &ou } bool SAL_CALL WordPerfectImportFilter::importImpl( const Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) -throw (RuntimeException) + throw (RuntimeException, std::exception) { sal_Int32 nLength = aDescriptor.getLength(); const PropertyValue *pValue = aDescriptor.getConstArray(); diff --git a/writerperfect/source/writer/WordPerfectImportFilter.hxx b/writerperfect/source/writer/WordPerfectImportFilter.hxx index 0e9369bb173d..8a1a661d4d92 100644 --- a/writerperfect/source/writer/WordPerfectImportFilter.hxx +++ b/writerperfect/source/writer/WordPerfectImportFilter.hxx @@ -42,7 +42,7 @@ protected: ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > mxHandler; bool SAL_CALL importImpl( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) - throw (::com::sun::star::uno::RuntimeException); + throw (css::uno::RuntimeException, std::exception); public: WordPerfectImportFilter( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext ) |