summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-25 12:49:15 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-25 14:27:33 +0000
commitf917ada4d7cd7b8e69036dbf10c06b83473dc6c7 (patch)
treecf63786b6bf686aaa2e8f43adc0e662f8f3d2b39 /sw
parent1edbac5f1252cc913167b34ee8daf047ae97e965 (diff)
coverity#738124 Uncaught exception
Change-Id: Ie98b9e22e6d6c75b5f8e13a1df793c99fa6a34df
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/unochart.hxx4
-rw-r--r--sw/source/core/unocore/unochart.cxx2
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)