summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-25 10:01:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-25 10:45:19 +0000
commitab67d08322e70447d7551e4ff345b787b0d48bfe (patch)
tree2b58d5ef1ef0a69dc53a41a75110b3b6ee33d40e /sc
parent52ea009d1289b52fcfa4e2954b11e30078d6455d (diff)
coverity#737586 Uncaught exception
Change-Id: I6d1c286ba780aaafcba5b78a3a1ca40a4f66cadc
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/docuno.hxx3
-rw-r--r--sc/source/ui/unoobj/docuno.cxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx
index 7af64f17c373..925b9a52e277 100644
--- a/sc/inc/docuno.hxx
+++ b/sc/inc/docuno.hxx
@@ -219,7 +219,8 @@ public:
const ::com::sun::star::table::CellAddress& aFormulaPosition,
const ::com::sun::star::table::CellAddress& aVariablePosition,
const OUString& aGoalValue )
- throw(::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
/// XConsolidatable
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XConsolidationDescriptor >
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index de3a24aae4e1..8f7e29541c60 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -1473,7 +1473,8 @@ sheet::GoalResult SAL_CALL ScModelObj::seekGoal(
const table::CellAddress& aFormulaPosition,
const table::CellAddress& aVariablePosition,
const OUString& aGoalValue )
- throw(uno::RuntimeException)
+ throw (uno::RuntimeException,
+ std::exception)
{
SolarMutexGuard aGuard;
sheet::GoalResult aResult;