summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-01-21 18:34:21 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-01-26 10:27:43 +0100
commit52246e009758165b7fbe603eb24269d0a0d154c7 (patch)
tree5b156460e953d5c2432d3e8134c0c377a69001f5 /sw
parent3d4c1b9dcebaeefaf70dd9191f0573f050297d11 (diff)
SwXTextDocument::postMouseEvent: missing guard
Change-Id: I1141fe501eddb84a77a7f9f3fdd248a205f2a10c
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index cd4b4bc330fb..e0de39b3564c 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -3175,6 +3175,8 @@ void SwXTextDocument::registerCallback(LibreOfficeKitCallback pCallback, void* p
void SwXTextDocument::postMouseEvent(int nType, int nX, int nY)
{
+ SolarMutexGuard aGuard;
+
SwEditWin& rEditWin = pDocShell->GetView()->GetEditWin();
MouseEvent aEvent(Point(nX, nY), 1, MouseEventModifiers::SIMPLECLICK, MOUSE_LEFT);