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 /framework | |
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 'framework')
-rw-r--r-- | framework/source/uielement/popuptoolbarcontroller.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx index f232abfcb30c..f5b6d5f31695 100644 --- a/framework/source/uielement/popuptoolbarcontroller.cxx +++ b/framework/source/uielement/popuptoolbarcontroller.cxx @@ -162,6 +162,7 @@ void SAL_CALL PopupMenuToolbarController::statusChanged( const css::frame::Featu sal_uInt16 nItemId = 0; if ( getToolboxId( nItemId, &pToolBox ) ) { + SolarMutexGuard aSolarLock; pToolBox->EnableItem( nItemId, rEvent.IsEnabled ); bool bValue; if ( rEvent.State >>= bValue ) |