From c4d74308c35d17b5f7467e230bd0c841fbcc711c Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sun, 11 Dec 2016 21:03:30 +0100 Subject: [PATCH] uitest: add missing solar mutex guard Change-Id: Ic86e7e75ac8667b32227683c5b48731831203a0f Reviewed-on: https://gerrit.libreoffice.org/31994 Tested-by: Jenkins Reviewed-by: Markus Mohrhard --- vcl/source/uitest/uno/uitest_uno.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/vcl/source/uitest/uno/uitest_uno.cxx b/vcl/source/uitest/uno/uitest_uno.cxx index 83355b3a5894..4840934e8d13 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 SAL_CALL UITestUnoObj::getTopFocusWindow() throw (css::uno::RuntimeException, std::exception) { + SolarMutexGuard aGuard; std::unique_ptr pObj = UITest::getFocusTopWindow(); return new UIObjectUnoObj(std::move(pObj)); }