summaryrefslogtreecommitdiff
path: root/vcl/source/uitest
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-09-14 16:57:06 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-09-21 12:45:38 +0200
commitd99b65c864cc3358238e4eac651f12a34d05e2d9 (patch)
treefcd7d6fefb9434c27533c826aabc639f68ba97ed /vcl/source/uitest
parentb649e5bf1d3f0a11fb0c2fdf6fa08329529ce6fb (diff)
Rename GetSelectEntryPos -> GetSelectedEntryPos
Change-Id: I0bd4cb463575af843c72d9c8aaf91742203532a4 Reviewed-on: https://gerrit.libreoffice.org/42283 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'vcl/source/uitest')
-rw-r--r--vcl/source/uitest/uiobject.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx
index c977b7d56391..40b1f0bb9246 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -826,7 +826,7 @@ 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["SelectEntryPos"] = OUString::number(mxListBox->GetSelectedEntryPos());
aMap["SelectEntryText"] = mxListBox->GetSelectedEntry();
return aMap;
@@ -841,7 +841,7 @@ OUString ListBoxUIObject::get_action(VclEventId nEvent) const
{
if (nEvent == VclEventId::ListboxSelect)
{
- sal_Int32 nPos = mxListBox->GetSelectEntryPos();
+ sal_Int32 nPos = mxListBox->GetSelectedEntryPos();
return "Action on element: " + mxListBox->get_id() + " with action : SELECT and content {\"POS\": \"" + OUString::number(nPos) + "\"}";
}
else