Commit Graph
517348 Commits
Author SHA1 Message Date
Xisco Fauli fb486e04af setup_native: fix warning C4018: '<': signed/unsigned mismatch
After
commit 531fa71b48
Author: Alexandru Ogrezeanu <alexogrezeanu2004@gmail.com>
Date:   Wed May 6 23:37:12 2026 +0300

    tdf#147021 Replace SAL_N_ELEMENTS() macro with std::size()

Change-Id: Id6e2bb66eb9e74bda5891c77f4e59d179e1533a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205894
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-06-02 12:40:14 +02:00
Gabor Kelemen c72c31de14 tdf#162563 Drop Applet support from slideshow
Change-Id: I48aa6e8d0b7d97914bf14947a5ce1b18ca6844e4
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/3203
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 37fda958ab6ccb5fb0cab528fcc305ccf7ac6065)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205874
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-06-02 10:28:44 +02:00
Alexandru Ogrezeanu 531fa71b48 tdf#147021 Replace SAL_N_ELEMENTS() macro with std::size()
Change-Id: I40bdf727a41ec17e7b78aca6505ac468aaf73dd0
Signed-off-by: Alexandru Ogrezeanu <alexogrezeanu2004@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204894
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2026-06-02 09:50:49 +02:00
Michael Weghorn 7e1b368025 weld: Move ScreenShotEntry/ScreenShotCollection to own header
Move the ScreenShotEntry class and ScreenShotCollection
typedef out of weld.hxx into an own header, in
order to make it easier to keep an overview and to avoid
having to recompile ~all UI code when the class is
modified.

Change-Id: I3a040759e2ae6cd056613c598062e9716ee04649
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205888
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-06-02 08:46:42 +02:00
Michael Weghorn 216e201eba weld: Have dummy Window::GetLOKNotifier impl in base class
Instead of having a purely virtual weld::Window::GetLOKNotifier
and dummy implementations returning nullptr in all subclasses
except the vcl/SalInstanceWindow one, have a dummy implementation
right in the abstract weld::Window base class, which reduces
duplication.

Change-Id: Ice3a24f40f0108cd58c735dffe8a509b3d45fe66
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205879
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-06-02 08:46:36 +02:00
Xisco Fauli 078f2099d7 desktop: drop TraceEventDumper
'SAL_LOK_OPTIONS=profile_events' is not used anywhere
internally

Change-Id: I57a17c98412a87144dd5edca6efc213bc2f0367a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205891
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-06-02 00:55:44 +02:00
Xisco Fauli 89c5152164 desktop: drop methods using unused env variables
LOK_HELP_URL, LO_CERTIFICATE_DATABASE_PATH, DEEPL_API_URL
and DEEPL_AUTH_KEY are never used internally

Change-Id: I995768a7ecd4b56b249dee261574e6709cd5f639
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205890
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-06-02 00:55:39 +02:00
Adolfo Jayme Barrientos 3b7cc2bcfd Update git submodules
* Update helpcontent2 from branch 'master'
  to a2ce42584cae2413c0546836adaa033ab0a8c442
  - Make the right string translatable
    
    Change-Id: If49f8e1e70ab62d6538d1b58b57564bdb816d32f
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/205856
    Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
    Tested-by: Jenkins
2026-06-02 00:55:36 +02:00
Justin Luth 45220b4db7 tdf#137335 sw whitespace lineheight: bTmpDummy &= !pPor->GetLen()
It is not only tabstops that cancel a bTmpDummy,
so just use the consistent check to see if it is still bTmpDummy.

I also took the opportunity to prevent some minor processing,
which I also find a bit easier to code-read.

&= doesn't evaluate bTmpDummy first. In this case there is no point
in evaluating the other statements if bTmpDummy is already false.

Change-Id: Iea903960a98937ff5616d72981d3b380cc5429e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205884
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
2026-06-02 00:24:12 +02:00
Christian Lohmaier 7477ccae16 update credits
Change-Id: I9f15e44a5187d084a3a39a7913530556718ffda2
2026-06-01 22:16:56 +02:00
Christian Lohmaier a3d38f290d Update git submodules
* Update translations from branch 'master'
  to f2dd6916c8c5247a4cc77ec6f85df6fe65f580f5
  - update translations for master
    
    and force-fix errors using pocheck
    
    Change-Id: I24d08bb3ba5ff922531b237381bd7982fc6822e2
2026-06-01 21:49:32 +02:00
Noel Grandin 62f1a275e1 ofz#516502581 Heap-buffer-overflow
regression from
  commit 726a1ff3abce3a4eff5dd115182b15eccb653568
  reduce FormulaByteToken virtual calls

Change-Id: Ica3e5a6c32f03cfdb215eb3ab78d74284e951094
Signed-off-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/3497
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit 15d5ebba4151353127ddcb41aa2824dbe283788f)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205883
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-06-01 20:50:20 +02:00
Xisco Fauli b42f0ad65b Revert "notebookbar: move slide transition pane"
This reverts commit bb3316dfad.

This was only used by sd/uiconfig/simpress/ui/notebookbar_online.ui
which is gone after

commit fd65cea59c
Author: Xisco Fauli <xiscofauli@libreoffice.org>
Date:   Mon Jun 1 17:14:35 2026 +0200

    drop notebookbar_online.ui

Change-Id: Ic95bb218ca33b8c84d97f32f7a69af5fd5960339
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205887
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-06-01 20:45:08 +02:00
Xisco Fauli fd65cea59c drop notebookbar_online.ui
'SAL_LOK_OPTIONS=notebookbar' is not used anywhere
internally

Change-Id: Ibee2bf6d990ec53f7c2109bcfed451d37d70e8ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205885
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-06-01 20:44:45 +02:00
Xisco Fauli bbc79d4108 graphite: upgrade to 1.3.15
Downloaded from https://github.com/silnrsi/graphite/releases/download/1.3.15/graphite2-minimal-1.3.15.tgz

Change-Id: I4781db96e723a552dbb9b64a1be6284850bb2979
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205875
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-06-01 20:44:25 +02:00
Gabor Kelemen ccbbb20630 tdf#162563 Drop Applet and Plug-in object support in Writer filters
Change-Id: I3ddd4ed7629756506321edf51e747241b2d3e81d
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/3202
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 3abdb40559d69265100acf1b1c5c96596933c994)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205873
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-06-01 16:30:00 +02:00
Caolán McNamara 2961de8d41 ofz#517243149 Integer-overflow
reject non-Valid() rects

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I05f5ba73f0555d6b7dbf40c5e6dc20d876a7784a
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/3569
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
(cherry picked from commit 68b069d5c5d4a9276bf6d0b79c360002422365d3)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205870
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-06-01 16:01:04 +02:00
Caolán McNamara dbe1604818 ofz#518230883 Integer-overflow
page margins shouldn't negative, so clamp them to >= 0 on import.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Idbc180c1e7d710f9b655a188d41a1c573c28fb14
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/3568
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit e79cf4ad2adc9ed5bafdec2c23630471cb789e19)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205869
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-06-01 16:00:54 +02:00
Caolán McNamara ecaf7f7e00 crashtesting: defer dynamic-array resize while measuring optimal row height
ResizeMatrixFormula deletes cells from the column GetRangeScriptType is
walking, so the next ++ trips over the freed CellTextAttr block.
e.g. with forum-mso-de-138252.xlsx

 #23 ScColumn::GetRangeScriptType(mdds::mtv::soa::detail::iterator_base<mdds::mtv::soa::multi_type_vector<sc::CellTextAttrTraits>::iterator_trait>&, int, int, mdds::mtv::soa::detail::iterator_base<mdds::mtv::soa::multi_type_vector<sc::CellStoreTraits>::iterator_trait> const&) (this=0x7f1fa944e780, itPos=..., nRow1=nRow1@entry=0, nRow2=nRow2@entry=0, itrCells_=...) at sc/source/core/data/column2.cxx:2352
 #24 0x00007f1fc068c95c in (anonymous namespace)::FindEditCellsHandler::operator()(size_t, ScFormulaCell const*) (this=this@entry=0x7f1fae5fcdc0, nRow=nRow@entry=0, p=0x7f1fb445d1d0) at sc/source/core/data/column.cxx:2987
 #25 0x00007f1fc068f24e in sc::CheckElem<mdds::mtv::noncopyable_managed_element_block<54, ScFormulaCell>, mdds::mtv::soa::multi_type_vector<sc::CellStoreTraits>, (anonymous namespace)::FindEditCellsHandler>(mdds::mtv::soa::multi_type_vector<sc::CellStoreTraits> const&, mdds::mtv::soa::multi_type_vector<sc::CellStoreTraits>::const_iterator const&, size_t, size_t, (anonymous namespace)::FindEditCellsHandler&) (rStore=..., it=..., nOffset=nOffset@entry=0, nDataSize=nDataSize@entry=13, rFuncElem=...) at sc/inc/mtvfunctions.hxx:159
 #26 0x00007f1fc0692a0d in sc::FindElement2<mdds::mtv::soa::multi_type_vector<sc::CellStoreTraits>, mdds::mtv::noncopyable_managed_element_block<53, EditTextObject>, mdds::mtv::noncopyable_managed_element_block<54, ScFormulaCell>, (anonymous namespace)::FindEditCellsHandler, (anonymous namespace)::FindEditCellsHandler>(mdds::mtv::soa::multi_type_vector<sc::CellStoreTraits> const&, mdds::mtv::soa::multi_type_vector<sc::CellStoreTraits>::size_type, mdds::mtv::soa::multi_type_vector<sc::CellStoreTraits>::size_type, (anonymous namespace)::FindEditCellsHandler&, (anonymous namespace)::FindEditCellsHandler&) (rStore=..., nStart=nStart@entry=0, nEnd=nEnd@entry=12, rFuncElem=..., rFuncElse=...) at sc/inc/mtvfunctions.hxx:506
 #27 0x00007f1fc0692c64 in sc::FindFormulaEditText<(anonymous namespace)::FindEditCellsHandler>(sc::CellStoreType const&, SCROW, SCROW, (anonymous namespace)::FindEditCellsHandler&) (rStore=..., nRow1=nRow1@entry=0, nRow2=nRow2@entry=12, rFunc=...) at sc/inc/mtvcellfunc.hxx:140
 #28 0x00007f1fc0692ce1 in ScColumn::HasEditCells(int, int, int&) (this=this@entry=0x7f1fa944e780, nStartRow=0, nEndRow=12, rFirst=@0x7f1fae5fd074: 0) at sc/source/core/data/column.cxx:3333
 #29 0x00007f1fc06dabdd in ScColumn::GetOptimalHeight(sc::RowHeightContext&, int, int, unsigned short, int) (this=0x7f1fa944e780, rCxt=..., nStartRow=nStartRow@entry=0, nEndRow=nEndRow@entry=12, nMinHeight=nMinHeight@entry=0, nMinStart=nMinStart@entry=0) at sc/source/core/data/column2.cxx:949
 #30 0x00007f1fc0988ed0 in (anonymous namespace)::GetOptimalHeightsInColumn(sc::RowHeightContext&, ScColContainer&, SCROW, SCROW, ScProgress*, sal_uLong) (rCxt=..., rCol=..., nStartRow=nStartRow@entry=0, nEndRow=nEndRow@entry=12, pProgress=pProgress@entry=0x0, nProgressStart=nProgressStart@entry=0) at sc/source/core/data/table1.cxx:99
 #31 0x00007f1fc0989546 in ScTable::SetOptimalHeight(sc::RowHeightContext&, int, int, bool, ScProgress*, unsigned long) (this=0x7f1fb41403e0, rCxt=..., nStartRow=nStartRow@entry=0, nEndRow=12, bApi=bApi@entry=true, pOuterProgress=pOuterProgress@entry=0x7f1fae5fd5a0, nProgressStart=0) at sc/source/core/data/table1.cxx:508
 #32 0x00007f1fc075673d in ScDocRowHeightUpdater::updateAll(bool) (this=this@entry=0x7f1fae5fd7c0, bOnlyUsedRows=bOnlyUsedRows@entry=true) at sc/source/core/data/dociter.cxx:1701
 #33 0x00007f1fc07578ba in ScDocRowHeightUpdater::update(bool) (this=this@entry=0x7f1fae5fd7c0, bOnlyUsedRows=bOnlyUsedRows@entry=true) at sc/source/core/data/dociter.cxx:1629
 #34 0x00007f1fc0ed918e in ScDocShell::UpdateAllRowHeights(bool) (this=0x7f1fb4efb680, bOnlyUsedRows=bOnlyUsedRows@entry=true) at sc/source/ui/docshell/docsh5.cxx:450
 #35 0x00007f1fafae2cde in oox::xls::WorkbookGlobals::finalize() (this=this@entry=0x7f1fb445f9c0) at sc/source/filter/oox/workbookhelper.cxx:664

Wrap with MatrixResizeGuard to avoid this.

An issue apparently since:

commit 76b6825e4d237869cb32889b250277be693a2c5f
Date:   Sat Apr 25 08:29:48 2026 +0900

    sc: Auto-expand and contract dynamic array formulas

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I7ed5938cb1ad8d0f106e0f3c26d5f53f49255317
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/3572
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit 2a02ee1dcc573d56644b7ff6ead3629fcb23d402)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205868
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-06-01 15:08:07 +02:00
Xisco Fauli 7281f570cc libcmis: upgrade to 0.6.3
Change-Id: I835c68a209386d051d059b5b7d3a23ad8b2356f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205865
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-06-01 13:56:42 +02:00
Xisco Fauli 750af72a83 sc: fix warning C6011: Dereferencing NULL pointer 'pViewShell'
After
commit 0a231f1237
Author: Xisco Fauli <xiscofauli@libreoffice.org>
Date:   Fri May 29 10:55:41 2026 +0200

    drop isLOKDesktop and LOKDeviceFormFactor

E:\jenkins\workspace\lo_tb_master_win_analyze\sc\source\ui\app\inputhdl.cxx(1287) : warning C6011: Dereferencing NULL pointer 'pViewShell'. : Lines: 1136, 1139, 1140, 1141, 1142, 1143, 1144, 1146, 1147, 1148, 1150, 1151, 1152, 1153, 1155, 1157, 1158, 1159, 1160, 1162, 1161, 1163, 1165, 1166, 1167, 1177, 1276, 1277, 1280, 1281, 1283, 1284, 1285, 1286, 1287

Change-Id: I5f72b4ad71de94133a6127d57e357a3bf6dda15c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205864
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-06-01 13:21:13 +02:00
Christian Lohmaier 0988bd1b50 Update git submodules
* Update translations from branch 'master'
  to 336f42de3fd1bbbe92651da99dbb04b3085a6f45
  - fix sl build breaker, msgfmt enforces newline to match at start/end
    
    it is a fatal build breaker if the translated string doesn't match the
    source string with respect to starting / ending newline.
    
    Change-Id: I70ba38ee8c884b90a6bb96c25356f969002109bb
    Reviewed-on: https://gerrit.libreoffice.org/c/translations/+/205867
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2026-06-01 13:18:04 +02:00
Andreas Heinisch 5196674499 tdf#112256 - Always paint text for zero-width glyphs (combining diacritics)
Always paint text even for zero-width glyphs (combining diacritics) by
calling SwTextPortion::Paint() which already handles zero width. Adding
the additional check improves the readability of the change.

Change-Id: Ib4044a31c8f1999b15e0fc71f457243e642ad86d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205713
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Tested-by: Jenkins
2026-06-01 10:18:56 +02:00
Simon Chenery fbb8ae9c69 tdf#147021 avoid use of SAL_N_ELEMENTS macro in convertsimple.cxx
Change-Id: Ic17fd5f6ca2549a7581e061b8251a954a20b032a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201945
Reviewed-by: Hossein <hossein@libreoffice.org>
Tested-by: Jenkins
2026-06-01 10:01:56 +02:00
Michael Weghorn 6a299f8297 svtools: Port SvtLineListBox from ValueSet to weld::TreeView
Use a weld::TreeView inset of the custom ValueSet widget
for the SvtLineListBox that can be used to select a line
style.

Show the name of the line style in a column next to the
icon, which makes this more consistent with the popup used
to set a line style for Calc cells in the "Properties"
sidebar deck, section "Cell Appearance".

Using weld::TreeView also helps to be more consistent with
other platform/toolkit widgets and reduces use of custom
widget logic (implemented in the ValueSet class).

Some notes:

* ValueSet uses a 1-based ID for its items. weld::TreeView
  uses a 0-based index, so adjust places using those
  accordingly.

* Use the weld::TreeView handler for item activation
  (set with weld::TreeView::connect_item_activated) instead
  of the ValueSet selection handler (set with
  ValueSet::SetSelectHdl) and activate single-click activation
  (using the GtkTreeView::activate-on-single-click property
  in the UI file) so that a single click on an item still activates
  it but keyboard navigation using the arrow keys doesn't.

SvtLineListBox gets used e.g. in the control to pick the line style
in Writer's "Format" -> "Page Style" dialog, tab "Borders".

Adjust a UI test accordingly (use TreeView widget, use
new 0-based indices and press the Return key after selection,
to activate selected entry).

Change-Id: I54fb1d2a49774c6c64eda0ad5de7af36c3603cee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205821
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-06-01 08:53:16 +02:00
Michael Weghorn dd6b1237e3 uitest: Move IconViewUIObject::get_state logic to base
ID and position are not specific to IconView but
apply for the SvTreeListBox base class just the same.

Move the logic to set those properties in the UI test
to the TreeListUIObject base class, so it can be reused
for SvTreeListBox/weld::TreeView tests in an upcoming
commit.

Change-Id: Ia6f27e714cebfe6a6cdc1bf0558c50ff09e41757
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205840
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-06-01 08:53:09 +02:00
Michael Weghorn 6578c698b4 svtools: Avoid SvxBorderLineStyle <-> ValuSet item ID casting
No longer use the underlying integer value for the
SvxBorderLineStyle enum values for the ID of the
ValueSet items in SvtLineListBox.
Instead, use the usual approach of using a 1-based
index and use/determine that index as needed to
find the corresponding enum value/item ID.

This avoids casting and prepares for an upcoming
commit that will port away from using ValueSet
to use weld::TreeView instead.

SvtLineListBox gets used e.g. in the control to pick the line style
in Writer's "Format" -> "Page Style" dialog, tab "Borders".

Adjust a UI test accordingly to use the new item IDs.

Change-Id: I754e2b399643003c9f06ab6b3b34c3ad021f2b95
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205820
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-06-01 08:53:03 +02:00
Adolfo Jayme Barrientos d0ee3df5d4 tdf#171455 Update extended tip for CJK manuscript grid
Jun Nogata pointed out in Weblate 4 years ago that this badly written
description made it seem like the option had the reverse effect of
making the grid square, when in fact enabling it adds a ruby line.

Change-Id: I34d71f7dfbcfc38e1e4ada2d210298c1ff68f1b3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205857
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2026-06-01 08:16:23 +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
Adolfo Jayme Barrientos 9adbf98b7a Update git submodules
* Update helpcontent2 from branch 'master'
  to 4072dc84a8db9834afbffe1ed1fa7495173e2d31
  - Use the verb “click” for UI widgets
    
    Change-Id: I81c6a874c658960e358ed20630ecf1f2f63ffabb
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/205854
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2026-05-30 19:33:17 +02:00
Adolfo Jayme Barrientos 0da125d6ad Reword generic VCL control warning strings for clarity
Update the title and text of this infobar to be more concise and
user-friendly. "You are using generic controls!" is replaced with a
more neutral statement, and the recommendation is clarified to explicitly
mention a "desktop environment integration package", which may
help users who inadvertently forgot to add a missing dependency.

Follow-up to 999e18ad24

Change-Id: I9629b55dfa833a360f4569aa944dcabd2f433cde
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205844
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2026-05-30 02:44:38 +02:00
Jonathan Clark d7ebdd6255 tdf#56412 sw: Fix bad RTL-anchored fly positions after handle resize
SwFlyAtContentFrame::SetAbsPos() changes the position of a fly by
converting the absolute position into a relative position. In order to
perform this calculation for flys anchored to an RTL frame, the width of
the fly is required.

Using handles to resize a fly may require a position change in addition
to a size change. SwFlyAtContentFrame::SetAbsPos() is used to apply this
position change. Unfortunately, though, during the resize the fly frame
area size is invalid. SwFlyAtContentFrame::SetAbsPos() was using this
invalid frame size to calculate the new relative position, causing
strange behavior for RTL-anchored flys.

Change-Id: Ie54d488c295cfa0a0585ec4cdbacea187be6f8f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205845
Tested-by: Jenkins
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
2026-05-29 23:59:05 +02:00
Andrea Gelmini 712cac92a2 Fix typo
Change-Id: I4e8ad7149509748489dae7161d3b76e286ad12ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205831
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Jenkins
2026-05-29 18:41:45 +02:00
Andrea Gelmini d21e291c8f Fix typo
Change-Id: I0ff3448d5a75870751fd59793ba85e305bbe897f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205830
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Jenkins
2026-05-29 18:41:35 +02:00
Andrea Gelmini 950a1764a6 Fix typo
Change-Id: I63b994254711eb83fffe0e898389336618b15ac8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205829
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Jenkins
2026-05-29 18:41:25 +02:00
Andreas Heinisch 5166c0d53a tdf#170869 - Recalculate visible area when hiding whitespace
Recalculate visible area when hiding whitespace since pages become more
compact and the number of pages change.

Change-Id: Ie6e411a61d57d722eb998e1e2d1a853a43a7d2a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205833
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2026-05-29 16:09:38 +02:00
Heiko Tietze 999e18ad24 Resolves tdf#172256 - Show a warning when using the gen VCL backend
Infobar shown for gen AND Office::UI::Infobar::Enabled::WarnGenericVCL

Change-Id: Ia4d42bb7c3ca9cc3da9b7564f7a0b6edce78ee31
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205832
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2026-05-29 16:08:55 +02:00
Xisco Fauli 0a231f1237 drop isLOKDesktop and LOKDeviceFormFactor
follow-up of
commit 7579bac8e9
Author: Xisco Fauli <xiscofauli@libreoffice.org>
Date:   Fri May 29 10:46:04 2026 +0200

    drop isLOKTablet

and

commit f436c1cd89
Author: Xisco Fauli <xiscofauli@libreoffice.org>
Date:   Fri May 29 10:07:20 2026 +0200

    drop isLOKMobilePhone

Change-Id: I59604e56af75933acaa3ba6146e9b406d7a7845e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205828
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-05-29 15:13:09 +02:00
Caolán McNamara 50391b654f ofz#516218705 Bad-cast
Direct call to GetSingleRef became a cast to ScSingleRefToken since:

commit 003c0007c13e443fe4e520d1b70586266abf7811
Date:   Mon Apr 20 15:36:43 2026 +0200

    reduce Sc*Ref*Token virtual calls

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Icc95da1907ae1aed2688598d95eadf950cb62bbc
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/3443
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
(cherry picked from commit 97c5c0e1f47236f8d604cfe0c31c2dbb5341663c)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205836
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-05-29 15:12:58 +02:00
Andreas Heinisch 671c60f628 tdf#37654 - Add custom slide names to slide/page name
Change-Id: I5eace83ae8a81d456190dfd721f3d5dc03d0d8e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205753
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2026-05-29 14:23:27 +02:00
Pranam Lashkari 07b1781475 starmath OOXML import: stop quoting single-char math operators as literal text
When importing OOXML math formulas, encloseOrEscapeLiteral() quoted
every delimiter character, including standard math operators like =, -,
and +. StarMath then rendered them as text-font glyphs instead of
math-font operators. This caused the equals sign to misalign with the
fraction bar and the minus sign to render as a shorter text hyphen.

Skip quoting for single-character standard math operators (+, -, *, /,
=, <, >) so StarMath treats them as proper operators with correct glyph
selection and alignment.

A bare operator alone inside braces (e.g. rsup {+}) is a StarMath parse
error because the parser expects an operand. Add a safety re-quote in
readOMathArgInElement() for that case, since all its callers wrap the
result in {...}

Change-Id: I22f01a25212d3c030e8104a00418ab1f6bdb2d07
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/3329
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
(cherry picked from commit f2ccbc5a30dbac56b600747af655076d6f7058c2)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205823
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-05-29 13:59:37 +02:00
Heiko Tietze 18071bb0c1 Suppress gla11y warnings
Change-Id: I338965e204696955ce43569b00efe64311602654
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205794
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2026-05-29 13:45:01 +02:00
Xisco Fauli 7579bac8e9 drop isLOKTablet
follow-up of
commit f436c1cd89
Author: Xisco Fauli <xiscofauli@libreoffice.org>
Date:   Fri May 29 10:07:20 2026 +0200

    drop isLOKMobilePhone

Change-Id: I0b7774357071ea25069655dad33b2f3e2c02b835
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205827
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-05-29 13:38:57 +02:00
Xisco Fauli f436c1cd89 drop isLOKMobilePhone
follow-up of
commit 8b90f2cd18
Author: Heiko Tietze <tietze.heiko@gmail.com>
Date:   Thu May 28 09:05:55 2026 +0200

    Remove wordcount-mobile dialog

This commit also reverts
commit 5eec86d6c4
Author: Caolán McNamara <caolan.mcnamara@collabora.com>
Date:   Tue May 6 16:38:57 2025 +0100

    no searchicon (or searchbox) in mobile version of search dialog

Change-Id: I7dd37f5e6575f2f1b7748ce6c1bd6ddadb8c3e77
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205826
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-05-29 13:38:32 +02:00
Heiko Tietze 7312d7d3c9 Relates tdf#166641 - Add category labels to Writer's Tabbed Notebookbar
* gla11y-conform
* consistent IDs (gd*/lb* and btn*/bx*)
* consistent layout with grids
* defined spacing of 3px
* defined margins of 6px
* category labels
* redundant Insert sections from Home and Forms from Tools removed
* customization of Notebookbars removed since the new position
  of commands is not properly found

Change-Id: I9b08211f1cba76942fb827702a5c99913dfd6f0d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205443
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2026-05-29 10:55:35 +02:00
Andrea Gelmini af11adb61a Remove duplicated include
Change-Id: I2560d58216c3642f0f2adbd7c6c1c7a22378ebe0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205811
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-05-29 09:58:30 +02:00
Heiko Tietze 8b90f2cd18 Remove wordcount-mobile dialog
Too many accessibility issues for an unused dialog
Reverts 6f579657fb

Change-Id: If7df141a49881b494b05b4bd706b3cdf6fdbc839
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205793
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-05-29 08:12:18 +02:00
Tomaž Vajngerl 3b960ffb32 sc: Unify spill behaviour between dynamic array and matrix formulas
Entering =TRANSPOSE(...) (or any other auto expanded matrix formula)
over a range with a blocker correctly produced #SPILL!, but deleting
the blocker afterwards left the matrix stuck. Only formulas using a
dynamic array function (UNIQUE, SEQUENCE, ...) auto-resolved.

Use the same "spill and auto resolve" path for both kinds: any
formula that entered with the auto-expand spill check now keeps
re-evaluating its spill state on subsequent recalculation,
regardless of whether it uses a dynamic array function.
Conventional matrix where the user explicitly picked the range are
unaffected.

Change-Id: I0a9d214a2edfdad99856649289e439057a400374
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/2867
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit 679de09609c5da17a44ef34daa73d0380c0c7d37)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205805
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-05-28 20:10:03 +02:00
Tomaž Vajngerl e134b80e0a sc: Auto-resolve dynamic array #SPILL! on blocker delete via UI
Typing =SEQUENCE(4) (or any other dynamic array function) over a
range with a blocker in it correctly produced #SPILL!, but
deleting the blocker afterwards left the matrix stuck in #SPILL!.
The auto expanded entry path used a sticky error and never
registered the cell for spill resolution.

Switch the dynamic array case to a re-evaluable spill state so a
later cell change operation reconciles it. Conventional array
formulas keep the old sticky behaviour (for now).

Factor out the shared "mark this master as spilled" sequence into
MarkAsSpilled method, reused from the cached-spill XLSX/ODS import
path.

Change-Id: I437c516c1ad810e1c38bf6de742bc124933e8fa9
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/2866
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit 66927439f3bb0bcee0ace74ec90f70c0b821e5d1)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205804
Tested-by: Jenkins
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-05-28 20:09:56 +02:00
Tomaž Vajngerl 4efc11357b sc: round-trip dynamic array spill state through XLSX
Make the spill state of a dynamic array survive a saveAndReload
to XLSX and make the XLSX be properly accepted by MSO. There is a
special way, with dynamic array extension to the format, which
must be written to the file.

Export:
- Emit xl/metadata.xml with an XLDAPR dynamicArrayProperties block,
  and register it in [Content_Types].xml and workbook rels.
- Mark the master cell with cm="1" and write aca="1" + ca="1" on f.
  A 1x1 collapsed master is written as a single cell reference.
- Map the SPILL cell error to "#VALUE!", since OOXML has no #SPILL!
  literal. Recalc on reload reclassifies it back to SPILL.

Import:
- Remember "cm" on the cell. A cached "#VALUE!" on an array master
  with "cm" set is treated as a SPILL hint so the blocker survives.

Extend the XLSX round-trip tests in subsequent_export_test2.

Change-Id: I9209e43f3a398e23fc7ca46daf58a88546687dba
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/2865
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit eb85edc75e5100beb7802381175de914f4102a81)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205803
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-05-28 20:09:47 +02:00