diff options
-rw-r--r-- | sw/inc/unochart.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/unocore/unochart.cxx | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx index 400b20110bc3..2e3e9f2c92b3 100644 --- a/sw/inc/unochart.hxx +++ b/sw/inc/unochart.hxx @@ -309,7 +309,9 @@ public: // XDataSequence virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL getData( ) throw (::com::sun::star::uno::RuntimeException); - virtual OUString SAL_CALL getSourceRangeRepresentation( ) throw (::com::sun::star::uno::RuntimeException); + virtual OUString SAL_CALL getSourceRangeRepresentation() + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL generateLabel( ::com::sun::star::chart2::data::LabelOrigin eLabelOrigin ) throw (::com::sun::star::uno::RuntimeException, std::exception); diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index 23ff69bb25e5..c32fdbae8cbe 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -2062,7 +2062,7 @@ uno::Sequence< uno::Any > SAL_CALL SwChartDataSequence::getData( ) } OUString SAL_CALL SwChartDataSequence::getSourceRangeRepresentation( ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; if (bDisposed) |