diff options
-rw-r--r-- | basic/source/sbx/sbxvar.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx index c0de91f74e40..88997cc91bac 100644 --- a/basic/source/sbx/sbxvar.cxx +++ b/basic/source/sbx/sbxvar.cxx @@ -166,6 +166,11 @@ void SbxVariable::Broadcast( sal_uIntPtr nHintId ) 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 SfxBroadcaster* pSave = pCst; pCst = NULL; |