summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-27 09:59:28 +0200
committerNoel Grandin <noel@peralex.com>2014-05-27 10:50:04 +0200
commit74ccf05ef627d33ec9becb1c63297968301d705c (patch)
tree45616aefd9fac4737ccb1858e25dea32d3c3dc75 /sd
parent9b6b260bcc236d109546758796519bca0dd02eba (diff)
cid#707135 Uncaught exception
Change-Id: I49d85f11bfe3a7cfdf3fd6cf252473a3f25bebe3
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/unoidl/unoobj.cxx2
-rw-r--r--sd/source/ui/unoidl/unoobj.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx
index 6b3cc2c3bdff..078a8aa668f6 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 )
+void SdXShape::SetStyleSheet( const uno::Any& rAny ) throw( lang::IllegalArgumentException, beans::UnknownPropertyException )
{
SdrObject* pObj = mpShape->GetSdrObject();
if( pObj == NULL )
diff --git a/sd/source/ui/unoidl/unoobj.hxx b/sd/source/ui/unoidl/unoobj.hxx
index 12e10d4b4da9..4f81a12eb58f 100644
--- a/sd/source/ui/unoidl/unoobj.hxx
+++ b/sd/source/ui/unoidl/unoobj.hxx
@@ -47,7 +47,7 @@ private:
const SfxItemPropertyMapEntry* mpMap;
SdXImpressDocument* mpModel;
- void SetStyleSheet( const ::com::sun::star::uno::Any& rAny ) throw( ::com::sun::star::lang::IllegalArgumentException );
+ void SetStyleSheet( const ::com::sun::star::uno::Any& rAny ) throw( ::com::sun::star::lang::IllegalArgumentException, css::beans::UnknownPropertyException );
::com::sun::star::uno::Any GetStyleSheet() const throw( ::com::sun::star::beans::UnknownPropertyException );
// Intern