Commit Graph
100 Commits
Author SHA1 Message Date
Julien Nabet 790dd1d0c6 tdf#173547: fix wrong alphabetical sorting for Kurdish Latn alphabetical
Following tdf#173579 by removing broken dynamic loading of collators,
I focused on Kurdish Latn collation.

Root cause and fix provided by GPT-5.6 Luna
Cause:
when "kmr-Latn-TR", LO uses Language "qlt", Country "TR" (Turkey), Variant "kmr-Latn-TR"
but "kmr-Latn-TR" wasn't used in LOCAL_RULE_LANGS (a variable generated in i18npool/CustomTarget_collator.mk)
and used in i18npool/source/collator/collator_unicode.cxx, method Collator_Unicode::loadCollatorAlgorithm
so "func" and "funclen" weren't initialized with appropriate collator functions.

Fix:
rename file and functions containing "ku" by using "kmr_Latn"
(I suppose the right move since it mimics Eike Rathke's commit 45d4b9b5e3
"renamed ku* to kmr-Latn*, fdo#63460")

Add a specific use case bKmrLatn to load "kmr_Latn" collator functions
to deal with "qlt" language (yes it's a bit kludgy...)

We must remind that "kmr_Latn" can be used for "kmr_Latn_TR" but also with "kmr_Latn_SY"
that's why I avoided using "kmr_Latn_TR"

Also, to avoid the bKmrLatn specific case,
I thought about changing "LangID" tag of i18npool/source/localedata/data/kmr_Latn_TR.xml
from "qlt" into "kmr-Latn" but I'm not sure of the impact.

Change-Id: Ifc608da19b4bd2d05667121e3c6f2455f5d45ca9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210977
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-21 22:34:45 +02:00
Julien Nabet 6999cb2ac3 Remove -std=gnu23 on CC and CC_FOR_BUILD
On pc Debian testing x86-64 with master sources + clang 21.1,
autogen.sh generates config_host.mk with:
export CC=/usr/bin/ccache clang -std=gnu23
export CC_FOR_BUILD=/usr/bin/ccache clang -std=gnu23
it's because a recent change in autoconf.

The pb is it makes Firebird part building in LO fail.
Add ac_cv_prog_cc_c23=no as a workaround for the moment.

Change-Id: I13f49153e82b4f670fe170ef5df6f072b0c7d336
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211193
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-21 19:04:48 +02:00
Julien Nabet d635f53f71 replace character set by encoding (sc/part 4)
Change-Id: I87e068ea6c77a8c648d4d58142ffcbf862b30f3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211271
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-21 18:41:15 +02:00
Julien Nabet f7ad5554e5 tdf#173541: Units are expressed in different units in Navigator... (part 2)
There was lacking the ControllerItem for metric part.
I took example on sw/source/uibase/sidebar/PageFormatPanel.cxx

Also, in the notify part, there was lacking the SID_ATTR_METRIC case.

Change-Id: I9fed8255634cee2e2ed3b4ebf6ffe1e06e038df6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211268
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-21 08:48:17 +02:00
Julien Nabet bf81e8773f Missing maMetricController.dispose in ~PageHeaderPanel
Change-Id: I54c1a02f0209adeee2477a687ee0dfe5e0a14c78
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211269
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-21 07:26:53 +02:00
Julien Nabet e954521c03 tdf#173541: Units are expressed in different units in Navigator in Properties
Regression from 2568245da5
lok: use locale units in dialogs and table sidebar

this patch updates fix for the dialog which were not fixed by e2708fecb3
part 3

Change-Id: I649a4a89980534a73920e2a8df53e6f47cf8d228
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211235
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-20 14:47:21 +02:00
Julien Nabet bcd1afe2e6 tdf#173579: fix collator func loading to make at least Japanese collators work
After de43ed1088
"merge index_data into i18npool
(*) it is a small library
(*) this avoids another dynamic symbol lookup
(*) this unblocks more --enable-mergedlibs optimisation
"

SAL_DLLPUBLIC_EXPORT has been removed so collators weren't available for
dynamic loading use. So there was only 1 kind of sort possible in Japanese
(see description in the bugreport).

To make Japanese (but not only them) collators work again,
I kept on the same way of the quoted commit by removing
DISABLE_DYNLOADING blocks and by adding declarations of functions
in i18npool/inc/collator_unicode.hxx

Change-Id: I36529c12ae67fe7eb0562c6798ef55fdbea02f04
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211111
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-09-18 23:12:58 +02:00
Julien Nabet 137f0c8cc6 tdf#108243: semicolon separated fonts substitution pb (Linux/fontconfig)
The pb was that a substitution for the nonexisting font was done and successful
without taking into account a explicitely font provided.
So before calling FindFontSubstitute, test nTokenPos to know if there's
a substitute font.

I started from https://bugs.documentfoundation.org/show_bug.cgi?id=108243#c13
but the root cause was found and a fix proposed by ChatGpt (GPT-5.6 Luna).

I tested the initial odt file provided in the bugtracker it worked.
I also did the same test without substitution font provided, it was ok too
since it was replaced by a Noto font.

Change-Id: I992d1ed5e4ebcf8795718001d17f8afda32e4735
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210680
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-09-16 08:48:51 +02:00
Julien Nabet 6379b5ff46 Following 02083e4a5d
Try to fix in WASM Jenkins:
In file included from /home/tdf/jenkins/workspace/lo_gerrit/tb/src_wasm/vcl/source/app/salplug.cxx:78:
/home/tdf/jenkins/workspace/lo_gerrit/tb/src_wasm/vcl/inc/headless/svpinst.hxx:100:36: error: non-virtual member function marked 'override' hides virtual member function
  100 |     bool DoExecute(int &nExitCode) override;
      |                                    ^
/home/tdf/jenkins/workspace/lo_gerrit/tb/src_wasm/vcl/inc/salinst.hxx:237:18: note: hidden overloaded virtual function 'SalInstance::DoExecute' declared here: different number of parameters (0 vs 1)
  237 |     virtual bool DoExecute();
      |                  ^
1 error generated.
make[1]: *** [/home/tdf/jenkins/workspace/lo_gerrit/tb/src_wasm/solenv/gbuild/LinkTarget.mk:338: /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/build_master/workdir/CxxObject/vcl/source/app/salplug.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from /home/tdf/jenkins/workspace/lo_gerrit/tb/src_wasm/vcl/headless/svpprn.cxx:33:

Change-Id: Id1ae3ae246fb86516ee6b9b383a3ee23180bc277
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210987
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-15 13:01:06 +02:00
Julien Nabet 1be25f4913 Following Related tdf#150928: replace character set by encoding (sc/part 3...)
Change-Id: I45197943cd052827eb79b5fd11501d50fd0f18af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210642
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 21:03:47 +02:00
Julien Nabet e808025d6f tdf#146404: Fix number Format Code when reopen ods/fods
As Eike indicated in https://bugs.documentfoundation.org/show_bug.cgi?id=146404#c4
COLOR format codes are preserved in ods/fods format.
The pb was the missing map back.
Indeed, we had the mapping for [COLOR<something>] => Color value (eg: "ffaa16")
but not the reverse mapping Color value => [COLOR<something>]

Eike had provided the right code pointer in xmlnumfi.cxx.
First, I thought using PaletteManager but this one is in svx and svx shouldn't be used in xmloff
(dependency pb).
Then I used ChatGpt (GPT-5.6 Luna) and it pointed the right process.
It just consisted to use a similar callback system (DECL_LINK, IMPL_LINK, LINK) of GetUserDefinedColor.

In addition, by testing all this, I noticed that maList in XColorList::GetIndexOfColor was empty.
So I added the Load call in case mbListDirty is true.

Change-Id: I0ef6b5901f2e4c757e88994412dbf79a13100ffd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210518
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-09-07 10:17:29 +02:00
Julien Nabet 0df8960f56 tdf#173364: fix Unable to edit database range for xlsx document
The pb appears with 0d7be893f5:
Table Style: introduce insert/delete Table... command available from

with ods pData->GetTableStyleInfo() is nullptr so buttons like "Modify"
but also "Delete" or all the "Options" part, are enabled (sensitive=true)
with xlsx pData->GetTableStyleInfo() is not null and these same buttons are disabled.

I don't know if the return of GetTableStyleInfo is ok for both cases but I don't know why
we should test this to know if these buttons should be enabled or not.

To be homogeneous, I also did the same for m_xAssignFrame.

Change-Id: Ib2295f26b53163a9612159c1564227d9b2b8ca9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210506
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-07 10:16:20 +02:00
Julien Nabet 296b49f581 Related tdf#150928: replace character set by encoding (sc/part 3+connectivity)
Change-Id: I78d3c989be9e02e39d646b3c1eb672e3f37bd43c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209380
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-07 10:15:23 +02:00
Julien Nabet 4339f9dcbc Update git submodules
* Update helpcontent2 from branch 'master'
  to 099d2dbd383b6fc748d9aa9ca05ac9f2e9aaaaa2
  - tdf#173430: Update description for the "Ctrl+Minus key" and Ctrl+Plus key" shortcuts
    
    Change-Id: Id2c17c79eb4a6d3461a0765fd58a1f00e78a3328
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/210522
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-06 20:58:56 +02:00
Julien Nabet 2aa35f1ba1 tdf#171670 for soc palettes names, UI names are stored instead of file names
Change-Id: I79857acd314af81b2507ea3c6154fd3621b3fac8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210451
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-09-03 08:29:50 +02:00
Julien Nabet b0ca3c5fea tdf#173205: aborts when two automatic cell styles have single-character names
...and are used on more than one sheet

Part of bt:
0  0x00007f2273ae44c0 in std::out_of_range::out_of_range(char const*) () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
1  0x00007f2273aaddb6 in std::__throw_out_of_range_fmt(char const*, ...) () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2  0x00007f225147be88 in std::__sv_check (__size=1, __pos=2, __s=0x7f2250754f39 "basic_string_view::substr") at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/string_view:75
3  0x00007f225147bdc1 in std::basic_string_view<char16_t, std::char_traits<char16_t> >::substr (this=0x7ffd3afc7078, __pos=2, __n=18446744073709551615)
   at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/string_view:340
4  0x00007f22520f4e5a in ScFormatRangeStyles::GetIndexOfStyleName (this=0x5618ec8485a0, rString=u"t", rPrefix=u"ce", bIsAutoStyle=@0x7ffd3afc72f7: true)
   at /home/julien/lo/libreoffice/sc/source/filter/xml/XMLStylesExportHelper.cxx:709
5  0x00007f22521aa673 in ScXMLExport::AddStyleFromCells
   (this=0x5618ec0dfc80, xProperties=uno::Reference to (ScCellRangesObj *) 0x5618ec7b5008, xTable=uno::Reference to (ScTableSheetObj *) 0x5618ec81a1d8, nTable=1, pOldName=0x0)
   at /home/julien/lo/libreoffice/sc/source/filter/xml/xmlexprt.cxx:2128
6  0x00007f22521aea70 in ScXMLExport::collectAutoStyles (this=0x5618ec0dfc80) at /home/julien/lo/libreoffice/sc/source/filter/xml/xmlexprt.cxx:2560
7  0x00007f22521af8ca in ScXMLExport::ExportAutoStyles_ (this=0x5618ec0dfc80) at /home/julien/lo/libreoffice/sc/source/filter/xml/xmlexprt.cxx:2661
...

I noticed tdf#166939 which is similar and already fixed by Mike Kaganski with faab5ca617
"tdf#166939: Don't pass invalid starting index when creating a view

A style name can be as short as one character; a two-character prefix
can already be too long."

Since we're in a similar case (a one-character style name), let's apply the same way
but for ScFormatRangeStyles::GetIndexOfStyleName which has the extra parameter "bIsAutoStyle".

Change-Id: Ida411dec712bbf39620fd9c2919dc6b0cffe92ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209406
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-08-20 23:31:43 +02:00
Julien Nabet 33bb828ae5 tdf#173186: "Pick" button inactive in "Area" dialog box
After 2016 Gsoc rework of color tab, UpdateModified is:
- useless since the color pick isn't relied with m_pColorList
- wrong since there's no case where color pick button should be disabled.
So when starting a brand new odp and right click on Area, color pick button should be enabled.

Change-Id: I5b1b0f0c3eb7e100a69379ca014eeb1b14263611
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209317
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2026-08-19 16:22:34 +02:00
Julien Nabet 09fcd2df10 tdf#166299 tdf#172587: don't call encoding detection when we already know it
this can be called from different cases, at least these:
1) csv file opening
   sc/source/ui/unoobj/filtuno.cxx ScFilterOptionsObj::execute,  part "!bExport && aFilterString == SC_TEXT_CSV_FILTER_NAME"
   (eg: tdf#171097). In this part, we added in the same commit pInStream->SetStreamEncoding(RTL_TEXTENCODING_DONTKNOW)
   since we can't presume about the encoding of a csv
    => we need to call DetectEncoding

2) copy paste of 2 CJK lines in Calc from another application
   sc/source/ui/view/viewfun5.cxx ScViewFunc::PasteDataFormatFormattedText,
   part "nFormatId == SotClipboardFormatId::STRING || nFormatId == SotClipboardFormatId::STRING_TSVC..."
   (eg: tdf#172587). In this part, we use ScImportStringStream which sets explicitely the encoding to RTL_TEXTENCODING_UNICODE
   => we don't need to call DetectEncoding

3) use of Text to Columns function (in Calc/Data)
   sc/source/ui/view/cellsh2.cxx ScCellShell::ExecuteDB, part SID_TEXT_TO_COLUMNS
   (eg: tdf#166299). In this part, we use a SvMemoryStream and we already sets the encoding to RTL_TEXTENCODING_UNICODE
   => we don't need to call DetectEncoding

So the changes are:
- only call DetectEncoding when the encoding of the stream is RTL_TEXTENCODING_DONTKNOW
- encoding of the csv is considered by default unknown so we call the detection afterwards

Change-Id: Id98e152a1a0a19535ed6cfc1b23387a16b122558
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209287
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-08-19 10:34:34 +02:00
Julien Nabet 1e0180a814 Revert "tdf#166299 tdf#172587: try to improve encoding detection"
This reverts commit d71b9934b3.

Reason for revert: don't try to tweak too much ICU results

Change-Id: I9f35294376faa5b82729c0072cf66b5fe5f79a7a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209285
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-08-18 16:55:37 +02:00
Julien Nabet 2c26864ebf Remove unused patch following fontconfig upgrade
Change-Id: Ic6f37ffe11d743b45745d3aa49b01d32ef82c1c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209236
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-08-18 11:40:33 +02:00
Julien Nabet f998b64054 tdf#173153: The full-width conversion function is not working (CJK-Japanese)
rData.sChanged.getLength() - rData.nLen can be negative
when initial data is longer than the changed data
so nSum can be negative too.
So change type of nSum so a negative value isn't transformed in a big positive value.
Also in this case, no need to check if there's some space left.

Change-Id: I9a90a7917509f332463832728e0ab705af136f0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209186
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-08-17 22:01:50 +02:00
Julien Nabet d71b9934b3 tdf#166299 tdf#172587: try to improve encoding detection
Instead of selecting the first encoding returned by ucsdet_detectAll
(except the 5 CJK when they have confidence of 10), recalculate
confidence by removing 10 only when one of the 5 CJK encodings then
check each encoding returned by ucsdet_detectAll and select the one with
the max confidence with this new rule.

I also tested this again on tdf#172905, no regression.

Change-Id: I6a8e2b30e8467fefd53c02296484e48ca467c662
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209143
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-08-16 14:38:56 +02:00
Julien Nabet 6daaddbaf8 tdf#173141: Duplicate overwrites Bitmap or Gradient with last used colors
Save the pFillStyleItem in FuCopy::DoExecute
so we can test it if it's a FillStyle_SOLID in CopyDlg::Reset.
If it's the case, we can use the last colors, if not we use automatic colors.

Change-Id: I2d4ea4a0d7eb5794aee3af771c51ca1e63d93ff7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209136
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-08-15 21:21:23 +02:00
Julien Nabet 01df62abe0 Related tdf#150928: replace character set by encoding (sc/part 2)
Change-Id: I0e934158eb9defb01b678628cf6e34a595e21980
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209093
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-08-14 22:00:32 +02:00
Julien Nabet 7e03ddd4eb tdf#148749: FILEOPEN Lotus 123 entity encoding
As indicated in the upstream patch (already pushed):
Deal with some LMBCS group control

LMBCS is Lotus Multi-Byte Character Set
Group control in LMBCS begin with 0x0F and the control character is the second byte
See https://github.com/unicode-org/icu/blob/main/icu4c/source/common/ucnv_lmb.cpp

Change-Id: Ia11edb37a760ec676caa1fe06290e2031459b1c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209113
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-08-14 07:44:47 +02:00
Julien Nabet e375f54fe7 Related tdf#150928: replace character set by encoding (sc/part 1)
Change-Id: Ic4c289021a924b932d44c443a808f84b35f3f600
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209069
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-08-11 12:09:57 +02:00
Julien Nabet c50930ec20 German translation + use "encoding" instead of "character set"
No functional change here.

Change-Id: I6c612f7932cc5e4c5926bf5e543a1bcee6b5b6b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209062
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-08-10 13:27:14 +02:00
Julien Nabet 781638feb0 tdf#169591: in case of RTL_TEXTENCODING_UCS2, we need to know endianness
+ endianness must be remembered when it was present in the csv.

(I took example on 509ab788ba
tdf#82254 - Don't remove UTF-8 BOM from CSV when saving file
except QA test. I don't know how to do it)

Change-Id: I5043fa20c44e2e08bb43fbae0838b5d3d2f46575
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208981
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-08-07 10:28:05 +02:00
Julien Nabet fb4626933e Related tdf#172905: avoid magic number
Change-Id: I60c22d076f0c2435a07bfc12497499092dfb9d7d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208977
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-08-06 14:56:58 +02:00
Julien Nabet aac1744361 tdf#172905: for some CJK character sets, 10 is the starting point
whereas 0 is the starting point (eg for iso-8859-*)
So don't retain the CJK character sets if they're just at 10
and there's no other character sets

+ add some debug traces to track charsets detected by libicu
and their associated confidence

Change-Id: I7d89d06ffb963143276aff749e7d1a6f7a531cca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208899
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-08-01 23:14:48 +02:00
Julien Nabet f21643c5fe tdf#171097: add ISO-8859-8-I in encodings map detection
Change-Id: Ib84bd5de4bb3495a0f3339afa0537fd8003d1dc8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208971
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-08-01 13:38:07 +02:00
Julien Nabet 2553d132a7 Reuse upstream patch from Fontconfig
Change-Id: Ia51a87d711f250ce7a0f59a9bb05056082869108
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208802
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-08-01 10:19:14 +02:00
Julien Nabet f601364f2d tdf#172937: let's compare colors instead of index of colors
Index retrieved corresponded to blue value, that's why:
-the right circle of the first line
-the two circles from left of the second line
-the second circle of the last line
were modified.

Change-Id: I57a5334ca11f5b987d4125c88810991f83d44d42
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208817
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-30 08:22:14 +02:00
Julien Nabet 4467ad763d Revert "Fix unknown type name locale_t on mac ARM64 TB (take 2)"
This reverts commit b76fe8a06f.

It didn't help macOS ARM TB

Change-Id: I9db0fc059da8576b362c2b939f8d47e63ac4b676
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208539
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-24 09:56:08 +02:00
Julien Nabet d6257f44f4 Related tdf#149890: add missing part from fixes in VclPixelProcessor2D
+ add some spaces to improve readability and comparison with VclPixelProcessor2D

Change-Id: I8607d7f97087671fd5d44645fa90ff3c90e69143
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208396
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-07-21 21:48:04 +02:00
Julien Nabet 5f0cf799b3 Related tdf#149890: SVG: pattern is displayed with black fill
Regression from 5707b5dce7
tdf#101083 speed up SVG rendering with pattern fill (2)
This is the same thing I did in

     commit 3cbe3a0259
     Author: Noel Grandin <noel.grandin@collabora.co.uk>
     Date:   Mon Jun 14 15:05:59 2021 +0200
     tdf#101083 speed up SVG rendering with pattern fill

but cut and paste from the VclPixelProcessor2D to the CairoPixelProcessor2D code.

Which makes this SVG render in reasonable time when using the cairo backend.

We can probably do even better by cutting out the usage of VCL here, but this
is good enough for now.

+ apply the same as af2175bb87
    crashtesting: divide by zero

    since:

    commit 7b807a6b79
    Date:   Fri Jun 21 12:28:30 2024 +0200

        tdf#161086 bitmap location wrong with SVG with an embedded PNG

    bodge it by using the requested width/height and not the possibly
    zero on fail actual sizes

Change-Id: Ie0e0462e564a568f99d1c5b9c62f71049f71f9b3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208275
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-07-20 21:30:55 +02:00
Julien Nabet b76fe8a06f Fix unknown type name locale_t on mac ARM64 TB (take 2)
In file included from fcarch.c:24:
./fcint.h:678:9: error: unknown type name 'locale_t'
typedef locale_t FcLocale;
        ^
./fcint.h:680:19: error: use of undeclared identifier 'LC_CTYPE_MASK'
    FC_LC_CTYPE = LC_CTYPE_MASK,
                  ^
./fcint.h:681:21: error: use of undeclared identifier 'LC_NUMERIC_MASK'
    FC_LC_NUMERIC = LC_NUMERIC_MASK,
                    ^
./fcint.h:682:18: error: use of undeclared identifier 'LC_TIME_MASK'
    FC_LC_TIME = LC_TIME_MASK,
                 ^
./fcint.h:683:21: error: use of undeclared identifier 'LC_COLLATE_MASK'
    FC_LC_COLLATE = LC_COLLATE_MASK,
                    ^
./fcint.h:684:22: error: use of undeclared identifier 'LC_MONETARY_MASK'
    FC_LC_MONETARY = LC_MONETARY_MASK,
                     ^
./fcint.h:685:22: error: use of undeclared identifier 'LC_MESSAGES_MASK'
    FC_LC_MESSAGES = LC_MESSAGES_MASK,
                     ^
./fcint.h:689:19: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_PAPER = LC_ALL_MASK,
                  ^
./fcint.h:694:18: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_NAME = LC_ALL_MASK,
                 ^
./fcint.h:699:21: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_ADDRESS = LC_ALL_MASK,
                    ^
./fcint.h:704:23: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_TELEPHONE = LC_ALL_MASK,
                      ^
./fcint.h:709:25: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_MEASUREMENT = LC_ALL_MASK,
                        ^
./fcint.h:714:28: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_IDENTIFICATION = LC_ALL_MASK,
                           ^
./fcint.h:716:17: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_ALL = LC_ALL_MASK,
                ^
14 errors generated.

I copied pasted the ifdef from src/fcstr.c

Change-Id: I82eb9382ab317af91da7ddd1432a974829458b93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208262
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-19 21:31:49 +02:00
Julien Nabet 0ebcec3593 Revert "Fix unknown type name 'locale_t' on mac ARM64 TB"
This reverts commit ad3deca43f.

Reason for revert: I had wrongly "ifeq ($(OS),MACOSX)" instead of "ifneq ($(OS),MACOSX)"

Change-Id: If839b5dfe55349d9b0fee0b07cea3c3d5e9292ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208261
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-19 20:13:01 +02:00
Julien Nabet ad3deca43f Fix unknown type name 'locale_t' on mac ARM64 TB
In file included from fcarch.c:24:
./fcint.h:678:9: error: unknown type name 'locale_t'
typedef locale_t FcLocale;
        ^
./fcint.h:680:19: error: use of undeclared identifier 'LC_CTYPE_MASK'
    FC_LC_CTYPE = LC_CTYPE_MASK,
                  ^
./fcint.h:681:21: error: use of undeclared identifier 'LC_NUMERIC_MASK'
    FC_LC_NUMERIC = LC_NUMERIC_MASK,
                    ^
./fcint.h:682:18: error: use of undeclared identifier 'LC_TIME_MASK'
    FC_LC_TIME = LC_TIME_MASK,
                 ^
./fcint.h:683:21: error: use of undeclared identifier 'LC_COLLATE_MASK'
    FC_LC_COLLATE = LC_COLLATE_MASK,
                    ^
./fcint.h:684:22: error: use of undeclared identifier 'LC_MONETARY_MASK'
    FC_LC_MONETARY = LC_MONETARY_MASK,
                     ^
./fcint.h:685:22: error: use of undeclared identifier 'LC_MESSAGES_MASK'
    FC_LC_MESSAGES = LC_MESSAGES_MASK,
                     ^
./fcint.h:689:19: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_PAPER = LC_ALL_MASK,
                  ^
./fcint.h:694:18: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_NAME = LC_ALL_MASK,
                 ^
./fcint.h:699:21: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_ADDRESS = LC_ALL_MASK,
                    ^
./fcint.h:704:23: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_TELEPHONE = LC_ALL_MASK,
                      ^
./fcint.h:709:25: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_MEASUREMENT = LC_ALL_MASK,
                        ^
./fcint.h:714:28: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_IDENTIFICATION = LC_ALL_MASK,
                           ^
./fcint.h:716:17: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_ALL = LC_ALL_MASK,
                ^
14 errors generated.

I copied pasted the ifdef from src/fcstr.c

Change-Id: Ied864b90a735716e39f2eb5f4e8f594fd909f9ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208258
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-07-19 18:46:23 +02:00
Julien Nabet db5d24b4e0 Fix macOs TB unused-parameter
Change-Id: I8ad7530f1ef22ce4d7902b49fa93faa108463c38
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208247
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-19 11:13:36 +02:00
Julien Nabet edc78d10a9 Fix deprecation in fontconfig (Linux only)
The patch fails for Windows so I put it specifically for Linux.

Done with the advice from Chatgpt (GPT-5.5)

With Python 3.14.6 from Debian testing (updated 2026-07-18) and no python in autogen.input
Traceback (most recent call last):
  File "/home/julien/lo/libreoffice/workdir/UnpackedTarball/fontconfig/fc-const/./fc-const.py", line 181, in <module>
    main()
    ~~~~^^
  File "/home/julien/lo/libreoffice/workdir/UnpackedTarball/fontconfig/fc-const/./fc-const.py", line 158, in main
    type=argparse.FileType('w'),
         ~~~~~~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3.14/argparse.py", line 1368, in __init__
    warnings.warn(
    ~~~~~~~~~~~~~^
        "FileType is deprecated. Simply open files after parsing arguments.",
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        category=PendingDeprecationWarning,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        stacklevel=2
        ^^^^^^^^^^^^
    )
    ^
PendingDeprecationWarning: FileType is deprecated. Simply open files after parsing arguments.

Traceback (most recent call last):
  File "/home/julien/lo/libreoffice/workdir/UnpackedTarball/fontconfig/fc-genericfamily/./fc-genericfamily.py", line 189, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/julien/lo/libreoffice/workdir/UnpackedTarball/fontconfig/fc-genericfamily/./fc-genericfamily.py", line 156, in main
    type=argparse.FileType("w", encoding="utf-8"),
         ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/argparse.py", line 1368, in __init__
    warnings.warn(
    ~~~~~~~~~~~~~^
        "FileType is deprecated. Simply open files after parsing arguments.",
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        category=PendingDeprecationWarning,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        stacklevel=2
        ^^^^^^^^^^^^
    )
    ^

Change-Id: I5a9e319562642c94b81076a33433a29ace32f400
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208245
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-19 11:04:43 +02:00
Julien Nabet a4f0887060 Fix i18npool module loading in collator part
Using Japanese UI and launch Writer, I got:
warn:sal.osl:143295:143295:sal/osl/unx/module.cxx:101:
dlopen(/home/julien/lo/libreoffice/instdir/program/libi18npool.so, 1):
/home/julien/lo/libreoffice/instdir/program/libi18npool.so:
共有オブジェクトファイルを開けません: そのようなファイルやディレクトリはありません

Relevant bt part:
0  osl_loadModuleAscii (pModuleName=0x7fff6aba41e0 "/home/julien/lo/libreoffice/instdir/program/libi18npool.so", nRtldMode=0) at /home/julien/lo/libreoffice/sal/osl/unx/module.cxx:105
1  0x00007f9c439695af in osl_loadModule (ustrModuleName=0x556c8611d650, nRtldMode=0) at /home/julien/lo/libreoffice/sal/osl/unx/module.cxx:74
2  0x00007f9c438d9bf6 in osl_loadModuleRelative
   (baseModule=0x7f9c1df58d40 <i18npool::thisModule()>, relativePath=0x7f9c1dc7fad0 <template parameter object for rtl::OUStringLiteral<15ul>{rtl::OUStringLiteral<15ul>::{unnamed type#1}{.more=rtl::OUStringLite>
3  0x00007f9c1df575a4 in i18npool::Collator_Unicode::loadCollatorAlgorithm (this=0x556c86305dd0, rAlgorithm="phonetic (alphanumeric first)", rLocale=..., options=0)
   at /home/julien/lo/libreoffice/i18npool/source/collator/collator_unicode.cxx:160

Change-Id: I99ce11a351dc5e1e67bebbd65148b860d94b4f9c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207876
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-07-10 12:56:18 +02:00
Julien Nabet 7a7339462b Remove useless svgpaint.cxx, it only contains an include of svgpaint.hxx
Change-Id: I006f2fa09a03a2bcfd4510ef084fcb35228916d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207883
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-07-10 09:16:22 +02:00
Julien Nabet 9ced3a0230 tdf#172714: fix errors in tablestyles.xml when inserting a table
I suppose after 4fb31ea85f
tdf#105933 GSoC: New Dialog to Edit Table Styles

Following Karthic's advice, I removed all
style:font-name style:font-name-asian style:font-name-complex attributes

+ "skip exporting these in `SvxTableStylesExport::exportTextProperties`"

Change-Id: I90f440d6db7ec4024f1900c8061f1675debff6ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207815
Tested-by: Jenkins
Reviewed-by: Karthik Godha <karthik.godha@collabora.com>
2026-07-09 15:51:25 +02:00
Julien Nabet f7b81f9789 Add check-sid-slots.py
the main idea is from an Hossein's script in https://gerrit.libreoffice.org/c/core/+/207697
then I tried to improve it a bit with Chatgpt GPT-5.5

The goal is to detect duplicated slots.

Change-Id: I918b475d8987fd191f972769bcc14e58b0ce2521
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207734
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-08 11:00:37 +02:00
Julien Nabet b887afe9f8 Fix collision 96 (SID_ZOOM_TOOLBOX and SID_ATTR_TRANSFORM_DELTA_ANGLE)
Found with:
python3 bin/check-sid-slots.py SID_SVX_START

Change-Id: I0fc734a61721158e1b81aed03531c7ba65b6b4bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207746
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-07-08 10:59:44 +02:00
Julien Nabet 27c25a69c6 Fix 1711/1731/1732/1736 collisions in include/sfx2/sfxsids.hrc
Change-Id: I653caf765016086c76461e5a4e9ff4f22226f027
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207716
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-07 13:52:01 +02:00
Julien Nabet 4bded290f4 Fix 594/598/805 collisions in include/sfx2/sfxsids.hrc
Change-Id: Ia94ca9eb130b437600915b10ad6d8279d1f011c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207717
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-07 13:47:00 +02:00
Julien Nabet 9a56d3e117 Fix SID_SHOW_LICENSE collision in include/sfx2/sfxsids.hrc
It collided with SID_REPAIRPACKAGE
both were defined in b9337e22ce (in 2013)

Change-Id: Id0eab9c5aecf9594d7d70c53e1c110b104acccb3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207708
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-07-07 13:09:00 +02:00
Julien Nabet 304019c8b7 Fix SID_QUICKFIND collision in include/sfx2/sfxsids.hrc
Since 20088bd544
Detach QuickFindPanel
in July 2025

Change-Id: I43eb494a594ae2b75e883189be072bb2ab5b40df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207707
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-07-07 11:54:14 +02:00
Julien Nabet 0582e6880c Related tdf#162120: fix SvxTabStopItem expected message
Just launch Writer for example and notice this log on console:
warn:svx.dialog:651266:651266:svx/source/dialog/rlrcitem.cxx:75: SvxTabStopItem expected

Pb is SID_SVX_START + 946 is already used in include/svx/svxids.hrc with SID_ATTR_TABSTOP_VERTICAL
So use another free slot, SID_SVX_START + 1069
(which was indeed free contrary to what the comment said in include/svx/svxids.hrc)

Like this I suppose since 69e902d085
tdf#162120 Implement style:writing-mode-automatic (end of 2025)

Change-Id: I65c766ec1b8574fe7db5eca35bfd2c91735f3e2a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207697
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-07 10:40:56 +02:00
Julien Nabet f2623fc368 tdf#150659 / related tdf#102506 : use the specific tooltip only for Calc
and use the by default for the other modules.

Change-Id: I37f859568b23366afe363cdaa841d184baea8575
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207698
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-07-07 10:05:30 +02:00
Julien Nabet 28711b69f5 tdf#119539: try to improve cover image info in epub for epub readers
Patch libepubgen so cover image has "cover" in its name and not "image"
+ add meta info

Adapt qa tests.

Change-Id: I0177113b113050252aac5bc2e1b5efc0a3ed2613
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207575
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-07-06 12:06:14 +02:00
Julien Nabet 03f6b2b44a Update git submodules
* Update dictionaries from branch 'master'
  to 6ec44b0eb1779af3b4ef5f4e34d7caf4f8f288a9
  - Fix regression from fe691977c619b2ca764531b3507e83fab4732651
    
    See console log:
    warn:lingucomponent:89424:89424:lingucomponent/source/spellcheck/spell/sspellimp.cxx:172: missing <file:///home/julien/lo/libreoffice/instdir/program/../share/extensions/dict-fr/dictionaries/fr.aff>
    
    Change-Id: Ie561be8af15a70285c8e139a96e41d0597ce961d
    Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/207644
    Tested-by: Julien Nabet <serval2412@yahoo.fr>
    Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-05 13:40:59 +02:00
Julien Nabet acca177416 Update git submodules
* Update dictionaries from branch 'master'
  to e13b2aa178669cb0b79610a18e97788ed7b9b3c7
  - fr_FR: remove .idx file and its reference in makefile
    
    idx are automatically generated by solenv/gbuild/Dictionary.mk
    Quotation:
    339 # An index for the thesaurus is generated and added to the dictionary as
    340 # well.
    
    Change-Id: Iebc9f294fa257d5d6d413fb6df3628a14a063ed2
    Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/207643
    Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
    Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-05 12:35:29 +02:00
Julien Nabet 6a1573b552 Related tdf#171372: "$" must be at the beginning of replaceTo string
It avoids:
LocaleDataWrapper::getCurrFormatsImpl: CurrPositiveFormat?
ar-SA requested
ar-SA loaded
warn:unotools.i18n:398549:398549:unotools/source/i18n/localedatawrapper.cxx:1449: LocaleDataWrapper::getCurrFormatsImpl: CurrPositiveFormat?
ar-SA requested
ar-SA loaded

LocaleDataWrapper::getCurrFormatsImpl: CurrNegativeFormat?
ar-SA requested
ar-SA loaded
warn:unotools.i18n:398549:398549:unotools/source/i18n/localedatawrapper.cxx:1449: LocaleDataWrapper::getCurrFormatsImpl: CurrNegativeFormat?
ar-SA requested
ar-SA loaded

+ this kind of log:
SvNumberFormatter::ImpInsertFormat: no [$...] on currency format code, index 13:
[⃁-$401] #٬##0٫00;[⃁-$401] #٬##0٫00 -
ar-SA requested
ar-SA loaded
warn:unotools.i18n:398549:398549:unotools/source/i18n/localedatawrapper.cxx:1449: SvNumberFormatter::ImpInsertFormat: no [$...] on currency format code, index 13:
[⃁-$401] #٬##0٫00;[⃁-$401] #٬##0٫00 -
ar-SA requested
ar-SA loaded

Change-Id: I01f4e92dae64262ee2e101179db94b3178a9199f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207627
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-07-05 10:01:46 +02:00
Julien Nabet a801329c93 Update git submodules
* Update dictionaries from branch 'master'
  to 2e502080bc295db6e15c4e4b4ed9f8c7d5b9cdf6
  - Fix fe691977c619b2ca764531b3507e83fab4732651
    
    "icon.png" file has been replaced by "french_flag.png"
    
    Change-Id: I8f8d3ab5e1726abf22d29d1a4805c920b5e9de52
    Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/207638
    Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
    Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-05 09:10:41 +02:00
Julien Nabet c0d0589289 Update git submodules
* Update dictionaries from branch 'master'
  to 25d7793000bc9a149de365e170b67fe255769000
  - Fix regression from 44f958e5773b8701b64af9aaba0c728d2418542b
    
    Without this patch, I got:
    warn:lingucomponent:126146:126146:lingucomponent/source/spellcheck/spell/sspellimp.cxx:172: missing <file:///home/julien/lo/libreoffice/instdir/program/../share/extensions/dict-sv/dictionaries/sv_SE.aff>
    warn:lingucomponent:126146:126146:lingucomponent/source/spellcheck/spell/sspellimp.cxx:172: missing <file:///home/julien/lo/libreoffice/instdir/program/../share/extensions/dict-sv/dictionaries/sv_FI.aff>
    
    Change-Id: Ifa5dfbc2f795a5386d675165d5180b46f8b4fd61
    Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/207613
    Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
    Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-07-04 18:56:07 +02:00
Julien Nabet 22a3a3f0e9 tdf#172325: Crash when toggling "Use CJK manuscript grid" (take 2)
I tried to understand the mayhem of notification/broadcast and finally gave up.
After more searching, I found that we can lock the view and that's why I used.
I hope it doesn't bring some regression but at least QA tests seem ok.

Change-Id: I067703e2c7cacd884548f768c4f2d983975a1d99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207477
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-06-29 23:49:31 +02:00
Julien Nabet 19044c0847 Fix -Wunnecessary-virtual-specifier in include/svx/svdundo.hxx
Change-Id: I3b79685571c044225b7f796aece952abb73b77d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207478
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-06-29 21:51:38 +02:00
Julien Nabet a80cea95fd Call EndListening on the current m_pBasePool before StartListening the new one
Change-Id: I9880077600e93a3f40c28bb6e44ee8dc4d53ea3f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207387
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-06-28 12:48:19 +02:00
Julien Nabet 3fceaee085 -Werror,-Wimplicit-fallthrough in vcl
/home/julien/lo/libo_perf/vcl/unx/generic/dtrans/bmp.cxx:123:9: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
  123 |         default:
      |         ^
/home/julien/lo/libo_perf/vcl/unx/generic/dtrans/bmp.cxx:123:9: note: insert '[[fallthrough]];' to silence this warning
  123 |         default:
      |         ^
      |         [[fallthrough]];
/home/julien/lo/libo_perf/vcl/unx/generic/dtrans/bmp.cxx:123:9: note: insert 'break;' to avoid fall-through
  123 |         default:
      |         ^
      |         break;
1 error generated.

when with don't use enable-debug.
So we need #ifdef NDEBUG/#endif to not have "unreachable code" error.

Change-Id: I15b8b2af79d13de0140522d4537f85951b2c55d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207195
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-06-23 21:51:30 +02:00
Julien Nabet 092be3ff6e Fix some wrong commented numbers
Change-Id: Ib27cd8e631a186a50bb686dd7533ba6eb60671fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207087
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-06-22 08:53:15 +02:00
Julien Nabet 2c81d753ef tdf#115376: distinguish ordered/unordered list in epub export
I thought I could just mimick the existing mechanism to retrieve list styles
but a list style is defined with:
- 1 "text:list-style" tag which only contains the attribute "style:name"
- several (most of times 10) "text:list-level-style-number" or "text:list-level-style-bullet" subtags
Remark: these subtags contains other elements but we haven't dealt with them

I'd have hoped there was a simpler way but I haven't found it.

Change-Id: I438dbca7769f3d4110818df414f0997886180c59
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207020
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-06-20 12:57:41 +02:00
Julien Nabet f3099242a3 Related tdf#115376: generate ol and li tags for lists
+ change testList QA test accordingly

TODO: in this commit we always use ordered list (since it's the example of the bugtracker)
but we should find the way to know if we must use ordered or unordered list.

Change-Id: Ibcc5281a1fae869808af7054128e412a18bec3e5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205853
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-05-31 09:11:44 +02:00
Julien Nabet dd769ab47f tdf#119112: during epub export, each svg image appears twice
It's because by default LO also insert replacement image since svg is a vector format
but for epub we shouldn't use this mechanism.
So retrieve the old value of AddReplacementImages option and set it to false temporarily.

Change-Id: I5156c386a089fa0f88018872e546afc3a1e0b5f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205807
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-05-28 17:32:33 +02:00
Julien Nabet 3bfc07df1c Related tdf#128540: remove "direction" attribute in css (invalid for epub)
The next step is to add "dir" in xhtml, see David Tardon's comment:
https://bugs.documentfoundation.org/show_bug.cgi?id=128540#c14

Change-Id: Iffad13ce4db29af4d37768af73f53e5eb3e013af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205798
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-05-28 17:32:25 +02:00
Julien Nabet 43bc0b8c3a tdf#172008: blacklist Intel Iris Xe Graphics for Skia
Change-Id: I055ef48e1ae713969195fd6682d43ac790364a99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205797
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-05-28 11:22:32 +02:00
Julien Nabet c9df26ea09 Epub export, add "jpeg" extension in the mimetype search of the cover-image
Without the patch, media-type of cover-image in OEBPS/content.opf is empty.
(found with epub validator)

Change-Id: I74c8098d4cbbedcd899fdc473e485724e66a4dd1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205721
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-05-26 17:56:50 +02:00
Julien Nabet 773867d93a Fix license
Change-Id: I0604e442066403b3aef46c68bdf4d8483732b7a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205667
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-05-25 16:27:56 +02:00
Julien Nabet d57034d11f Revert "Introduce OPropertyImplHelper as a replacement for OPropertySetHelper"
This reverts commit 6116db6154.

Reason for revert: it makes Tinderbox on Master for Linux fail

Change-Id: I157dcd68c057475a5a677a87efb5d1e347207585
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205648
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-05-25 09:18:55 +02:00
Julien Nabet 100fcb9ca3 tdf#172188: Crash when switching para direction in editeng
Test bLeftToRight to know if we must use StaticWhichCast with SID_ATTR_PARA_LEFT_TO_RIGHT
or SID_ATTR_PARA_RIGHT_TO_LEFT

It requires to add "TypedWhichId<SfxBoolItem>" for SID_ATTR_PARA_RIGHT_TO_LEFT

Regression from c0b0a18f5c:
Related tdf#140226: use StaticWhichCast in ww8graf+drwtxtex (sw)

Change-Id: I59f98d7b3285c12154ad69e9e2727d66ea1dfd3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205476
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-05-21 17:34:13 +02:00
Julien Nabet cb09069696 tdf#172076: Animated PNG - Image filter not found
Everything was already there, there was just last element missing

Change-Id: Ide157ed9f6bded1ac91d49589373d06f7f1bf2c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205210
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-05-15 08:30:42 +02:00
Julien Nabet 43d95af711 Update git submodules
* Update helpcontent2 from branch 'master'
  to bd88e80374d12024de5ae94494a7c14840e09ee4
  - tdf#172035: fix MINFS doc
    
    Change-Id: If4cd3f22eaad44a142899ecebf71aa2b23ef4ccb
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/205026
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-05-10 15:08:12 +02:00
Julien Nabet 49904fa438 Revert partly 1c890385b8
Open Base, then Tools/Table Filter...
gives:
soffice.bin: /home/julien/lo/libreoffice/vcl/unx/gtk3/gtkinst.cxx:14618:
(anonymous namespace)::GtkInstanceTreeView::GtkInstanceTreeView(GtkTreeView *, GtkInstanceBuilder *, bool):
Assertion `!gtk_tree_view_get_show_expanders(m_pTreeView) && "a liststore can only be used if no tree structure is needed"' failed.

part of bt when asserting
4  0x00007ff19ec30424 in __assert_fail_base
    (fmt=<optimized out>, assertion=<optimized out>, file=<optimized out>, line=<optimized out>, function=0x7ff18c553d4f "(anonymous namespace)::GtkInstanceTreeView::GtkInstanceTreeView(GtkTreeView *, GtkInstanceBuilder *, bool)") at ./assert/assert.c:118
5  0x00007ff18c6d6341 in (anonymous namespace)::GtkInstanceTreeView::GtkInstanceTreeView (this=0x556ee931d0b0, pTreeView=0x556eea917940, pBuilder=0x556ee93149c0, bTakeOwnership=false)
    at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtkinst.cxx:14618
6  0x00007ff18c6d5814 in std::make_unique<(anonymous namespace)::GtkInstanceTreeView, _GtkTreeView*&, (anonymous namespace)::GtkInstanceBuilder*, bool>
    (__args=@0x7ffd2853c190: 0x556eea917940, __args=@0x7ffd2853c178: 0x556ee93149c0, __args=@0x7ffd2853c177: false) at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:1084
7  0x00007ff18c69ed9a in (anonymous namespace)::GtkInstanceBuilder::weld_tree_view (this=0x556ee93149c0, id="treeview") at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtkinst.cxx:24074
8  0x00007ff118cee620 in dbaui::OTableSubscriptionPage::OTableSubscriptionPage
    (this=0x556ee9f2bba0, pPage=0x556eea92a460, pTablesDlg=0x556ee894b490, _rCoreAttrs=SfxItemSet of pool 0x556ee92f4e00 with parent 0x0 and Which ranges: [(1, 61)] = {...})
    at /home/julien/lo/libreoffice/dbaccess/source/ui/dlg/tablespage.cxx:56
9  0x00007ff118cf2c8e in std::make_unique<dbaui::OTableSubscriptionPage, weld::Container*, dbaui::OTableSubscriptionDialog*, SfxItemSet&>
    (__args=@0x7ffd2853c410: 0x556eea92a460, __args=@0x7ffd2853c408: 0x556ee894b490, __args=SfxItemSet of pool 0x556ee92f4e00 with parent 0x0 and Which ranges: [(1, 61)] = {...})

Change-Id: I629acb671ce0d1baaa83f3740109487ffdef2d8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205025
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-05-10 14:39:42 +02:00
Julien Nabet de4e1bd6f5 Related tdf#171889: remove remnant SpellingAndGrammarDialog in sc
Change-Id: I55dcbd4c61f6f4d276c5881b4607a2df47c91a07
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204608
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2026-04-30 15:07:05 +02:00
Julien Nabet 8c32f885ad Related tdf#171889: Spell Check icon crashes in Calc with GroupedBar
This interface can only be selected when experimental mode is enabled.

Remark: I modified 2 lines but never found where the second one was used.

Change-Id: Iaacbf7469b34d3bb3b309b00d89635138c67dfc8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204558
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-04-29 13:47:36 +02:00
Julien Nabet 088987b3ed tdf#171889: Spell Check icon crashes in Calc with GroupedBar/Tabbed Compact
Change-Id: I121e80ac66d8cfdd79295e0779214737a2953650
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204551
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-04-29 13:42:52 +02:00
Julien Nabet d6a551d89f Fix WASM TB undeclared function 'rand_s' in expat lib
Change-Id: I3fd7cb8072083a77982a2beb469a44ea4618316e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204509
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-04-28 20:33:13 +02:00
Julien Nabet 5169acac23 Fix GtkTreeView suggestionslb could use GtkListStore for better performance
Change-Id: Ic161ea3c0ef8f83acc407ed38d1fa6e6c7fdc017
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204503
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-04-28 14:14:28 +02:00
Julien Nabet ea3816d1c7 Related tdf#140226: use StaticWhichCast in AccessibilityCheck (sw)
Change-Id: I6175bbd150166183b31a150520cd239e29854c84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204473
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-04-28 08:54:36 +02:00
Julien Nabet 5fdf0a21d5 Related tdf#171816: fix link in wizards module files
Change-Id: I6968a34dc22fd999a44409d43876f40970d2fb60
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204355
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-04-27 21:57:34 +02:00
Julien Nabet c0b0a18f5c Related tdf#140226: use StaticWhichCast in ww8graf+drwtxtex (sw)
Change-Id: I869f707b40f57c91994dc68545a8154ea8c70e10
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204472
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-04-27 21:56:46 +02:00
Julien Nabet 4f1d95b0cc Related tdf#140226: use StaticWhichCast in svdmodel (svx)
Change-Id: I996114745bbc53a70b12d5f9da0765eefd01bb47
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204471
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-04-27 21:45:05 +02:00
Julien Nabet 73bbc860d1 Fix FIXME comment + add extra info
Change-Id: I80cbe8bd38104229807ea467d95cec4b4edd5d53
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204470
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-04-27 17:48:45 +02:00
Julien Nabet 1f38dc2c69 Related tdf#140226: use StaticWhichCast in fupage.cxx + 2 hrc (sd+include/svx)
+ remove dynamic_cast<const SfxBoolItem*>

Change-Id: I252a901218bef56a3b9cd9234387bfb7d4e36871
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204364
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-04-27 08:50:35 +02:00
Julien Nabet b0e6e6c350 Related tdf#140226: use StaticWhichCast in drviews7.cxx (sd)
Change-Id: I8615e6dfe94d105ce819b60f68ad774afd30759c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204365
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-04-26 15:39:48 +02:00
Julien Nabet 062a34deb3 Related tdf#140226: use StaticWhichCast in editeng
Change-Id: Ic69aefcac1f32de19def6a1611304deee0331857
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204356
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-04-26 13:58:21 +02:00
Julien Nabet a909fbdaeb Related tdf#140226: use StaticWhichCast in annotationmanager.cxx (sd)
Change-Id: I6ea981af240bc87f46c9b6f70e3a05d8fd089b8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204362
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-04-26 13:29:04 +02:00
Julien Nabet 9d510964a9 Related tdf#140226: use StaticWhichCast (chart2 part 2)
+ simplification of some other cases of static_cast with nWhichId

Change-Id: Ic54b0e2814c253494f69b9f3f926e349f3be035f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204316
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-04-25 08:41:21 +02:00
Julien Nabet abed1869c0 Related tdf#140226: use StaticWhichCast (chart2 part 1)
Change-Id: I28a55455bf85e98edc5226c721d5da1bc4dab862
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204085
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-04-22 08:32:39 +02:00
Julien Nabet 30bb2b6954 tdf#164685: Remove SfxItemSetFixed
Change-Id: Id9a8a699ae42aa8d9a2b1398dbb5468623cd334c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203958
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-04-20 17:18:28 +02:00
Julien Nabet 95c28f1faa Related tdf#164685: Cleanup class SfxItemSetFixed (sw remnants)
Change-Id: Ideb392dadad9dabc08d978bdc23ecc4cc671c7c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203940
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-04-20 12:29:03 +02:00
Julien Nabet 05f7513a5f Related tdf#164685: Cleanup class SfxItemSetFixed (sw remnants part1)
Python script used:
import re
from pathlib import Path

def transform(content: str) -> str:
    i = 0
    out = []
    n = len(content)

    while i < n:
        if content.startswith("SfxItemSetFixed<", i):
            i += len("SfxItemSetFixed<")

            # --- parse template <...> avec équilibrage ---
            depth = 1
            start = i
            while i < n and depth > 0:
                if content[i] == '<':
                    depth += 1
                elif content[i] == '>':
                    depth -= 1
                i += 1

            template = content[start:i-1]

            # --- skip espaces ---
            while i < n and content[i].isspace():
                i += 1

            # --- variable ---
            m = re.match(r'[A-Za-z_]\w*', content[i:])
            if not m:
                out.append("SfxItemSetFixed<" + template + ">")
                continue

            var = m.group(0)
            i += len(var)

            # --- skip espaces ---
            while i < n and content[i].isspace():
                i += 1

            # --- arguments (...) ---
            if i >= n or content[i] != '(':
                out.append("SfxItemSetFixed<" + template + ">" + var)
                continue

            i += 1
            depth = 1
            start = i
            while i < n and depth > 0:
                if content[i] == '(':
                    depth += 1
                elif content[i] == ')':
                    depth -= 1
                i += 1

            args = content[start:i-1]

            # --- remplacement ---
            out.append(f"SfxItemSet {var}(SfxItemSet::makeFixedSfxItemSet<{template}>({args}))")

        else:
            out.append(content[i])
            i += 1

    return ''.join(out)


def process_file(path: Path):
    text = path.read_text(encoding="utf-8")
    new_text = transform(text)

    if new_text != text:
        backup = path.with_suffix(path.suffix + ".bak")
        backup.write_text(text, encoding="utf-8")
        path.write_text(new_text, encoding="utf-8")
        print(f"Updated: {path}")


# --- scan files ---
for ext in ("*.cxx", "*.hxx"):
    for file in Path(".").rglob(ext):
        process_file(file)


Change-Id: I6b90d403777422d0d7aaa7b49bc117e653441eb7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203935
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-04-19 21:35:17 +02:00
Julien Nabet 793fd70ad6 Related tdf#164685: Cleanup class SfxItemSetFixed (sd remnants)
Change-Id: I34403867da234aa5ff826bd860bab5ee2830c2af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203929
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-04-19 16:41:28 +02:00
Julien Nabet 3e4038f8e3 Related tdf#164685: Cleanup class SfxItemSetFixed (sw/filter)
script used:
find . -type f \( -name "*.cxx" -o -name "*.hxx" \) -print0 | \
xargs -0 perl -pi.bak -e 's/SfxItemSetFixed<([^>]+)>\s+([A-Za-z_]\w*)\s*\(([^;]+)\)/SfxItemSet $2(SfxItemSet::makeFixedSfxItemSet<$1>($3))/g;'

Change-Id: Ib8b776e95d203e7c68e4f97d0bc40dcb1699d51b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203930
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-04-19 16:10:26 +02:00
Julien Nabet 185828ef82 Related tdf#164685: Cleanup class SfxItemSetFixed (sw/qa)
script used:
find . -type f \( -name "*.cxx" -o -name "*.hxx" \) -print0 | \
xargs -0 perl -pi.bak -e 's/SfxItemSetFixed<([^>]+)>\s+([A-Za-z_]\w*)\s*\(([^;]+)\)/SfxItemSet $2(SfxItemSet::makeFixedSfxItemSet<$1>($3))/g;'

Change-Id: I1dde28a1ab3ea881ee50e938a704f286ce62546d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203933
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-04-19 15:59:44 +02:00
Julien Nabet 09c0b45db7 Related tdf#164685: Cleanup class SfxItemSetFixed (sw/ui-uibase)
script used:
find . -type f \( -name "*.cxx" -o -name "*.hxx" \) -print0 | \
xargs -0 perl -pi.bak -e 's/SfxItemSetFixed<([^>]+)>\s+([A-Za-z_]\w*)\s*\(([^;]+)\)/SfxItemSet $2(SfxItemSet::makeFixedSfxItemSet<$1>($3))/g;'

Change-Id: I89ecbd478cf7a4feea778047db1ec582c17ba06b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203931
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-04-19 15:59:14 +02:00
Julien Nabet dacbe7bce8 Related tdf#164685: Cleanup class SfxItemSetFixed (sw/core)
script used:
find . -type f \( -name "*.cxx" -o -name "*.hxx" \) -print0 | \
xargs -0 perl -pi.bak -e 's/SfxItemSetFixed<([^>]+)>\s+([A-Za-z_]\w*)\s*\(([^;]+)\)/SfxItemSet $2(SfxItemSet::makeFixedSfxItemSet<$1>($3))/g;'

Change-Id: Id9fef8919ccc222f8026e00fd4690078f4504dae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203926
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-04-19 13:09:23 +02:00
Julien Nabet 87b34ae064 Related tdf#164685: Cleanup class SfxItemSetFixed (starmath)
Change-Id: I40cb625032b695295571bf1041d0a95ccfe72685
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203924
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-04-19 12:50:28 +02:00