[Libreoffice-commits] core.git: vcl/source

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Dec 19 18:47:37 UTC 2016


 vcl/source/uitest/uno/uitest_uno.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit c4d74308c35d17b5f7467e230bd0c841fbcc711c
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Dec 11 21:03:30 2016 +0100

    uitest: add missing solar mutex guard
    
    Change-Id: Ic86e7e75ac8667b32227683c5b48731831203a0f
    Reviewed-on: https://gerrit.libreoffice.org/31994
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/vcl/source/uitest/uno/uitest_uno.cxx b/vcl/source/uitest/uno/uitest_uno.cxx
index 83355b3..4840934 100644
--- a/vcl/source/uitest/uno/uitest_uno.cxx
+++ b/vcl/source/uitest/uno/uitest_uno.cxx
@@ -70,6 +70,7 @@ void SAL_CALL UITestUnoObj::executeCommand(const OUString& rCommand)
 css::uno::Reference<css::ui::test::XUIObject> SAL_CALL UITestUnoObj::getTopFocusWindow()
     throw (css::uno::RuntimeException, std::exception)
 {
+    SolarMutexGuard aGuard;
     std::unique_ptr<UIObject> pObj = UITest::getFocusTopWindow();
     return new UIObjectUnoObj(std::move(pObj));
 }


More information about the Libreoffice-commits mailing list