Kaydet (Commit) 594a5e20 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1224998 Uncaught exception

Change-Id: I96db9ab47b9494a1d71259e93ad393bd70c39d97
üst a5db1906
...@@ -309,7 +309,7 @@ class Desktop : private cppu::BaseMutex, ...@@ -309,7 +309,7 @@ class Desktop : private cppu::BaseMutex,
virtual sal_Bool SAL_CALL convertFastPropertyValue ( css::uno::Any& aConvertedValue , virtual sal_Bool SAL_CALL convertFastPropertyValue ( css::uno::Any& aConvertedValue ,
css::uno::Any& aOldValue , css::uno::Any& aOldValue ,
sal_Int32 nHandle , sal_Int32 nHandle ,
const css::uno::Any& aValue ) throw( css::lang::IllegalArgumentException ) SAL_OVERRIDE; const css::uno::Any& aValue ) throw( css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle , virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle ,
const css::uno::Any& aValue ) throw( css::uno::Exception, std::exception ) SAL_OVERRIDE; const css::uno::Any& aValue ) throw( css::uno::Exception, std::exception ) SAL_OVERRIDE;
using cppu::OPropertySetHelper::getFastPropertyValue; using cppu::OPropertySetHelper::getFastPropertyValue;
......
...@@ -1316,7 +1316,7 @@ OUString SAL_CALL Desktop::getUntitledPrefix() ...@@ -1316,7 +1316,7 @@ OUString SAL_CALL Desktop::getUntitledPrefix()
sal_Bool SAL_CALL Desktop::convertFastPropertyValue( css::uno::Any& aConvertedValue , sal_Bool SAL_CALL Desktop::convertFastPropertyValue( css::uno::Any& aConvertedValue ,
css::uno::Any& aOldValue , css::uno::Any& aOldValue ,
sal_Int32 nHandle , sal_Int32 nHandle ,
const css::uno::Any& aValue ) throw( css::lang::IllegalArgumentException ) const css::uno::Any& aValue ) throw( css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception )
{ {
/* UNSAFE AREA --------------------------------------------------------------------------------------------- */ /* UNSAFE AREA --------------------------------------------------------------------------------------------- */
// Register transaction and reject wrong calls. // Register transaction and reject wrong calls.
......
...@@ -575,7 +575,8 @@ protected: ...@@ -575,7 +575,8 @@ protected:
::com::sun::star::uno::Any & rOldValue, ::com::sun::star::uno::Any & rOldValue,
sal_Int32 nHandle, sal_Int32 nHandle,
const ::com::sun::star::uno::Any& rValue ) const ::com::sun::star::uno::Any& rValue )
throw (::com::sun::star::lang::IllegalArgumentException) = 0; throw (css::lang::IllegalArgumentException,
css::uno::RuntimeException, std::exception) = 0;
/** The same as setFastProperyValue; nHandle is always valid. /** The same as setFastProperyValue; nHandle is always valid.
The changes must not be broadcasted in this method. The changes must not be broadcasted in this method.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment