summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-27 09:19:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-27 11:14:29 +0000
commit46fdb171095e399ca27b2c680fa738c6025252ac (patch)
tree6e86f5caf1c9e9daa4bde1bab12a07fb2b3c8dc5
parentcf218a8dc15d570a702d0a9a9183d23424b6d02a (diff)
coverity#1158331 Uncaught exception
Change-Id: I554d454c29d72abeb36139979acf96f44c8b9e74
-rw-r--r--sc/inc/chart2uno.hxx4
-rw-r--r--sc/source/ui/unoobj/chart2uno.cxx2
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/chart2uno.hxx b/sc/inc/chart2uno.hxx
index 54739d521ef4..9af4f93155b2 100644
--- a/sc/inc/chart2uno.hxx
+++ b/sc/inc/chart2uno.hxx
@@ -251,7 +251,9 @@ public:
// XDataSequence
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >
- SAL_CALL getData() throw (::com::sun::star::uno::RuntimeException);
+ SAL_CALL getData()
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual OUString SAL_CALL getSourceRangeRepresentation()
throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Sequence< OUString >
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx
index 8f4e6ca10b12..90ad4e00dffa 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -2993,7 +2993,7 @@ const boost::unordered_set<sal_uInt16>& ScChart2DataSequence::ExternalRefListene
// ----------------------------------------------------------------------------
uno::Sequence< uno::Any> SAL_CALL ScChart2DataSequence::getData()
- throw ( uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if ( !m_pDocument)