diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-21 12:59:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-21 13:05:26 +0100 |
commit | 7e35227ee719ba5870903b5b1b06aa0220bb6080 (patch) | |
tree | f9a6e7065391257628c07d79b5f3266d9fd3fb5b | |
parent | 982fbb183e159c90e6aec17c648d7f6bc45c9c20 (diff) |
coverity#1371620 Uncaught exception
Change-Id: I001a977419624267d887c2c603523aa0cf7d0e56
-rw-r--r-- | sw/source/core/inc/unoport.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/unocore/unoredline.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/inc/unoport.hxx b/sw/source/core/inc/unoport.hxx index 32b5e8e87a39..a3398b6872cc 100644 --- a/sw/source/core/inc/unoport.hxx +++ b/sw/source/core/inc/unoport.hxx @@ -295,7 +295,7 @@ public: bool const bIsStart); static css::uno::Any GetPropertyValue( - OUString const& PropertyName, SwRangeRedline const& rRedline) throw(); + OUString const& PropertyName, SwRangeRedline const& rRedline) throw (std::exception); static css::uno::Sequence< css::beans::PropertyValue > CreateRedlineProperties( SwRangeRedline const& rRedline, bool const bIsStart) throw(); diff --git a/sw/source/core/unocore/unoredline.cxx b/sw/source/core/unocore/unoredline.cxx index c6b4fdb24de1..a6120f2a0a7f 100644 --- a/sw/source/core/unocore/unoredline.cxx +++ b/sw/source/core/unocore/unoredline.cxx @@ -276,7 +276,7 @@ uno::Sequence< sal_Int8 > SAL_CALL SwXRedlinePortion::getImplementationId( ) th return css::uno::Sequence<sal_Int8>(); } -uno::Any SwXRedlinePortion::GetPropertyValue( const OUString& rPropertyName, const SwRangeRedline& rRedline ) throw() +uno::Any SwXRedlinePortion::GetPropertyValue( const OUString& rPropertyName, const SwRangeRedline& rRedline ) throw(std::exception) { uno::Any aRet; if(rPropertyName == UNO_NAME_REDLINE_AUTHOR) |