https://bugs.documentfoundation.org/show_bug.cgi?id=118824

--- Comment #2 from Drew Jensen <[email protected]> ---
You are correct currentvalue does return a different result between AOO and
LibO, and appears to have done so since LibO 4.1. 

I find this mentioned in a comment, from 2015, on an issue
https://bugs.documentfoundation.org/show_bug.cgi?id=91828#c10
"Since LO 4.1 CurrentValue of a listbox changed to the value, which should be
saved in the database. Older versions will show the text, which could be seen
on the screen."

That sounds a bit like it might of been intentional, but I read over the
release notes for 4.0, 4.1 and 4.2 in which there is mention of changes to
checkbox form controls, but none about listbox and a change in currentvalue.
Nor could I see any  mentioned in the API changes listed there.

For a workaround you just need to treat the control as if multi-select is
turned on and use the SelectedItems and ListItems to retrieve the string.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to