diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-04-20 11:32:35 +0000 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-21 06:44:43 +0000 |
commit | c285d043be71251731c8bf30f44b7587d5fa7169 (patch) | |
tree | 66a1728f634e5a066d5747ba6d15a9cdb5257096 /offapi | |
parent | 5abc669599001bf888b97c4d3c2715e1fb7523b9 (diff) |
XListBox: Add more hints about return values
Change-Id: I74385b762ed70ec9d8303f1cb94f76b9edac7cc5
Reviewed-on: https://gerrit.libreoffice.org/24261
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/awt/XListBox.idl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/offapi/com/sun/star/awt/XListBox.idl b/offapi/com/sun/star/awt/XListBox.idl index 2c3ad9c0078b..d11d8a08e895 100644 --- a/offapi/com/sun/star/awt/XListBox.idl +++ b/offapi/com/sun/star/awt/XListBox.idl @@ -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(); |