Kaydet (Commit) a04735e0 authored tarafından Radek Doulik's avatar Radek Doulik

fix crash on impress quit, when custom shapes were added during editing

 - reset connection to this unoshape in sdr object so that it doesn't
   try to delete uno shape later when it might be already deleted

Change-Id: I1195bfdaccceb9d7e3e0f0a48aaacb16f7a46ced
üst 3bdd04fc
......@@ -1101,8 +1101,11 @@ void SvxShape::Notify( SfxBroadcaster&, const SfxHint& rHint ) throw()
if( bClearMe )
{
if( !HasSdrObjectOwnership() )
if( !HasSdrObjectOwnership() ) {
if( mpObj.is() )
mpObj->setUnoShape( NULL );
mpObj.reset( NULL );
}
if ( !mpImpl->mbDisposing )
dispose();
}
......
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