summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-07-17 00:53:17 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-07-17 00:53:17 +0200
commit72dd364fa9fca9b8668878517df8489f1fb1f8ba (patch)
treeaba8b7d90fd0cca7474bc97e006bd93fe59d4af3 /vcl
parent07403d67e43da90563a6a8dc4817f1e90feefa59 (diff)
uitest: add 2 more properties for listboxes
Change-Id: Id8fb7973f868c12f920051ef3719ed0ff0712828
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/uitest/uiobject.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx
index c7c60350c5c9..7ded8dc8765b 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -722,6 +722,8 @@ StringMap ListBoxUIObject::get_state()
aMap["MultiSelect"] = OUString::boolean(mxListBox->IsMultiSelectionEnabled());
aMap["EntryCount"] = OUString::number(mxListBox->GetEntryCount());
aMap["SelectEntryCount"] = OUString::number(mxListBox->GetSelectEntryCount());
+ aMap["SelectEntryPos"] = OUString::number(mxListBox->GetSelectEntryPos());
+ aMap["SelectEntryText"] = mxListBox->GetSelectEntry();
return aMap;
}