summaryrefslogtreecommitdiff
path: root/vcl/source/uitest/uiobject.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/uitest/uiobject.cxx')
-rw-r--r--vcl/source/uitest/uiobject.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx
index 40b1f0bb9246..7b09da585859 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -825,7 +825,7 @@ StringMap ListBoxUIObject::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());
+ aMap["SelectEntryCount"] = OUString::number(mxListBox->GetSelectedEntryCount());
aMap["SelectEntryPos"] = OUString::number(mxListBox->GetSelectedEntryPos());
aMap["SelectEntryText"] = mxListBox->GetSelectedEntry();