summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-27 10:01:23 +0200
committerNoel Grandin <noel@peralex.com>2014-05-27 10:50:05 +0200
commit035c6fbe3680a0660d9454c70e017d7375a9cd15 (patch)
tree302c2884122cb1e873c7728628cd83ce07ec2661 /sd
parent74ccf05ef627d33ec9becb1c63297968301d705c (diff)
cid#707134 Uncaught exception
Change-Id: I5f4f71df60defe2a2849b40a4eddeb48bfe3a2c9
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/unoidl/unoobj.cxx2
-rw-r--r--sd/source/ui/unoidl/unoobj.hxx3
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