[Libreoffice-commits] core.git: offapi/com
Samuel Mehrbrodt
Samuel.Mehrbrodt at cib.de
Thu Apr 21 06:45:07 UTC 2016
offapi/com/sun/star/awt/XListBox.idl | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit c285d043be71251731c8bf30f44b7587d5fa7169
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date: Wed Apr 20 11:32:35 2016 +0000
XListBox: Add more hints about return values
Change-Id: I74385b762ed70ec9d8303f1cb94f76b9edac7cc5
Reviewed-on: https://gerrit.libreoffice.org/24261
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/offapi/com/sun/star/awt/XListBox.idl b/offapi/com/sun/star/awt/XListBox.idl
index 2c3ad9c..d11d8a08 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();
More information about the Libreoffice-commits
mailing list