offapi/com/sun/star/awt/XListBox.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 98f644c13962c67326d24e7f2cbaa790d835261e Author: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> Date: Tue Apr 19 14:12:27 2016 +0000 XListBox: Add hint about return value on empty selection Change-Id: I92d324b9e0ff48f6a4b3d62d6e9d22bf6ec7561a Reviewed-on: https://gerrit.libreoffice.org/24245 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> diff --git a/offapi/com/sun/star/awt/XListBox.idl b/offapi/com/sun/star/awt/XListBox.idl index e458208..2c3ad9c 100644 --- a/offapi/com/sun/star/awt/XListBox.idl +++ b/offapi/com/sun/star/awt/XListBox.idl @@ -89,7 +89,7 @@ published interface XListBox: com::sun::star::uno::XInterface sequence<string> getItems(); - /** returns the position of the currently selected item. + /** returns the position of the currently selected item, or -1 when nothing is selected. */ short getSelectedItemPos(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits