summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-27 12:34:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-27 14:38:36 +0000
commit75d22a5d1f5fc587cd27ff715680d273449043ef (patch)
treedccb515594ca9313e1473ead40c331d6e6e2db92 /sc
parentf8ca1aa514308db08bb6a6173d03ec5c1f0d2b2a (diff)
coverity#1158321 Uncaught exception
Change-Id: Ib3ef8f068cd8a366369cbb22dccc9c916439c2cd
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/shapeuno.hxx3
-rw-r--r--sc/source/ui/unoobj/shapeuno.cxx9
2 files changed, 6 insertions, 6 deletions
diff --git a/sc/inc/shapeuno.hxx b/sc/inc/shapeuno.hxx
index 07618ca77748..791699025c3b 100644
--- a/sc/inc/shapeuno.hxx
+++ b/sc/inc/shapeuno.hxx
@@ -108,7 +108,8 @@ public:
::com::sun::star::beans::PropertyVetoException,
::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::lang::WrappedTargetException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(
const OUString& PropertyName )
throw(::com::sun::star::beans::UnknownPropertyException,
diff --git a/sc/source/ui/unoobj/shapeuno.cxx b/sc/source/ui/unoobj/shapeuno.cxx
index 10d31104df89..6d7d942abe9c 100644
--- a/sc/source/ui/unoobj/shapeuno.cxx
+++ b/sc/source/ui/unoobj/shapeuno.cxx
@@ -333,11 +333,10 @@ static awt::Point lcl_GetRelativePos( uno::Reference< drawing::XShape >& xShape,
return aUnoPoint;
}
-void SAL_CALL ScShapeObj::setPropertyValue(
- const OUString& aPropertyName, const uno::Any& aValue )
- throw(beans::UnknownPropertyException, beans::PropertyVetoException,
- lang::IllegalArgumentException, lang::WrappedTargetException,
- uno::RuntimeException)
+void SAL_CALL ScShapeObj::setPropertyValue(const OUString& aPropertyName, const uno::Any& aValue)
+ throw(beans::UnknownPropertyException, beans::PropertyVetoException,
+ lang::IllegalArgumentException, lang::WrappedTargetException,
+ uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
OUString aNameString(aPropertyName);