diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-27 10:01:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-27 10:50:05 +0200 |
commit | 035c6fbe3680a0660d9454c70e017d7375a9cd15 (patch) | |
tree | 302c2884122cb1e873c7728628cd83ce07ec2661 /sd | |
parent | 74ccf05ef627d33ec9becb1c63297968301d705c (diff) |
cid#707134 Uncaught exception
Change-Id: I5f4f71df60defe2a2849b40a4eddeb48bfe3a2c9
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/unoidl/unoobj.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unoobj.hxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx index 078a8aa668f6..2305df246217 100644 --- a/sd/source/ui/unoidl/unoobj.cxx +++ b/sd/source/ui/unoidl/unoobj.cxx @@ -1087,7 +1087,7 @@ void SdXShape::SetMasterDepend( bool bDepend ) throw() } } -void SdXShape::SetStyleSheet( const uno::Any& rAny ) throw( lang::IllegalArgumentException, beans::UnknownPropertyException ) +void SdXShape::SetStyleSheet( const uno::Any& rAny ) throw( lang::IllegalArgumentException, beans::UnknownPropertyException, uno::RuntimeException ) { SdrObject* pObj = mpShape->GetSdrObject(); if( pObj == NULL ) diff --git a/sd/source/ui/unoidl/unoobj.hxx b/sd/source/ui/unoidl/unoobj.hxx index 4f81a12eb58f..ac8353dd961f 100644 --- a/sd/source/ui/unoidl/unoobj.hxx +++ b/sd/source/ui/unoidl/unoobj.hxx @@ -47,7 +47,8 @@ private: const SfxItemPropertyMapEntry* mpMap; SdXImpressDocument* mpModel; - void SetStyleSheet( const ::com::sun::star::uno::Any& rAny ) throw( ::com::sun::star::lang::IllegalArgumentException, css::beans::UnknownPropertyException ); + void SetStyleSheet( const ::com::sun::star::uno::Any& rAny ) + throw( ::com::sun::star::lang::IllegalArgumentException, css::beans::UnknownPropertyException, css::uno::RuntimeException ); ::com::sun::star::uno::Any GetStyleSheet() const throw( ::com::sun::star::beans::UnknownPropertyException ); // Intern |