Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Wed, 2011-02-23 at 19:57 +0100, Dietmar wrote:
Here you are: https://bugs.freedesktop.org/show_bug.cgi?id=34635 

So, the code has changed a good lot since the original OOo bug was
reported. But looking through the current call of GetText in
dropdownboxtoolbarcontroller.cxx as far as I can tell m_pListBoxControl
wraps a vcl ListBox which inherits from vcl Control which inherits from
vcl Window and nothing under that hierarchy from Window downwards
overrides GetText and the code looks like it wants to return the text of
the menu entry. 

So its doesn't seem to make sense to call GetText here as that would
likely always return an empty string in these circumstances.
GetSelectEntry on the other hand would do something seemingly sensible,
i.e. the actual text of the menu entry. There are however some other
GetText calls in similar file nearby, so if you could attach a test case
to the bug as well that would be great.

Tentatively pushed in the meantime.

C.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.