summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--offapi/com/sun/star/awt/XListBox.idl6
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();