summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-03-28 18:27:00 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-18 17:01:39 +0200
commit6d8076122e39335200017cc16bd92fdd8667460e (patch)
tree2bdc255f811ab94a536bf3bfc54ebcf75c2139a4 /vcl
parentc7eb0ea3810261579f2db2fc116e6a970659268b (diff)
uitest: provide a few more properties for list boxes
Change-Id: I3d4af79a97daacb3d431a4018c88c0eb943e4723
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 a130f17c491a..3082443e5300 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -459,6 +459,8 @@ StringMap ListBoxUIObject::get_state()
StringMap aMap = WindowUIObject::get_state();
aMap["ReadOnly"] = OUString::boolean(mxListBox->IsReadOnly());
aMap["MultiSelect"] = OUString::boolean(mxListBox->IsMultiSelectionEnabled());
+ aMap["EntryCount"] = OUString::number(mxListBox->GetEntryCount());
+ aMap["SelectEntryCount"] = OUString::number(mxListBox->GetSelectEntryCount());
return aMap;
}