Kaydet (Commit) c285d043 authored tarafından Samuel Mehrbrodt's avatar Samuel Mehrbrodt Kaydeden (comit) Noel Grandin

XListBox: Add more hints about return values

Change-Id: I74385b762ed70ec9d8303f1cb94f76b9edac7cc5
Reviewed-on: https://gerrit.libreoffice.org/24261Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 5abc6695
......@@ -89,7 +89,9 @@ published interface XListBox: com::sun::star::uno::XInterface
sequence<string> getItems();
/** returns the position of the currently selected item, or -1 when nothing is selected.
/** returns the position of the currently selected item.
When multiple items are selected, the position of the first one is returned.
When nothing is selected, -1 is returned.
*/
short getSelectedItemPos();
......@@ -100,6 +102,8 @@ published interface XListBox: com::sun::star::uno::XInterface
/** returns the currently selected item.
When multiple items are selected, the first one is returned.
When nothing is selected, an empty string is returned.
*/
string getSelectedItem();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment