summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-27 09:06:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-27 11:14:24 +0000
commit73fe65cf7ced47cb524fdd6a11baa7923c522c4e (patch)
treed69c241279a3b4addf25e92c49aa78d7cd29a4ae /sc
parent7af84e5fd57cd203b9ef4df9f04c94002df326e9 (diff)
coverity#1158341 Uncaught exception
Change-Id: If88cddfb13ea2db24a5c95ea0c367e51b87b75c4
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 0f2c6e6012e2..aba3a9aa6443 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -426,7 +426,8 @@ public:
// XFormulaQuery
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSheetCellRanges > SAL_CALL
queryDependents( sal_Bool bRecursive )
- 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
queryPrecedents( sal_Bool bRecursive )
throw(::com::sun::star::uno::RuntimeException,
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index feb57d633c60..fb1aa4b8cc29 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -3837,7 +3837,7 @@ uno::Reference<sheet::XSheetCellRanges> SAL_CALL ScCellRangesBase::queryPreceden
}
uno::Reference<sheet::XSheetCellRanges> SAL_CALL ScCellRangesBase::queryDependents(
- sal_Bool bRecursive ) throw(uno::RuntimeException)
+ sal_Bool bRecursive ) throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if ( pDocShell )