summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-27 12:33:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-27 14:38:35 +0000
commitf8ca1aa514308db08bb6a6173d03ec5c1f0d2b2a (patch)
tree3044b55c2532ea813c19587cc157d329122d1eed /sc
parentb9a2c2e58c1544b81d09a9c4dbe1d21d11c1f5ed (diff)
coverity#1158322 Uncaught exception
Change-Id: I213562d62f0b0e798f88ade4bc654c6d8a6c53fa
Diffstat (limited to 'sc')
-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 952c1f54f53d..56ec90956663 100644
--- a/sc/inc/docuno.hxx
+++ b/sc/inc/docuno.hxx
@@ -575,7 +575,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 4fba8de931d7..c5eeff8b8f86 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -3124,8 +3124,8 @@ void SAL_CALL ScTableColumnsObj::setPropertyValue(
}
uno::Any SAL_CALL ScTableColumnsObj::getPropertyValue( const OUString& aPropertyName )
- throw(beans::UnknownPropertyException, lang::WrappedTargetException,
- uno::RuntimeException)
+ throw(beans::UnknownPropertyException, lang::WrappedTargetException,
+ uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if (!pDocShell)