summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-27 12:31:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-27 14:38:35 +0000
commitc17d9288a8631f7cbe16134e7ccd1bfc8776b014 (patch)
tree4bbe7f1d5c09bd0474463450d14a43144ec2c4e9
parent08b39627dfd1ce9732643e9a5b2187e40f6212fc (diff)
coverity#1158324 Uncaught exception
Change-Id: Ia7ae803ebe1a0052de41c94a0015eaa079bdd090
-rw-r--r--sc/inc/docuno.hxx3
-rw-r--r--sc/source/ui/unoobj/docuno.cxx4
2 files changed, 4 insertions, 3 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx
index da23e4e1b868..2d0c3624d03e 100644
--- a/sc/inc/docuno.hxx
+++ b/sc/inc/docuno.hxx
@@ -670,7 +670,8 @@ public:
const OUString& PropertyName )
throw(::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::lang::WrappedTargetException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName,
const ::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertyChangeListener >& xListener )
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 088a7a9b6e4a..bafc71e9631a 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -3397,8 +3397,8 @@ void SAL_CALL ScTableRowsObj::setPropertyValue(
}
uno::Any SAL_CALL ScTableRowsObj::getPropertyValue( const OUString& aPropertyName )
- throw(beans::UnknownPropertyException, lang::WrappedTargetException,
- uno::RuntimeException)
+ throw(beans::UnknownPropertyException, lang::WrappedTargetException,
+ uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if (!pDocShell)