diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 12:30:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 14:27:31 +0000 |
commit | a287d05f84711a99cb7b98df66ff4a1e38bba09b (patch) | |
tree | ad132a0efcbc21d36923140714bd6698b67aa83a /sw | |
parent | ddcd1507601634710e78ffffd366d8d0fe6ce166 (diff) |
coverity#738116 Uncaught exception
Change-Id: Ie1f6d96bd0dab15a030314be90b16ad68280f05b
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/unochart.hxx | 5 | ||||
-rw-r--r-- | sw/source/core/unocore/unochart.cxx | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx index 753035d33f00..a5ffd143d489 100644 --- a/sw/inc/unochart.hxx +++ b/sw/inc/unochart.hxx @@ -179,7 +179,10 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XRangeSelection > SAL_CALL getRangeSelection( ) throw (::com::sun::star::uno::RuntimeException); // XRangeXMLConversion - virtual OUString SAL_CALL convertRangeToXML( const OUString& aRangeRepresentation ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); + virtual OUString SAL_CALL convertRangeToXML( const OUString& aRangeRepresentation ) + throw (::com::sun::star::lang::IllegalArgumentException, + ::com::sun::star::uno::RuntimeException, + std::exception); virtual OUString SAL_CALL convertRangeFromXML( const OUString& aXMLRange ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); // XComponent diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index fc4df473d5fa..1ea666173148 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -1749,7 +1749,8 @@ void SwChartDataProvider::AddRowCols( // XRangeXMLConversion --------------------------------------------------- OUString SAL_CALL SwChartDataProvider::convertRangeToXML( const OUString& rRangeRepresentation ) - throw ( uno::RuntimeException, lang::IllegalArgumentException ) + throw (uno::RuntimeException, lang::IllegalArgumentException, + std::exception) { SolarMutexGuard aGuard; if (bDisposed) |