[Libreoffice-bugs] [Bug 124184] Fix QA test for StrConv VBA function

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 23 06:59:58 UTC 2020


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

--- Comment #5 from Mike Kaganski <mikekaganski at hotmail.com> ---
StrConv in LO does not implement handling its third argument (LCID). Without
that, there's no way to create useful unit tests (since everything is
system-dependent, and so different on different systems).

If someone wants to implement that, the code is SbRtl_StrConv in
basic/source/runtime/methods.cxx; LCIDs (MS thing [1]) is represented in LO by
LanguageType (include/i18nlangtag/lang.h), so it's directly usable in the
SbRtl_StrConv function, that also internally uses a LanguageType value
hardcoded to LANGUAGE_SYSTEM.

[1] https://msdn.microsoft.com/en-us/goglobal/bb964664

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200723/5b4f5f6f/attachment.htm>


More information about the Libreoffice-bugs mailing list