[Libreoffice-commits] core.git: vcl/source
Ahmed ElShreif (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jul 14 17:55:19 UTC 2020
vcl/source/uitest/uiobject.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit fb6a74e850a402ceaee7c26dce1ffc48c0798ede
Author: Ahmed ElShreif <aelshreif7 at gmail.com>
AuthorDate: Mon Jul 13 05:39:04 2020 +0200
Commit: Ahmed ElShreif <aelshreif7 at gmail.com>
CommitDate: Tue Jul 14 19:54:21 2020 +0200
uitest : extend the ComboBox UIObject
As ComboBox UIObject can be treated as Edit UIObject so this minor change will let us do all Edit UIObject actions on the ComboBox UIObject if needed .
Change-Id: I49dc17aa443e571a8f6aa0b6e1c786601af397a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98615
Tested-by: Jenkins
Reviewed-by: Ahmed ElShreif <aelshreif7 at gmail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx
index 9e58f594b158..4e14224cf139 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -1118,8 +1118,7 @@ void ComboBoxUIObject::execute(const OUString& rAction,
}
mxComboBox->Select();
}
- else if (rAction == "TYPE")
- {
+ else if ( rAction == "TYPE" || rAction == "SET" || rAction == "CLEAR" ){
if (mxComboBox->GetSubEdit())
{
Edit* pEdit = mxComboBox->GetSubEdit();
More information about the Libreoffice-commits
mailing list