diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-15 14:37:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-15 20:28:34 +0100 |
commit | 7d514150ef7c9a82aa72213ee2973cc8b9b2dbfa (patch) | |
tree | d741777781df429f97146799c2d592b73e2c7bbf /svtools | |
parent | 9a50e8f2bcde95233e4b38707c521ada90fcd6af (diff) |
hold SolarMutex on calling vcl toolbox enable item
Change-Id: I35bbe90fbda6c46c1ad173746171b3ede1b2105c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86850
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/uno/popupwindowcontroller.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svtools/source/uno/popupwindowcontroller.cxx b/svtools/source/uno/popupwindowcontroller.cxx index a2eb9efc7cfb..a60f06daf5ee 100644 --- a/svtools/source/uno/popupwindowcontroller.cxx +++ b/svtools/source/uno/popupwindowcontroller.cxx @@ -202,6 +202,7 @@ void SAL_CALL PopupWindowController::statusChanged( const frame::FeatureStateEve sal_uInt16 nItemId = 0; if ( getToolboxId( nItemId, &pToolBox ) ) { + SolarMutexGuard aSolarLock; pToolBox->CheckItem( nItemId, bValue ); pToolBox->EnableItem( nItemId, rEvent.IsEnabled ); } |