diff options
-rw-r--r-- | sc/inc/cellsuno.hxx | 12 | ||||
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 21 |
2 files changed, 16 insertions, 17 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index d039d490656c..82c3414c41dd 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -223,7 +223,8 @@ protected: sal_uInt16 nItemWhich, const SfxItemPropertySimpleEntry* pEntry ); virtual void GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, ::com::sun::star::uno::Any& ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::uno::RuntimeException, + std::exception); virtual void SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::lang::IllegalArgumentException, @@ -618,7 +619,8 @@ protected: virtual const SfxItemPropertyMap& GetItemPropertyMap(); virtual void GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, ::com::sun::star::uno::Any& ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::uno::RuntimeException, + std::exception); virtual void SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::lang::IllegalArgumentException, @@ -841,7 +843,8 @@ protected: virtual const SfxItemPropertyMap& GetItemPropertyMap(); virtual void GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, ::com::sun::star::uno::Any& ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::uno::RuntimeException, + std::exception); virtual void SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::lang::IllegalArgumentException, @@ -1304,7 +1307,8 @@ protected: virtual const SfxItemPropertyMap& GetItemPropertyMap(); virtual void GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, ::com::sun::star::uno::Any& ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::uno::RuntimeException, + std::exception); virtual void SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::lang::IllegalArgumentException, diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 7ffb8ca5c681..390af6dd0873 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -2462,9 +2462,8 @@ uno::Any SAL_CALL ScCellRangesBase::getPropertyValue( const OUString& aPropertyN return aAny; } -void ScCellRangesBase::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, - uno::Any& rAny ) - throw(uno::RuntimeException) +void ScCellRangesBase::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, uno::Any& rAny ) + throw(uno::RuntimeException, std::exception) { if ( pEntry ) { @@ -5992,9 +5991,8 @@ void ScCellRangeObj::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEnt ScCellRangesBase::SetOnePropertyValue( pEntry, aValue ); } -void ScCellRangeObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, - uno::Any& rAny ) - throw(uno::RuntimeException) +void ScCellRangeObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, uno::Any& rAny ) + throw(uno::RuntimeException, std::exception) { if ( pEntry ) { @@ -6027,7 +6025,6 @@ void ScCellRangeObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEnt } else ScCellRangesBase::GetOnePropertyValue( pEntry, rAny ); - } } @@ -6738,9 +6735,8 @@ void ScCellObj::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, c } } -void ScCellObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, - uno::Any& rAny ) - throw(uno::RuntimeException) +void ScCellObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, uno::Any& rAny ) + throw(uno::RuntimeException, std::exception) { if ( pEntry ) { @@ -9045,9 +9041,8 @@ void ScTableRowObj::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntr } } -void ScTableRowObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, - uno::Any& rAny ) - throw(uno::RuntimeException) +void ScTableRowObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, uno::Any& rAny ) + throw(uno::RuntimeException, std::exception) { if ( pEntry ) { |