svl::SharedString::getDataIgnoreCase() returns unexpected result
Eike Rathke
erack at redhat.com
Mon Jun 13 09:56:32 UTC 2016
Hi Winfried,
On Monday, 2016-06-13 11:29:49 +0200, Winfried Donkers wrote:
> > Likely aRefStr isn't interned, but only constructed from an OUString.
>
> I made a quick fix by using aRefStr.getString().equalsIgnoreAsciiCase( aStr.getString() ) instead.
Ugly ;-)
> That works, now SWITCH("C";"c";"OK") returns OK in Calc.
>
> I don't have branch 5.2, and I don't want to 'fix' master as I am very close to converting the function to a jump function (SWITCH works, IFS is next).
That's likely going to have the same problem though.
> What do you advise as quickest/best way to fix version 5.2?
I'll take a look what the original cause is. Do you have a failing
example?
Eike
--
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key "ID" 0x65632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/
Care about Free Software, support the FSFE https://fsfe.org/support/?erack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160613/6708dc5d/attachment.sig>
More information about the LibreOffice
mailing list