Kaydet (Commit) 19d09504 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: fdo#86843 avoid getting deleted before finishing Broadcast

Change-Id: I19181f9e2fbd5f906e6e5d807b1b2483e7881cf0
üst a719865c
...@@ -164,6 +164,11 @@ void SbxVariable::Broadcast( sal_uIntPtr nHintId ) ...@@ -164,6 +164,11 @@ void SbxVariable::Broadcast( sal_uIntPtr nHintId )
return; return;
} }
} }
//fdo#86843 Add a ref during the following block to guard against
//getting deleted before completing this method
SbxVariableRef aBroadcastGuard(this);
// Avoid further broadcasting // Avoid further broadcasting
SfxBroadcaster* pSave = pCst; SfxBroadcaster* pSave = pCst;
pCst = NULL; pCst = NULL;
......
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