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
Attachment:
signature.asc
Description: PGP signature