summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-03-31 06:10:26 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-18 17:01:53 +0200
commit2a9253d3f5b0eba7b9129f7e64aec1e8867719f6 (patch)
treea98b109bffb7bf797ccfe06e3cb9800f38bce0e3 /vcl
parent0802b4d7babefdce302aeb390637d7d1a728b58b (diff)
uitest: fix bug in the uitesting framework
Change-Id: I2f2b766c315403810f8446231d852345b837d633
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/uitest/uitest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/uitest/uitest.cxx b/vcl/source/uitest/uitest.cxx
index 85711ac3445c..da4f9fe980b9 100644
--- a/vcl/source/uitest/uitest.cxx
+++ b/vcl/source/uitest/uitest.cxx
@@ -31,7 +31,7 @@ std::unique_ptr<UIObject> UITest::getFocusTopWindow()
if (rWinData.mpLastExecuteDlg)
{
- rWinData.mpLastExecuteDlg->GetUITestFactory()(rWinData.mpLastExecuteDlg);
+ return rWinData.mpLastExecuteDlg->GetUITestFactory()(rWinData.mpLastExecuteDlg);
}
return rWinData.mpFirstFrame->GetUITestFactory()(rWinData.mpFirstFrame);