diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 12:37:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 14:27:32 +0000 |
commit | 9c83424521c2f5eeec5c3d9b4e2507ab1175b830 (patch) | |
tree | ea28b32b8d4a0c34c19cc2e91546d87943bba1c0 | |
parent | 57fef256dc4ed88785c95e87374e115af7f9e8dc (diff) |
coverity#738120 Uncaught exception
Change-Id: I22973934173a8dddf02712f64d6381ce3c04ae28
-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 815af0c99c1e..9ee0f78ae2e4 100644 --- a/sw/inc/unochart.hxx +++ b/sw/inc/unochart.hxx @@ -161,7 +161,10 @@ class SwChartDataProvider : throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception); - ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDataSequence > SAL_CALL Impl_createDataSequenceByRangeRepresentation( const OUString& aRangeRepresentation, sal_Bool bTestOnly = sal_False ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDataSequence > SAL_CALL Impl_createDataSequenceByRangeRepresentation( const OUString& aRangeRepresentation, sal_Bool bTestOnly = sal_False ) + throw (::com::sun::star::lang::IllegalArgumentException, + ::com::sun::star::uno::RuntimeException, + std::exception); OUString GetBrokenCellRangeForExport( const OUString &rCellRangeRepresentation ); diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index 4a916e354705..1809f3f7edd1 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -1388,7 +1388,8 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SwChartDataProvider::detectArgume uno::Reference< chart2::data::XDataSequence > SwChartDataProvider::Impl_createDataSequenceByRangeRepresentation( const OUString& rRangeRepresentation, sal_Bool bTestOnly ) - throw (lang::IllegalArgumentException, uno::RuntimeException) + throw (lang::IllegalArgumentException, uno::RuntimeException, + std::exception) { if (bDisposed) throw lang::DisposedException(); |