summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-25 15:09:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-25 16:12:17 +0000
commit9fa17abcf6e01d65b6151db9858fa0e25272c63d (patch)
tree9ad71c8267d42e2b515f1d4c58b7ae03b0b1e430 /sw
parente13c43a8aa7402697b0fbf956ce27ce8fd2c78a3 (diff)
coverity#738420 Uncaught exception
Change-Id: I3470c6981463b27ffa9cd9fbc79f96c41a43b847
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/inc/unotxvw.hxx5
-rw-r--r--sw/source/ui/uno/unotxvw.cxx4
2 files changed, 7 insertions, 2 deletions
diff --git a/sw/source/ui/inc/unotxvw.hxx b/sw/source/ui/inc/unotxvw.hxx
index 6d3d053d0c7b..d4310488dcd3 100644
--- a/sw/source/ui/inc/unotxvw.hxx
+++ b/sw/source/ui/inc/unotxvw.hxx
@@ -276,7 +276,10 @@ public:
throw (::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::uno::RuntimeException,
std::exception);
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyState > SAL_CALL getPropertyStates( const ::com::sun::star::uno::Sequence< OUString >& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyState > SAL_CALL getPropertyStates( const ::com::sun::star::uno::Sequence< OUString >& aPropertyName )
+ throw (::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx
index bde63cf2a836..8baf94f6bc17 100644
--- a/sw/source/ui/uno/unotxvw.cxx
+++ b/sw/source/ui/uno/unotxvw.cxx
@@ -1569,7 +1569,9 @@ PropertyState SwXTextViewCursor::getPropertyState( const OUString& rPropertyNam
}
Sequence< PropertyState > SwXTextViewCursor::getPropertyStates(
- const Sequence< OUString >& rPropertyNames ) throw(UnknownPropertyException, RuntimeException)
+ const Sequence< OUString >& rPropertyNames )
+ throw (UnknownPropertyException, RuntimeException,
+ std::exception)
{
SolarMutexGuard aGuard;
Sequence< PropertyState > aRet;