summaryrefslogtreecommitdiff
path: root/i18npool
AgeCommit message (Collapse)Author
2024-01-14ofz#65619 fuzzing needs com.sun.star.i18n.Transliteration.IGNORE_CASE tooCaolán McNamara
Change-Id: Ic084abb703795a8463e85271cb34347323b07863 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162028 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-02Japanese word for 'reiwa' added to ja.dicTaichi Haradaguchi
Change-Id: I80743231e22f0507ba5569d325e1f86920658a2b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159967 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-12-09{bn-IN}{hi-IN} MM-DD-YY DATE_TIME is very likely wrong, all other are DD-MM-YYEike Rathke
Wrong since its initial commit. Change-Id: I75214226ef5e1e58798ca0eaf396bad590918ee5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160511 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2023-12-04cid#1546422 COPY_INSTEAD_OF_MOVECaolán McNamara
and cid#1546416 COPY_INSTEAD_OF_MOVE cid#1546415 COPY_INSTEAD_OF_MOVE cid#1546391 COPY_INSTEAD_OF_MOVE cid#1546390 COPY_INSTEAD_OF_MOVE cid#1546317 COPY_INSTEAD_OF_MOVE cid#1546252 COPY_INSTEAD_OF_MOVE cid#1546251 COPY_INSTEAD_OF_MOVE cid#1546249 COPY_INSTEAD_OF_MOVE cid#1546243 COPY_INSTEAD_OF_MOVE cid#1546195 COPY_INSTEAD_OF_MOVE cid#1546193 COPY_INSTEAD_OF_MOVE cid#1546137 COPY_INSTEAD_OF_MOVE cid#1545738 COPY_INSTEAD_OF_MOVE cid#1545782 COPY_INSTEAD_OF_MOVE Change-Id: I10d5091aa72b682371764b8a18cc5062e272c031 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160285 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-30Sync LC_OutLineNumberingLevel of zh-CN with en-US localeKevin Suo
The previous order makes the UI tooltip does not match with the numbering style shown, per tdf#148023. Also add a commonly used Chinese-specific outline numbering style. The other old styles with the Chapters and Sections etc are removed because they are useless. Change-Id: I585cd0e704af35125c7c38561f500e83f1a465dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160081 Tested-by: Jenkins Reviewed-by: Kevin Suo <suokunlong@126.com>
2023-11-30tdf#152583 follow-up: Sync LC_NumberingLevel of zh-CN with en-US localeKevin Suo
The previous order makes the UI tooltip does not match with the numbering style shown, per tdf#148023. Also re-arrange the remaining Chinese-specific styles to make the most commonly used ones come first. Change-Id: I913180b1ca385e8a604b16b63ebfa130aca059c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160080 Tested-by: Jenkins Reviewed-by: Kevin Suo <suokunlong@126.com>
2023-11-29tdf#152583: Add [1],[2],[3] numbering style for zh-CN localeKevin Suo
This adds the [1],[2],[3] style of numbering to the Simplified Chinese locale data. This will show up when one clicks the numbering toolbar icon. Change-Id: I8b54746b431384e682f4161a3e99211b4147bad1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160059 Tested-by: Jenkins Reviewed-by: Kevin Suo <suokunlong@126.com>
2023-11-23tdf#143148 use pragma once instead of include guardsAchintya Sharma
Change-Id: Icc27e0ebb8fe68d1171e7075e93e7ca74569c0b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159860 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-11-20Extended loplugin:ostr: i18npoolStephan Bergmann
Change-Id: Ia0a844bc6e3f27758c869f5e229097085288e8bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159698 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-11-02add a fast path for the 1999-12-31 date in calendar conversionCaolán McNamara
seen in: https: //user-images.githubusercontent.com/833656/279971758-ef3d86b1-23ea-4e57-ad15-1f9b12df6bdd.svg Change-Id: I76f5e83860ea49e52099ece670e7c259fd89e666 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158830 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-02Localize <FollowPage> to CatalanJoan Montané
Change-Id: I088047a94f2bd7a7405cf42e9c0eca73cdb11c6b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155776 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2023-11-02Update pointers to yet again moved ICU site / CLDR pagesEike Rathke
Change-Id: Icf33b45a013393ac114e5a8866921bc8ce368189 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158778 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2023-10-22Link Library_localedata_others against salTaichi Haradaguchi
<https://ci.libreoffice.org/job/lo_daily_tb_win/1557/> etc. recently started to fail with > localedata_af_NA.o : error LNK2001: unresolved external symbol __imp_rtl_uString_release > C:\cygwin\home\tdf\jenkins\daily_workspace\tb\build_master\instdir\program\localedata_others.dll : fatal error LNK1120: 1 unresolved externals > touch: failed to get attributes of 'C:/cygwin/home/tdf/jenkins/daily_workspace/tb/build_master/instdir/program/localedata_others.dll': No such file or directory > make[1]: *** [C:/cygwin/home/tdf/jenkins/daily_workspace/tb/src_master/i18npool/Library_localedata_others.mk:10: C:/cygwin/home/tdf/jenkins/daily_workspace/tb/build_master/instdir/program/localedata_others.dll] Error 96 Change-Id: Ie3765b76691d66ea7f0bbcace5e9eba3168b813b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158309 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-20Link Library_localedata_euro against salStephan Bergmann
<https://ci.libreoffice.org//job/lo_daily_tb_win/1555/> etc. recently started to fail with > localedata_an_ES.o : error LNK2001: unresolved external symbol __imp_rtl_uString_release > C:\cygwin\home\tdf\jenkins\daily_workspace\tb\build_master\instdir\program\localedata_euro.dll : fatal error LNK1120: 1 unresolved externals > touch: failed to get attributes of 'C:/cygwin/home/tdf/jenkins/daily_workspace/tb/build_master/instdir/program/localedata_euro.dll': No such file or directory > make[1]: *** [C:/cygwin/home/tdf/jenkins/daily_workspace/tb/src_master/i18npool/Library_localedata_euro.mk:10: C:/cygwin/home/tdf/jenkins/daily_workspace/tb/build_master/instdir/program/localedata_euro.dll] Error 96 Change-Id: I1440365f30bd876466de964f6bb313210e7a3928 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158227 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-20Link Library_localedata_es against salStephan Bergmann
<https://ci.libreoffice.org//job/lo_win_daily_symbols/1147/> etc. recently started to fail with > localedata_es_AR.o : error LNK2001: unresolved external symbol __imp__rtl_uString_release > C:\cygwin64\home\tdf\lode\jenkins\workspace\lo_win_daily_symbols\instdir\program\localedata_es.dll : fatal error LNK1120: 1 unresolved externals > touch: failed to get attributes of 'C:/cygwin64/home/tdf/lode/jenkins/workspace/lo_win_daily_symbols/instdir/program/localedata_es.dll': No such file or directory > make[1]: *** [C:/cygwin64/home/tdf/lode/jenkins/workspace/lo_win_daily_symbols/i18npool/Library_localedata_es.mk:10: C:/cygwin64/home/tdf/lode/jenkins/workspace/lo_win_daily_symbols/instdir/program/localedata_es.dll] Error 96 Change-Id: I8a6ef646df1fd8d26f3a8b2f84b098f9971ace2b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158226 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-20Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: i18npoolStephan Bergmann
Change-Id: If3eb4d8fb3068e26ce42c8cc751c2de38b5d04cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158202 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19Link Library_localedata_en against salStephan Bergmann
<https://ci.libreoffice.org/job/lo_daily_tb_win_arm64/1037/> recently started to fail with > localedata_en_AU.o : error LNK2001: unresolved external symbol __imp_rtl_uString_release > C:\cygwin\home\tdf\jenkins\dly\b_master\instdir\program\localedata_en.dll : fatal error LNK1120: 1 unresolved externals > touch: failed to get attributes of 'C:/cygwin/home/tdf/jenkins/dly/b_master/instdir/program/localedata_en.dll': No such file or directory > make[1]: *** [C:/cygwin/home/tdf/jenkins/dly/s_master/i18npool/Library_localedata_en.mk:10: C:/cygwin/home/tdf/jenkins/dly/b_master/instdir/program/localedata_en.dll] Error 96 Change-Id: I62f2580dfbd91c2c74873c70ce2781bd49ed28b0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158173 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-18Clean up the remaining uses of OUStringConstExpr, and drop itStephan Bergmann
Change-Id: I30b2ac77b58e2ae1d1e997a0c830c513542b973d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158101 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-15Repurpose loplugin:stringstatic for O[U]String vars that can be constexprStephan Bergmann
...now that warning about O[U]String vars that could be O[U]StringLiteral is no longer useful Change-Id: I389e72038171f28482049b41f6224257dd11f452 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157992 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-13tdf#42982 Improved UNO API error reportingAnkit_Jaipuriar
Change-Id: I62862c8dd83b587e56177afd2ec05af1f567f6ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157201 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-10-07loplugin:ostr: automatic rewriteStephan Bergmann
Change-Id: I2d09b2b83e1b50493ec88d0b2c323a83c0c86395 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157647 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins
2023-08-30tdf#143148 Use pragma once instead of include guardsYli875
Change-Id: I84408aa0d48dd7804b70d012c85035e0572fa4e0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156256 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-08-01Correct Esperanto {eo} group separator formats wrong since initial 2005 commitEike Rathke
Instead of # ##0,00 and similar it used # #0,00 that probably went unnoticed since ever because it generates an expected display string using the group separator at the right position; editing such format yielded the format code ##0,00 with the group separator flag set. Change-Id: Id6ebb533f43a49a9aea1dd9ba87230e5d59901ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155114 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2023-07-24i18npool: Test case folding of surrogate pairsKhaled Hosny
Change-Id: I3097651927b85aaa46fc4fc59badf22d24fcb928 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154872 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
2023-07-24tdf#97152: Fix upper case mapping of lunate sigma (U+03F2)Khaled Hosny
It was mapped to uppercase sigma (U+03A3) while it should be mapped to uppercase lunate sigma (U+03F9). Fix by letting this slot fallback to ICU case folding. Change-Id: I14ffa0151c740779b67af14be8c7af8c51c3a1e0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154845 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
2023-07-24tdf#96343, tdf#134766, tdf#97152: Fallback to ICU for case mappingKhaled Hosny
If we are requested to case map a character not present in our case mapping data, fallback to ICU case mapping functions. We should switch completely to ICU at some point, but we need to evaluate our case mapping data and see if it differs from ICU and if there is a reason for it. Does not handle the case of U+03F2 turning into Sigma from tdf#97152. Change-Id: Icf13ac7aab6d07b2a90fc0ff5ef1c4f50c7a7f8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154803 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
2023-07-24i18npool: Add a test for sigma case foldingKhaled Hosny
This is one of the special case folding characters. Change-Id: Icfe986b216eb62ed595402b31908c2fd22cd475e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154821 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
2023-07-24CppunitTest_i18npool_characterclassification: use CPPUNIT_TEST_FIXTURE()Khaled Hosny
Change-Id: I6cc87255af385116b7e86ceaea67b26ca1f44709 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154806 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
2023-07-06tdf#52577: Classify superscript numbers in Latin-1 block as ScriptType::WEAKKhaled Hosny
So that they inherit the script from the surrounding text like the rest if superscripts and subscripts. Change-Id: Ib5c19f84b080eca0f24009a4e6dd2dd4019441d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154094 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
2023-06-29loplugin:unusedmethodsNoel Grandin
Change-Id: I95ab7581dec35b113cb657ce8e5ee27c89c73593 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153746 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-29tdf#152723: NatNum12 modifier, keep decimal separator from local settingsJulien Nabet
Change-Id: If49e7b42ac37eead4ef0a902b2e56735bb4017bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153732 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2023-06-26new loplugin:constexprliteralNoel Grandin
OUStringLiteral should be declared constexpr, to enforce that it is initialised at compile-time and not runtime. This seems to make a different at least on Visual Studio Change-Id: I1698f5fa22ddb480347c2f4d444530c2e0e88d92 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153499 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-23fix a from-scratch i18npool build problemCaolán McNamara
genbrk: Could not open output file "/mnt/workdir/CustomTarget/i18npool/breakiterator/count_word.brk", "U_FILE_ACCESS_ERROR" make[1]: *** [/mnt/i18npool/CustomTarget_breakiterator.mk:91: /mnt/workdir/CustomTarget/i18npool/breakiterator/count_word.brk] Error 4 make[1]: *** Waiting for unfinished jobs.... genbrk: Could not open output file "/mnt/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.brk", "U_FILE_ACCESS_ERROR" make[1]: *** [/mnt/i18npool/CustomTarget_breakiterator.mk:91: /mnt/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.brk] Error 4 genbrk: Could not open output file "/mnt/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.brk", "U_FILE_ACCESS_ERROR" make[1]: *** [/mnt/i18npool/CustomTarget_breakiterator.mk:91: /mnt/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.brk] Error 4 genbrk: Could not open output file "/mnt/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk", "U_FILE_ACCESS_ERROR" make[1]: *** [/mnt/i18npool/CustomTarget_breakiterator.mk:91: /mnt/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk] Error 4 genbrk: Could not open output file "/mnt/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk", "U_FILE_ACCESS_ERROR" make[1]: *** [/mnt/i18npool/CustomTarget_breakiterator.mk:91: /mnt/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk] Error 4 genbrk: Could not open output file "/mnt/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk", "U_FILE_ACCESS_ERROR" make[1]: *** [/mnt/i18npool/CustomTarget_breakiterator.mk:91: /mnt/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk] Error 4 genbrk: Could not open output file "/mnt/workdir/CustomTarget/i18npool/breakiterator/dict_word.brk", "U_FILE_ACCESS_ERROR" make[1]: *** [/mnt/i18npool/CustomTarget_breakiterator.mk:91: /mnt/workdir/CustomTarget/i18npool/breakiterator/dict_word.brk] Error 4 probably since: commit c276694bc06ae460a78532757db08e531b478e20 Date: Wed Jun 21 13:14:42 2023 +0300 Remove another workaround for old versions of ICU Change-Id: I31f07900d46a042a50d1bbbdd889ef6cee6bed8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153538 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-06-21Remove another workaround for old versions of ICUKhaled Hosny
Change-Id: Id13bdb10bf4bf89a136b28a26c4b3d1113971871 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153388 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
2023-06-21Require icu-i18n >= 66Khaled Hosny
We were requiring ICU 4.6 which was released in 2011, and ifdef'ing our way through newer ICU versions. ICU is a core dependency and it makes no sense to build LibreOffice with such ancient versions of it. This change requires ICU 66 (released in 2020), and removes all the ifdefs for older versions. There are more cleanups to do, but these will be done separately. Change-Id: I2e4f7608a08f4d531b0a4c74bbfdf91a451f833f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153387 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
2023-06-18Regression from speed up startup time(e51b4fc8c278bfa0b0671bbdb0ab35346881ebb7)Julien Nabet
for getOutlineNumberingLevels TB Jenkins_Linux_Ubsan 26316 [_RUN_____] SwDialogsTest::openAnyDialog 26317 NEXT /i18npool/source/localedata/localedata.cxx:1330:33: runtime error: call to function getOutlineNumberingLevels_de_DE through pointer to incorrect function type ´const rtl::OUString ***(*)(short &, short &, short &)´ 26318 /workdir/CustomTarget/i18npool/localedata/localedata_de_DE.cxx:1475: note: getOutlineNumberingLevels_de_DE defined here 26319 #0 0x7f5f948b75d8 in i18npool::LocaleDataImpl::getOutlineNumberingLevels(com::sun::star::lang::Locale const&) /i18npool/source/localedata/localedata.cxx:1330:33 26320 #1 0x7f5f948263ba in i18npool::DefaultNumberingProvider::getDefaultOutlineNumberings(com::sun::star::lang::Locale const&) /i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx:345:36 26321 #2 0x7f5f948264ee in non-virtual thunk to i18npool::DefaultNumberingProvider::getDefaultOutlineNumberings(com::sun::star::lang::Locale const&) /i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx 26322 #3 0x7f5fc2d8e917 in svx::sidebar::OutlineTypeMgr::Init() /svx/source/sidebar/nbdtmg.cxx:585:35 Change-Id: Ic291f9badad2047980bff848e83bc56b8beaa723 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153235 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-06-16Fix typoAndrea Gelmini
Change-Id: I914d0d62b1807daddea042ced173195d115f31e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153186 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-06-16tdf#125154 i18npool,sw: fix group separators in numbers in formulasMichael Stahl
Commit 776f7e7463de3e97f3056712ee567f49a314829d changed cclass_Unicode to reject group separators in numbers by default, but users are complaining that the neat "5.000" numbers in their existing documents are now considered invalid. * in SwCalc, use GROUP_SEPARATOR_IN_NUMBER * in cclass_Unicode::parseText(), reject a group separator if it is not followed by at least 3 digits With this, a number from tdf#42518 "0.19" is still considered invalid, while "5.000" is now valid again. Change-Id: If86f2ed4c27be16f866d7f4cee00789344e9ee2e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153047 Tested-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-06-16remove dead codeNoel Grandin
Change-Id: Ia8523e992b30ba8674ca88374906cb3c671df5e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153126 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-16speed up startup timeNoel Grandin
by avoid conversion of static locale data from sal_Unicode to OUString data - we can declare the data as OUStringConstExpr arrays and then no conversion is necessary. Change-Id: Idd27071c1200d6ced2c4f43e10310df786fbc8fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153125 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-16speed up startup timeNoel Grandin
by avoid conversion of static locale data from sal_Unicode to OUString data - we can declare the data as OUStringConstExpr arrays and then no conversion is necessary. Change-Id: I652f02f6f1f354e2dab4f0ca866e8499cd3c50f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153124 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-15speed up startup timeNoel Grandin
by avoid conversion of static locale data from sal_Unicode to OUString data - we can declare the data as OUStringConstExpr arrays and then no conversion is necessary. Change-Id: Ief35b1e3e08ed44c1b9161485a69ef504e1a1c89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153123 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-15speed up startup timeNoel Grandin
by avoid conversion of static locale data from sal_Unicode to OUString data - we can declare the data as OUStringConstExpr arrays and then no conversion is necessary. Here we trigger a problem - EditDLL has static data that tends to get torn down __after__ the i18npool shared library has been removed from memory, which means it tries to access OUStringLiteral objects that no longer exists. So use vcl::DeleteOnExit to explicitly clear that on application shutdown. Change-Id: Ie4bfcef7eb4656316ea825474ac42f85844d1dcc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153060 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-15speed up startup timeNoel Grandin
by avoid conversion of static locale data from sal_Unicode to OUString data - we can declare the data as OUStringConstExpr arrays and then no conversion is necessary. Change-Id: Iae879408d6761098d0e73526a65863d8f3cdb9ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153059 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-14speed up startup timeNoel Grandin
by avoid conversion of static locale data from sal_Unicode to OUString data - we can declare the data as OUStringConstExpr arrays and then no conversion is necessary. Change-Id: I95214d09938036935a45e8b8e9752596246dd2e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153058 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-14speed up startup timeNoel Grandin
by avoid conversion of static locale data from sal_Unicode to OUString data - we can declare the data as OUStringConstExpr arrays and then no conversion is necessary. Change-Id: Ia8186b2e6540287eae1312bf9755d5e6bea359c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153057 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-14speed up startup timeNoel Grandin
by avoid conversion of static locale data from sal_Unicode to OUString data - we can declare the data as OUStringConstExpr arrays and then no conversion is necessary. Change-Id: I4aac81c9224971683cfc7c9085edc7dcd3ee5f10 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153056 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-14speed up startup timeNoel Grandin
by avoid conversion of static locale data from sal_Unicode to OUString data - we can declare the data as OUStringConstExpr arrays and then no conversion is necessary. Change-Id: I7d9b7bd923765b3fd37c4c45f4fd47add26beef6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153055 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-14fix ubscan buildNoel Grandin
after commit ee76ed70e97448082f4c00c5c4207a44e1a91617 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Tue Jun 13 21:39:31 2023 +0200 speed up startup time Change-Id: I577e2cccc9f17f417e7ae5ef0b8eaa5f90aed48c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153041 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins
2023-06-14speed up startup timeNoel Grandin
by avoid conversion of static locale data from sal_Unicode to OUString data - we can declare the data as OUStringConstExpr arrays and then no conversion is necessary. Change-Id: Iecc822169a2fcd2f4678e4d6c303083c54a54456 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153005 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>