diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/uitest/uitest.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/source/uitest/uitest.cxx b/vcl/source/uitest/uitest.cxx index 46457ebcc6f1..45383887d4a4 100644 --- a/vcl/source/uitest/uitest.cxx +++ b/vcl/source/uitest/uitest.cxx @@ -18,10 +18,12 @@ void UITest::executeCommand(const OUString& rCommand) { - comphelper::dispatchCommand( + bool bSuccess = comphelper::dispatchCommand( rCommand, {{"SynchronMode", -1, css::uno::Any(false), css::beans::PropertyState_DIRECT_VALUE}}); + + SAL_WARN_IF(!bSuccess, "uitest", "failed to execute command: " << rCommand); } std::unique_ptr<UIObject> UITest::getFocusTopWindow() |