summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-25 10:02:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-25 10:45:19 +0000
commiteddc4b1046c391157d9672636870f5e8d31ba86f (patch)
treecbd97b1db98137128fcb132a22181e48d026d57f /sc
parentcoverity#737586 Uncaught exception (diff)
downloadcore-eddc4b1046c391157d9672636870f5e8d31ba86f.tar.gz
core-eddc4b1046c391157d9672636870f5e8d31ba86f.zip
coverity#737607 Uncaught exception
Change-Id: Id3334108f0216f19219a7681e2e816f4d07420ea
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/fielduno.hxx11
-rw-r--r--sc/source/ui/unoobj/fielduno.cxx6
2 files changed, 9 insertions, 8 deletions
diff --git a/sc/inc/fielduno.hxx b/sc/inc/fielduno.hxx
index d4d580d0b197..6dd5ad6843af 100644
--- a/sc/inc/fielduno.hxx
+++ b/sc/inc/fielduno.hxx
@@ -276,11 +276,12 @@ public:
throw(::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName,
const ::com::sun::star::uno::Any& aValue )
- throw(::com::sun::star::beans::UnknownPropertyException,
- ::com::sun::star::beans::PropertyVetoException,
- ::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::lang::WrappedTargetException,
- ::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::beans::PropertyVetoException,
+ ::com::sun::star::lang::IllegalArgumentException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::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/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx
index e227a5c6a969..7f8694f81c7e 100644
--- a/sc/source/ui/unoobj/fielduno.cxx
+++ b/sc/source/ui/unoobj/fielduno.cxx
@@ -1314,9 +1314,9 @@ uno::Reference<beans::XPropertySetInfo> SAL_CALL ScEditFieldObj::getPropertySetI
void SAL_CALL ScEditFieldObj::setPropertyValue(
const OUString& aPropertyName, const uno::Any& aValue )
- throw(beans::UnknownPropertyException, beans::PropertyVetoException,
- lang::IllegalArgumentException, lang::WrappedTargetException,
- uno::RuntimeException)
+ throw (beans::UnknownPropertyException, beans::PropertyVetoException,
+ lang::IllegalArgumentException, lang::WrappedTargetException,
+ uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if (aPropertyName == SC_UNONAME_ANCHOR)