diff options
author | Ahmed ElShreif <aelshreif7@gmail.com> | 2020-07-13 05:39:04 +0200 |
---|---|---|
committer | Ahmed ElShreif <aelshreif7@gmail.com> | 2020-07-14 19:54:21 +0200 |
commit | fb6a74e850a402ceaee7c26dce1ffc48c0798ede (patch) | |
tree | 7521f44e70d42a6164c7b0b2a199734b9176ded8 | |
parent | dede9ec2890f8fe014a2d0fdd84fffd414ce23b6 (diff) |
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@gmail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r-- | vcl/source/uitest/uiobject.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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(); |