Kaydet (Commit) c4d74308 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

uitest: add missing solar mutex guard

Change-Id: Ic86e7e75ac8667b32227683c5b48731831203a0f
Reviewed-on: https://gerrit.libreoffice.org/31994Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 74dddd8b
...@@ -70,6 +70,7 @@ void SAL_CALL UITestUnoObj::executeCommand(const OUString& rCommand) ...@@ -70,6 +70,7 @@ void SAL_CALL UITestUnoObj::executeCommand(const OUString& rCommand)
css::uno::Reference<css::ui::test::XUIObject> SAL_CALL UITestUnoObj::getTopFocusWindow() css::uno::Reference<css::ui::test::XUIObject> SAL_CALL UITestUnoObj::getTopFocusWindow()
throw (css::uno::RuntimeException, std::exception) throw (css::uno::RuntimeException, std::exception)
{ {
SolarMutexGuard aGuard;
std::unique_ptr<UIObject> pObj = UITest::getFocusTopWindow(); std::unique_ptr<UIObject> pObj = UITest::getFocusTopWindow();
return new UIObjectUnoObj(std::move(pObj)); return new UIObjectUnoObj(std::move(pObj));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment