sw/source/uibase/uno/unotxdoc.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit bce0e8c30eae469e19d830544e9b9cb7819d0c26
Author: Miklos Vajna <vmik...@collabora.co.uk>
Date:   Wed Jan 21 18:34:21 2015 +0100

    SwXTextDocument::postMouseEvent: missing guard
    
    Change-Id: I1141fe501eddb84a77a7f9f3fdd248a205f2a10c

diff --git a/sw/source/uibase/uno/unotxdoc.cxx 
b/sw/source/uibase/uno/unotxdoc.cxx
index 95233e1..d1be7ea 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);
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to