summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-27 09:08:35 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-27 11:14:25 +0000
commit667bb9c5f8c80862ced74b95517bc95d18f2adf6 (patch)
treecd247ed68cdba2c5d837cc26b6db6f5e2da6b1e7 /sc
parenta4bb234dae6ffdbcca36611a2b7b661345ece528 (diff)
coverity#1158339 Uncaught exception
Change-Id: If25f58b45ce6f312eb53cb4ef48b41bf8dcae381
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/cellsuno.hxx3
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index c51e39d7e1ec..5fb16f218f03 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -418,7 +418,8 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSheetCellRanges > SAL_CALL
queryRowDifferences(
const ::com::sun::star::table::CellAddress& aCompare )
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSheetCellRanges > SAL_CALL
queryIntersection(
const ::com::sun::star::table::CellRangeAddress& aRange )
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 1f97550efb5d..96fcfec56d51 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -3756,7 +3756,7 @@ uno::Reference<sheet::XSheetCellRanges > SAL_CALL ScCellRangesBase::queryColumnD
}
uno::Reference<sheet::XSheetCellRanges> SAL_CALL ScCellRangesBase::queryRowDifferences(
- const table::CellAddress& aCompare ) throw(uno::RuntimeException)
+ const table::CellAddress& aCompare ) throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
return QueryDifferences_Impl( aCompare, false );