summaryrefslogtreecommitdiff
path: root/vcl/source/uitest/uno
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-11 21:03:30 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-19 18:47:02 +0000
commitc4d74308c35d17b5f7467e230bd0c841fbcc711c (patch)
treeafe9d60c67babd1e009d909ea6e852f808ea5172 /vcl/source/uitest/uno
parent74dddd8b483d89dc7915471441cc30a1aa342363 (diff)
uitest: add missing solar mutex guard
Change-Id: Ic86e7e75ac8667b32227683c5b48731831203a0f Reviewed-on: https://gerrit.libreoffice.org/31994 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'vcl/source/uitest/uno')
-rw-r--r--vcl/source/uitest/uno/uitest_uno.cxx1
1 files changed, 1 insertions, 0 deletions
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<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));
}