summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-07-29 12:42:45 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-07-29 15:27:46 +0200
commit5e505896a5109bbf4939019ab217e80885288bbf (patch)
treec13eb9f7a41939f65e99f250f7c779ea0f52b981
parentdbf5cf4a7e12f1d98de71dc14bc5b0ac65a9b038 (diff)
Basic: make sure a messagebox has solarmutex
Change-Id: Icc5f05456e4031ffbc88d6128689465f08eb5f0d
-rw-r--r--basic/source/runtime/methods.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 1ee75dc58f80..3ae89cb80f7c 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -4455,6 +4455,9 @@ RTLFUNC(MsgBox)
nType &= (16+32+64);
MessBox* pBox = 0;
+
+ SolarMutexGuard aSolarGuard;
+
Window* pParent = GetpApp()->GetDefDialogParent();
switch( nType )
{