office-gobmx/sfx2/source/view
Andras Timar 3968d46e20 LOK: fix UI language fallback, e.g. zh-HK -> zh-TW
The original author wanted to handle de-CH as special case, but
he wrote a general condition.
- comphelper::LibreOfficeKit::isActive() is redundant, because we
  call SfxViewShell::SetLOKLanguageTag() from LOK.
- AFAIK there are no other, similar cases. We know about only de-CH,
  so let's make it explicit in the condition.
- This fixes UI language setting when the integration asks for zh-HK.
  Previously it falsely fell back to en-US here, instead of zh-TW.

Change-Id: Ie42e09b8e202b654b109ab8d777ab36a5ef56dca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169363
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172332
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2024-08-24 06:56:03 +02:00
..
classificationcontroller.cxx
classificationhelper.cxx
frame.cxx
frame2.cxx
frmload.cxx
impframe.hxx
impviewframe.hxx
ipclient.cxx
lokcharthelper.cxx
lokhelper.cxx
lokstarmathhelper.cxx
printer.cxx
prnmon.hxx
sfxbasecontroller.cxx
userinputinterception.cxx
viewfac.cxx
viewfrm.cxx Use IsRunningUnitTest / IsRunningUITest consistently 2024-07-17 19:15:31 +02:00
viewfrm2.cxx
viewimp.hxx
viewprn.cxx
viewsh.cxx LOK: fix UI language fallback, e.g. zh-HK -> zh-TW 2024-08-24 06:56:03 +02:00