[Libreoffice-commits] core.git: Branch 'feature/tiled-editing' - sw/source

Miklos Vajna vmiklos at collabora.co.uk
Wed Jan 21 09:35:17 PST 2015


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

New commits:
commit bce0e8c30eae469e19d830544e9b9cb7819d0c26
Author: Miklos Vajna <vmiklos at 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);
 


More information about the Libreoffice-commits mailing list