Kaydet (Commit) 035c6fbe authored tarafından Noel Grandin's avatar Noel Grandin

cid#707134 Uncaught exception

Change-Id: I5f4f71df60defe2a2849b40a4eddeb48bfe3a2c9
üst 74ccf05e
...@@ -1087,7 +1087,7 @@ void SdXShape::SetMasterDepend( bool bDepend ) throw() ...@@ -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(); SdrObject* pObj = mpShape->GetSdrObject();
if( pObj == NULL ) if( pObj == NULL )
......
...@@ -47,7 +47,8 @@ private: ...@@ -47,7 +47,8 @@ private:
const SfxItemPropertyMapEntry* mpMap; const SfxItemPropertyMapEntry* mpMap;
SdXImpressDocument* mpModel; 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 ); ::com::sun::star::uno::Any GetStyleSheet() const throw( ::com::sun::star::beans::UnknownPropertyException );
// Intern // Intern
......
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