summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2016-01-28 21:30:06 +0200
committerCaolán McNamara <caolanm@redhat.com>2016-02-02 14:31:59 +0000
commitd6c4c28f75c755df1e1fa7df67eeadba78d66785 (patch)
tree95a526276d83914fd528c015862a77a5a57085b0
parent19d4cf5dcb45c1b8722f218f85dcd08530539804 (diff)
tdf#97419 Need to take SolarMutex here
Change-Id: I97886c8dbd7b56d155ad9598ca127df0c7420d2c (cherry picked from commit 49e1a1a4f5591faaca61559e6492909faf1bc94d) Reviewed-on: https://gerrit.libreoffice.org/22034 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--framework/source/uielement/popuptoolbarcontroller.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx
index 6b9c5526e22f..ace688478974 100644
--- a/framework/source/uielement/popuptoolbarcontroller.cxx
+++ b/framework/source/uielement/popuptoolbarcontroller.cxx
@@ -402,6 +402,7 @@ void SaveToolbarController::functionSelected( const OUString& /*aCommand*/ )
void SaveToolbarController::updateImage()
throw ( css::uno::RuntimeException, std::exception )
{
+ SolarMutexGuard aGuard;
ToolBox* pToolBox = nullptr;
sal_uInt16 nId = 0;
if ( !getToolboxId( nId, &pToolBox ) )