summaryrefslogtreecommitdiff
path: root/i18npool
AgeCommit message (Collapse)AuthorFilesLines
3 daysi18npool : limit string comparison using an enum classArnaud VERSINI2-297/+322
Change-Id: Iec5327b6f0125b22a2a4ee8ccb789b5403a7fdb4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166070 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
4 daystdf#49885 Removed custom Thai BreakIteratorJonathan Clark7-296/+42
Previously, a custom BreakIterator was used for Thai grapheme clusters. This change deletes the custom BreakIterator, in favor of the ICU implementation. Change-Id: Icec94c73a5734c2059786dfbba085f487c488d7c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166156 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
7 daystdf#49885 Reviewed BreakIterator customizationsJonathan Clark2-503/+668
This change completes the review of BreakIterator rule customizations, and adds unit tests for relevant customizations. Change-Id: I06678fcccfc48d020aac64dd9f58ff36a763af30 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166017 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
10 daysCorrect {bg-BG} formats with group separatorEike Rathke1-9/+9
The leading # digit before the separator was omitted. This never worked as intended. Change-Id: Idf8a6cf246b8db4e6d5361bc1c5f66c1c0c057c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166072 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
12 daystdf#147021 Replace SAL_N_ELEMENTS with std::sizeAshwani50092-4/+4
As part of the efforts in #145538 to replace the SAL_N_ELEMENTS() macro with std::size() and std::ssize(), this commit performs the necessary changes for a few files in the i18npool module. Change-Id: Ic64be31b74cd74faf17497a47d6a15158b85184c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166013 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-04-08i18npool : use OUString literalArnaud VERSINI8-24/+23
Change-Id: I202f09303fd385cfcaa468411d0fae8b1707cf88 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165884 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-04-03i18npool : use OUString literal for XInterface implementationArnaud VERSINI13-25/+25
Change-Id: I7843e1e873c9272c8ad3eb4cad0b2ea48cafeb7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165638 Tested-by: Jenkins Reviewed-by: Arnaud Versini <arnaud.versini@pm.me>
2024-04-02tdf#146619 Drop unused 'using namespace' in: i18npool/Gabor Kelemen25-43/+0
Change-Id: I3c4ca1083f8ef4053d1b4202bf9617b9373312bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165537 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2024-03-06Use less boost_headers in low level librariesGabor Kelemen2-5/+0
Most of these don't use boost themselves, nor do they need it transitively since the use of boost::optional was removed Change-Id: Ic9dee1c4e160b313ec5b91677b02ffdea6c5779d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164440 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2024-02-23SAL_CALL is not necessary hereNoel Grandin1-9/+9
these are internal methods Change-Id: I023bd2434d72913cfc1818636cd8a7345c05d1fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163745 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-20SAL_CALL is not necessary hereNoel Grandin1-12/+12
these symbols are only used internally Change-Id: Ib4dff4c8724649608a3d328e47127cd2e1f1cc21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163649 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-20fix Windows buildNoel Grandin2-12/+10
after commit 191e3f8d891c6d2b5e0f63823a1f9afb7d54418f Author: Noel Grandin <noelgrandin@gmail.com> Date: Mon Feb 19 15:48:38 2024 +0200 merge textconv_dict into i18npool The first build would work, but subsequent builds would fail. I'm not sure why this patch fixes it, but it does. Somehow the sed command was affecting other generated files? Change-Id: I1550709b6555c838c0371e31b5eb2c90f5065e10 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163648 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-19merge textconv_dict into i18npoolNoel Grandin8-151/+38
(*) it is a small library (*) this avoids more dynamic symbol lookup (*) this unblocks more --enable-mergedlibs optimisation Change-Id: Icb708828e9d711981ec4273351cd73343aa206d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163596 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-19these symbols no longer need to be publicNoel Grandin1-3/+1
after commit de43ed10886ae041b3814f80ef0510f6ac18d515 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Wed Feb 14 10:14:13 2024 +0200 merge index_data into i18npool Change-Id: Idae78d824861e382c590b625f9deae48d782ea88 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163601 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-15merge index_data into i18npoolNoel Grandin9-142/+34
(*) it is a small library (*) this avoids another dynamic symbol lookup (*) this unblocks more --enable-mergedlibs optimisation Change-Id: I9230230c3d72f4e9ce19408f4b5716452ccd4fad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163364 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-14rename some of the collator function symbolsNoel Grandin2-6/+1
to prevent conflicts when I merge some of these libraries Change-Id: Iaa09924dc5b88ecd6d381e9529a8862a5b539a69 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163359 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-12merge collator_data library into i18npoolNoel Grandin3-24/+10
they are both small libraries and this is one less library to dynamically link in at startup time Change-Id: I1b36ba1b11b9d69deea3fe0d91b512328d0a42a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163165 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-09use more SAL_MODULENAME macroNoel Grandin4-22/+6
which simplifies the call sites Change-Id: Ic884ee8568c9f1346ff49fd3e0dc951ed5cc4cae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163160 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-01-14ofz#65619 fuzzing needs com.sun.star.i18n.Transliteration.IGNORE_CASE tooCaolán McNamara1-0/+4
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 Haradaguchi1-0/+1
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 Rathke2-6/+6
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 McNamara1-2/+1
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 Suo1-47/+63
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 Suo1-16/+17
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 Suo1-0/+1
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 Sharma1-4/+1
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 Bergmann1-2/+2
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 McNamara1-0/+9
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é1-1/+7
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 Rathke1-3/+3
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 Haradaguchi1-0/+1
<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 Bergmann1-0/+1
<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 Bergmann1-0/+1
<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 Bergmann9-44/+44
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 Bergmann1-0/+4
<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 Bergmann1-22/+22
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 Bergmann1-1/+1
...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_Jaipuriar1-5/+6
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 Bergmann3-79/+79
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 guardsYli8751-4/+1
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 Rathke1-9/+9
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 Hosny1-0/+55
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 Hosny1-8/+8
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 Hosny1-0/+102
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 Hosny1-0/+34
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 Hosny1-12/+3
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 Hosny1-0/+3
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 Grandin2-6/+0
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 Nabet1-5/+1
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 Grandin3-7/+7
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>