Commit Graph
520867 Commits
Author SHA1 Message Date
Neil Roberts d926f62338 lokdocview: Use m_pTileBuffer.get instead of &*m_pTileBuffer on unique_ptr
Using &* can be problematic if the pointer is null. In this case it
probably doesn’t matter, but using unique_ptr::get() is probably easier
to understand anyway. This also paves the way for a later compiler
plugin to check for this.

Change-Id: If0ece4548b44080acf6db7f8c0ac37922d1a197c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211749
Tested-by: Jenkins
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
2026-10-07 08:40:46 +02:00
Neil Roberts 0ac807366d redlndlg: Use unique_ptr::get() instead of &*ptr
Using &* to get the pointer out of a unique_ptr can be problematic if
the pointer is null. In this case that probably can’t happen, but either
way using get() makes the code easier to understand. This also paves the
way for a compiler plugin to detect this in a later patch.

Change-Id: Ib5291002581565e227dd6ca30570ecee63ef7cba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211748
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
Tested-by: Jenkins
2026-10-07 08:40:25 +02:00
Caolán McNamara f666a74220 ofz#500542909 svl: don't broadcast an unchanged SetHidden or SetFollow
During import, hidden is set on every page style. Each time, every sheet
using that style is repaginated, which lays out the header and footer
again.

In the fuzzed document those 44 repaginations took 48.75s of its 49s,
and now 1.8s.

SetFollow gets the same check for consistency.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ibdacc93203873d2c6498bf4444d5cc64e929aa83
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/14217
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
(cherry picked from commit d84523bd599f0fabc46ce4f82a6907f938aef55e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211811
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-10-07 08:40:24 +02:00
Justin Luth 78e93a21ec tdf#173510 sw: update preview when convert table style is de-selected
This fixes a 26.8 regression from
commit 4fb31ea85f.

Change-Id: I947edd9ecc1f5c0e23e864dbf904b5652f79af50
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211928
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2026-10-07 04:11:19 +02:00
Justin Luth 8ebbdee2d2 tdf#173510 sw: do not default to a table style when converting to table
This fixes a 26.8 regression from
commit 4fb31ea85f.

Over the years we keep battling people who want to add borders
to tables by default. This last time was even worse
since it applies an entire table style,
and table styles simply have never worked well.

So do NOT default to infuriating results.

Change-Id: I804ddbf14b8d4b609793bbb4bd1fa7be3f905358
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211927
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
2026-10-07 04:10:37 +02:00
Justin Luth 327a555d56 tdf#173510 svx: update preview when table style is de-selected
This fixes a 26.8 regression from
commit 4fb31ea85f

Change-Id: Ifbd749eccbf6a5bb5f292100d0d16c6eb9246109
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211926
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2026-10-07 04:09:57 +02:00
Justin Luth 197863f377 tdf#173510 sw: allow AutoFormat styles to remove table style
You can remove a table style by Ctrl-clicking on the selected one.
(Probably nobody will find this - it probably needs a help tip.)

This was kind-of working before 26.8 (when chosing 'None')
but not as 'nice'.

Then at least it STOPPED applying the style when new changes are made.

I assume that a lot of the work that when into table styles
in 26.8 made it so that with this patch's change,
the existing format is cleared to nothing as the style is removed.

Clearing the existing seems like a good thing to me.

Change-Id: I174b3e8a408995500598937bbb548250c80bc40f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211925
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2026-10-07 04:09:06 +02:00
Justin Luth a3be6f8c43 tdf#173510 sw: prevent another crash when table style deselected
This fixes a 26.8 regression from
commit 513bfbd476

With the table style deselected (via Ctrl-click),
pressing the OK button caused LibreOffice to crash.

Change-Id: If79d0c0bbd8c1b3f269ebb0b712f39a00b1f4fab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211924
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2026-10-07 04:08:27 +02:00
Justin Luth f74731de65 tdf#173510 svx: prevent a third crash when table style deselected
This fixes a 26.8 regression from
commit 4fb31ea85f.

It looks like it was a mistake to not include it here in the first place,
but doubly so when a table style is deselected (via Ctrl-click).
In that case, if the user pressed the edit button,
LibreOffice would crash because of an attempted -1 index access.

Change-Id: I98038dad3693fba26d17022bec75bd201340c1cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211923
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2026-10-07 04:07:44 +02:00
Justin Luth c08511c560 tdf#173510 svx: prevent another crash when table style deselected
This fixes a regression from
commit 4fb31ea85f

When you de-select a table style in Table - AutoFormat Styles,
then the checkboxes below were left enabled despite a -1 index,
so the rename and renew buttons would crash.

Change-Id: I3c9601476f874116e43387ee40e934932a44b311
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211922
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2026-10-07 04:07:13 +02:00
Justin Luth dc7f772380 tdf#173510 svx: prevent crash when table style deselected
This fixes a 26.8 regression from
commit 4fb31ea85f.

When Table - AutoFormat styles has the style de-selected (via a Ctrl-click),
then SelFormatHdl would call UpdateChecks and crash
when GetData tried to access an index of -1.

Change-Id: I2302436d19ef99584cdb7c4e41738894756e9e8a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211921
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
2026-10-07 04:03:01 +02:00
Justin Luth 90a6b78435 tdf#173510 sw: do not default to a table style when inserting one
This fixes a 26.8 regression from
commit 4fb31ea85f.

Over the years we keep battling people who want to add borders
to tables by default. This last time was even worse
since it applies an entire table style,
and table styles simply have never worked well.

So do NOT default to infuriating results.

Note that this depends on the prior patch
to prevent LO from crashing...

Change-Id: I639286ac1f66883f3dd3f41a3d027a75e9ac1d97
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211918
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2026-10-07 01:24:10 +02:00
Justin Luth 7390c517c7 tdf#173510 sw: prevent crash when table style deselected
This fixes a 26.8 regression that can cause LO to crash,
from commit 2f16debb36.

A -1 is possible!
Hold down the Ctrl key to deselect the selected table style.
Since GetData requires a valid index, the -1 crashes the lookup.

The assert was added by Caolan just to silence warnings.
It OUGHT to be possible to have a -1,
so we desperately need to handle it.

One side effect of the -1 is that the preview window
needs to be updated. So that change is included in this patch.
It basically ends up being a partial revert of 2f16debb36.

P.S. I don't know how m_xTAutoFormat would already have a value,
but that has been like that since introduction,
so I decided not to fiddle with it.
But surely you cannot run the OKHdl more than once...

Change-Id: Ieae175072c17b20e79a139b434eae2fed09ca655
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211917
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2026-10-07 01:23:26 +02:00
Andreas Heinisch 9329964052 tdf#108295 - Set the initial focus explicitly to the first input field
Change-Id: Icc16abfb305c457ac08323d8b56366c376e80e41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211893
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2026-10-06 22:49:35 +02:00
Xisco Fauli c64f9804ac expat: upgrade to 2.9.0
With this new version, the build started to fail with
error: ‘XML_Size XML_GetCurrentColumnNumber(XML_Parser)’ is deprecated: please use XML_GetCurrentColumnNumber64 instead [-Werror=deprecated-declarations]
so we need to check the expat version in case the system expat
is older than 2.9

Also add 0001-fix-XML_GE-is-not-defined-evaluates-to-0-Werror-unde.patch
to fix
error: "XML_GE" is not defined, evaluates to 0 [-Werror=undef]
1087 | # if XML_GE == 1
| ^~~~~~
cc1plus: all warnings being treated as errors

Change-Id: If4f1d652941b7766ed94b65a6eaa018f37c89387
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211867
Tested-by: Jenkins
Tested-by: René Engelhard <rene@debian.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-06 22:29:58 +02:00
Xisco Fauli 4257ff7382 harfbuzz: upgrade to 14.6.0
Downloaded from https://github.com/harfbuzz/harfbuzz/releases/download/14.6.0/harfbuzz-14.6.0.tar.xz

Change-Id: Ifc87857cd35503e432326869cae6b1c2b7a9d3b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211896
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-06 21:19:12 +02:00
Xisco Fauli 4b870e7fcf dbaccess: port test from java to c++
I would like to turn this into an easyhack but first I want
to revert
commit 42190cd153
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date:   Mon Mar 31 12:38:35 2025 +0200

    Revert "Move SingleSelectQueryComposer.java tests to C++"

    This reverts commit d1ec7e9077.

    To avoid deadlocks on jenkins.

and see where CI deadlocks

Change-Id: I99a4b0ac035421cd255c51f69946b52d6ae6635f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211888
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-06 21:18:49 +02:00
Mike Kaganski a36c7459d1 Fix unit test testPieTextArea
CppunitTest_oox_shape failed in the gerrit_linux_gcc_main and
gerrit_linux_clang_dbgutil_main builds like

    oox/qa/unit/shape.cxx:1170:testPieTextArea::TestBody
    double equality assertion failed
    - Expected: 6673
    - Actual  : 6691
    - Delta   : 10

The test from 2ac8858b10699c897dd530c8b1434bd9604a4aff (tdf#149918 fix
pie in presetShapeDefinitions.xml, 2026-10-06) checked the BoundRect of
the shape, which includes the ink of its text; text layout changes merged
meanwhile probably moved that ink. Check the text frame that the preset
defines instead; it does not depend on fonts or line metrics.

Signed-off-by: Mike Kaganski <mike.kaganski@collabora.com>
Change-Id: Ica16e4457cc150e9115dfc9994abd3f801778621
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/14447
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit 0bcc06cdc592bf7c9828b694b00acb7fed07eccf)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211889
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-06 21:18:29 +02:00
Christian Lohmaier 7922a1233c Update git submodules
* Update translations from branch 'master'
  to eb0ac524bb996151fdbc4e78ec1f28effbc0c5b9
  - update translations for master
    
    and force-fix errors using pocheck
    
    Change-Id: If8145fd30a2efc5506f32661c464cbd1603c154a
2026-10-06 19:36:49 +02:00
Michael Weghorn 016b2c1135 qt: Don't require to pass QtFrame to QtGraphicsBase::ImplGetResolution
Both callers in subclasses pass the own frame. Use it
directly instead of requiring that callers pass it explicitly.

Change-Id: I5e40e86a0f6b4e76838234aacc32de71aad8ef22
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211746
Tested-by: Jenkins
Reviewed-by: Dan Williams <dcbw@libreoffice.org>
2026-10-06 16:50:13 +02:00
Michael Weghorn 1caec31b97 qt: Move QtFrame* member down to QtGraphicsBase base class
All of the 3 QtGraphicsBase subclasses
(QtGraphicsBackend, QtGraphics, QtSvpGraphics)
have their own QtFrame* member.

Deduplicate by moving it to the shared QtGraphicsBase
base class and adding a protected getter.

This will also allow having more QtFrame-related
logic directly in the base class in the future.
(An upcoming commit will get rid of the need to
pass the frame to QtGraphicsBase::ImplGetResolution
and it might e.g. also help to centralize new logic for
QtGraphics and QtSvpGraphics suggested to be added in pending
Gerrit changes [1] and [2].)

[1] https://gerrit.libreoffice.org/c/core/+/210650/6
[2] https://gerrit.libreoffice.org/c/core/+/210651/8

Change-Id: Ie6775b7dae0f1c8a68169ddbd746d3244b01e200
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211745
Tested-by: Jenkins
Reviewed-by: Dan Williams <dcbw@libreoffice.org>
2026-10-06 16:50:08 +02:00
Aron Budea 52277daba8 cool#16279 sd: inherited autofit in PPTX lost on import
When an empty PPTX presentation was opened and saved,
its Title and Content layout/master slide lost its
autofit setting.

Original slide master had <a:normAutofit/> element
in its placeholders, which turned into <a:noAutofit/>.

This happened, because on import the inherited property
got overwritten by the default no autofit.

Change-Id: If9842d4c53eb283b9497b46198aaea4911413bc9
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/14276
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit afe4932986453513ea1a50b1143de3827f39c0ed)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211865
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-10-06 16:26:14 +02:00
Andreas Heinisch a6c7e25105 tdf#125846 - Avoid deleting fly formats one by one
Avoid deleting fly formats one by one while the document is destroyed
since DeleteAndDestroyAll removes all fly formats at once in
SwDoc::~SwDoc afterwards.

Change-Id: Ie62ead75a3ba1cdfa47d072c329e8d9fec9387ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211864
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Tested-by: Jenkins
2026-10-06 16:13:28 +02:00
Olivier Hallot a60d879f81 Update git submodules
* Update helpcontent2 from branch 'master'
  to 5cb7c905920ce835f1a171c73e42b510eae6d63d
  - tdf#152689 Set Like operator as a VBA operator
    
    + Some refactor
    + Added "VBA" for StrConv
    + The Like operator works even without "Option VBASupport 1". However, the implementation was carried to match VBA, and restricted the patterns to VBA compatible.
    
    Change-Id: I1cbe5d9a67a27da561eb8a64b5dc6103bd036fe3
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/211892
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2026-10-06 16:03:54 +02:00
Olivier Hallot 9609c61799 Update git submodules
* Update helpcontent2 from branch 'master'
  to ce0d999b0d1163a3cb4acbb58cfe50ab7555342d
  - tdf#152689 Add Like operator to Contents in Basic
    
    Change-Id: I79c70d405054099eb072f6c288757af142e15569
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/211890
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2026-10-06 14:56:01 +02:00
Regina Henschel 5044a9a571 tdf#149918 fix pie in presetShapeDefinitions.xml
The preset definition pie has exchanged values for top and right of
text area rectangle. This will be fixed at ISO, see
https://github.com/sc34wg4/OOXMLSchemas/commit/48a982f78a37e18f4e76791d4f25eeb4877f3300
It is not known yet, when the next version of the standard will be
released. However, I see no reason why we not already use the correct
values.
The scripts in oox/source/drawingml/customshapes/ do not work for me.
Thus I have changed the values manually.

Signed-off-by: Regina Henschel <rb.henschel@t-online.de>
Change-Id: I01297f18ec61133626d8a53042049788cac0e451
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/12814
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit 2ac8858b10699c897dd530c8b1434bd9604a4aff)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211861
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-06 14:35:43 +02:00
Caolán McNamara 958f1409e5 note a document event from HTML import like the other HTML events
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I73da657a72b0ac7cb6f58d2cd766a3ab292bf8b1
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/13667
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-on: https://gerrit.collaboraoffice.com/c/core/+/14076
(cherry picked from commit d5ed5aeaa64aa89329b6350ad254d88c101a8fdc)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211799
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-10-06 12:17:50 +02:00
Neil Roberts 6804c10b45 SwXCellRange: Use UnoCursorPointer::get() instead of &*
Using &* can be problematic if the pointer is null. In this case I don’t
think it matters, but using UnoCursorPointer::get() is probably easier
to understand anyway. This also paves the way for a later compiler
plugin to check for this.

Change-Id: I01f77acc36cd1f96c6b438b9d6db005d0b08416a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211755
Tested-by: Jenkins
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
2026-10-06 10:02:46 +02:00
Caolán McNamara e9263897ec ofz#568590554 Integer-overflow
writerfilter::dmapper::BorderHandler::lcl_attribute
 writerfilter::rtftok::RTFReferenceProperties::resolve
 writerfilter::dmapper::DomainMapper::sprmWithProps

\brdrw2147483647 now reaches BorderHandler as 858993458 eighths of a
point, and converting that back to twips overflowed int

regression since:

commit 68c853c46592d3ac4c79d8dede0dd88b5a080b3e
Date:   Wed Sep 23 20:01:06 2026 +0000

    ofz#563849779 Integer-overflow

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I5c65ffbcb3cd04a48392f1bbf67509a43914adf3
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/14216
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit 24c0fe4de7334a8ccfed18929078fcb48642cba4)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211810
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-10-06 09:58:14 +02:00
Xisco Fauli c8f0fd8d11 fast_float: upgrade to 8.3.1
Downloaded from https://github.com/fastfloat/fast_float/archive/refs/tags/v8.3.1.tar.gz

Change-Id: I6ab88acea962c1cc1ec6f0af4df991eebf99c2e5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211820
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-06 09:57:50 +02:00
Neil Roberts 24e58dc2c2 SwXTextPortionEnumeration: Use UnoCursorPointer::get() instead of &*
Using &* can be problematic if the pointer is null. In this case I don’t
think it matters, but using UnoCursorPointer::get() is probably easier
to understand anyway. This also paves the way for a later compiler
plugin to check for this.

Change-Id: Ic825149a64e945ad623d1a23ee8ca24655182b3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211754
Tested-by: Jenkins
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
2026-10-06 09:57:39 +02:00
Caolán McNamara 59caa00aba put refreshing database range imports under the link update control
like area links, sheet links, DDE and data mappings, so the refresh
timer waits until link updates are allowed, and a database range that
re-imports on a refresh delay counts as an external link so the
update links infobar is offered for it

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I470e80249cdbf5c4c65c7888e9873515b238d1a6
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/13975
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit 783c4ec2b092231fce5e87cb1a7451773cea7018)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211797
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-10-06 09:57:15 +02:00
Xisco Fauli 0cc2e2cbc7 poppler: upgrade to 26.10
Downloaded from https://poppler.freedesktop.org/poppler-26.10.0.tar.xz

Change-Id: I2124d5792fcf13c9d4667b80606e4aaa07e30067
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211808
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-06 09:56:22 +02:00
Stephan Bergmann ddb73f1538 Adapt compilerplugins to isCXX11ConstantExpr signature change
...in
<https://github.com/llvm/llvm-project/commit/2dc95bd763b87ffb563e2a90180bb7e8c49ec16a>
"[clang][AST] Make Result parameter of `isCXX11ConstantExpr` mandatory
(#226493)" towards LLVM 24

Signed-off-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Change-Id: I1f7d859559d095ab79e28a86a441c9c756b3fef7
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/14253
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
(cherry picked from commit 361d0cf87c1ed06f5437ec03c33f317bf8d9b864)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211835
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-10-06 09:55:20 +02:00
Stephan Bergmann 63301fc8d2 Prevent assertion in loplugin:cppunitassertequals
> clang++: /home/sberg/github.com/llvm/llvm-project/clang/lib/AST/ExprConstant.cpp:22171: bool clang::Expr::isCXX11ConstantExpr(const ASTContext &, APValue *) const: Assertion `!isValueDependent() && "Expression evaluator can't be called on a dependent expression."' failed.

as seen at engine/sc/qa/unit/ucalc_pivottable.cxx:269

>     CPPUNIT_ASSERT_EQUAL_MESSAGE("Unexpected data range.",
>                            static_cast<SCCOL>(FieldCount - 1), nCol2);

since 94299df72efeddb3d5af31396f5008300d66a90d "sc: Use #SPILL! error if the
pivot table output is blocked"

Signed-off-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Change-Id: I83f7949a7458ce030c13e94e2d9682ae080cc763
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/1895
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
(cherry picked from commit c3dec06e55716011a69d7b47163747007e05d905)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211834
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-06 09:55:14 +02:00
Szymon Kłos e7bbe1600d undo: group crop operations to revert in one step
- in Writer when crop was done on an image, to revert it
  the user needed click many times Undo

- group undo operations for crop (size, position, etc)

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I29d80e0b1abec67f2b48419e681908bfbcd648b8
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/13363
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.com>
(cherry picked from commit 3e57770dc8780abc60f16111cbf6f8b0c0aadb89)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211534
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-10-06 09:54:56 +02:00
Xisco Fauli c3dad39428 hunspell: upgrade to 1.7.5
Downloaded from https://github.com/hunspell/hunspell/releases/download/v1.7.5/hunspell-1.7.5.tar.gz

Change-Id: I5b88276a1ebc58f870fb15deceab81de3a412edd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211806
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-06 09:54:05 +02:00
Heiko Tietze ee7d5db2ba Resolves tdf#173108 - Improvements to Calc's View tab
+ rename "Freeze" to "Panes"
+ split Options into "View" for and "Options" for the last four commands
+ Remove "Function List" and replace it by "Styles"

Change-Id: Id662c3f09454f4a15a2593bff86b523c8d235997
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211823
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2026-10-06 06:58:08 +02:00
Olivier Hallot 65bbb1691f Update git submodules
* Update helpcontent2 from branch 'master'
  to 157b77431ac6fa9afa795eb96098d8c36cd6dd4a
  - tdf#173450 Add dynamic arrays to Help pages
    
    + Update dynamic array functions
    
    Change-Id: I1caafc7a924d93afc71991482f5bdfb9ada6bec1
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/211849
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2026-10-06 02:33:05 +02:00
Andrea Gelmini 7f03b3cf68 Remove duplicated include
Change-Id: I713d9f077a83eb9a64fc1a732caddf9c42bd7bef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211815
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-10-05 23:14:19 +02:00
Michael Weghorn e6dba93731 svtools: Drop now unused logic for custom ValueSetItem data
The last caller of ValueSet::SetItemData and
ValueSet::GetItemData was ported away from
using ValueSet in

    Change-Id: I423e80bba9e81a98e80652f6486970d40286362e
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Fri Oct 2 12:36:17 2026 +0200

        svx: Switch to weld::TreeView in LineWidthPopup

. Drop the now unused methods and the corresponding
ValueSetItem::mpData member that could previously be used
to store custom data in an item.

Similar logic still exists in weld::IconView
and weld::TreeView, which should generally be preferred
over using the custom ValueSet widget.

Change-Id: I7d58ff933cb78a1157d3628096a17f68ddf2034d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211737
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-10-05 22:59:50 +02:00
Michael Weghorn 9a61140c32 svx: Switch to weld::TreeView in LineWidthPopup
Instead of using a custom ValueSet subclass to
draw images and text next to them for selection
in the line width popup, use a weld::TreeView with
two columns: one for the image, and one for the text.

This is similar to what

      commit b185d34642
      Author: Michael Weghorn <m.weghorn@posteo.de>
      Date:   Fri Nov 28 14:12:04 2025 +0100

          tdf#168120 sc: Switch to weld::TreeView in CellLineStyleControl

did elswhere.

Adjust indices used to account for the fact that
weld::TreeView indices are 0-based while the ValueSet ones
are 1-based.

The special "Last custom value" entry so far was
using two separate images, depending on whether
or not it was enabled/sensitive or not: If it is
disabled, a greyed out variant of the image was used.
With the switch to weld::TreeView, leave that up
to the TreeView by simply enabling/disabling the
corresponding row using weld::TreeView::set_sensitive
for the corresponding row.

Drop the now unused LineWidthValueSet.

This switch to weld::TreeView reduces custom widget
logic and custom drawing and makes this more consistent
with other widgets used elsewhere (e.g. like for the
one mentioned in the commit above, the usual font
is used now as well, and it also aligns the behavior
more with that one.)

The popup for configuring the line thickness that uses
this code can be triggered like this:

* start Writer
* insert a chart using "Insert" -> "Chart..."
* select the chart wall in the chart
* open the "Properties" sidebar deck
* in the "Line" section of that sidebar deck, click on the
  "Thickness" button/combobox

Change-Id: I423e80bba9e81a98e80652f6486970d40286362e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211735
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-10-05 22:59:44 +02:00
Xisco Fauli 19ed84a1d5 CppunitTest_dbaccess_CRMDatabase_test: remove duplicated code
Change-Id: Id2c3504130413e4511980ebabca866465a981a86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211838
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-05 22:23:47 +02:00
Xisco Fauli 942302efea CppunitTest_sd_export_tests-ooxml4: split in two
it already has 111 tests

Change-Id: I1d0596702d2fc69389436c8d02ae074fb0287f9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211829
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-05 22:05:05 +02:00
Dmytro Kulyk 57cc833541 tdf#173712 sd: test numbering of PPTX lists that repeat startAt
The expected numbers are what PowerPoint for Windows shows.
The tests cover: the same startAt on every paragraph, a new startAt
or numbering type, plain and unnumbered paragraphs between items,
nested lists, and startAt from a:lstStyle.

Change-Id: I75d9bfc88ca2e1d73442b28fb039c20fc1f907be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211783
Tested-by: Jenkins
Reviewed-by: David Gilbert <freedesktop@treblig.org>
2026-10-05 22:03:02 +02:00
Dmytro Kulyk 8f242675c1 tdf#173712 oox: continue a PPTX numbered list that repeats startAt
PowerPoint writes the same startAt on every paragraph of a list, and
since tdf#168406 each startAt restarted it: 2. 2. 2. instead of 2. 3. 4.

Restart only when a list begins at that level or its numbering type or
startAt changes, a missing startAt being startAt="1". Paragraphs without
a bullet of their own, also without a:pPr, take it from a:lstStyle. Don't
set the restart flag in a:lstStyle itself: every paragraph inherits it.
An unnumbered paragraph ends the lists at its level and deeper.

Change-Id: I26720a6ba54a8050cfb6e0ba892096039c391c36
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211632
Reviewed-by: David Gilbert <freedesktop@treblig.org>
Tested-by: Jenkins
2026-10-05 22:02:45 +02:00
Caolán McNamara 1440fb4cb8 hsqldb: read textdb.allow_full_path only as a Java system property
as hsqldb 2.x does since 2.1.0

Change-Id: I17101ccd6e8af3adee46644b197d94498b4f32fb
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-on: https://gerrit.collaboraoffice.com/c/core/+/13829
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit 866cad0af60543757ea2ef5a2c484dc79f20d3d5)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211814
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-05 21:18:58 +02:00
Andreas Heinisch 970058a668 tdf#170842 - Check for missing table style info on plain database ranges
Change-Id: I8bed747726bd729fcef9b3845c8ba3e62f2ca2a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211786
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Tested-by: Jenkins
2026-10-05 21:15:16 +02:00
Xisco Fauli 06b74e4af3 zxcvbn-c: upgrade to 2.7
Downloaded from https://github.com/tsyrogit/zxcvbn-c/archive/refs/tags/v2.7.tar.gz

Change-Id: Ia259aeac26843b7f54a7eb562a2f5a5d3e6f2508
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211818
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-05 21:02:33 +02:00
Caolán McNamara 3130f90ac9 crashtesting: ClickAction_VANISH missing from translations
seen on converting ooo103896-3.odp to pdf

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I5fb08b84fd0b84f704421e0af9a47a8ef34af957
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/7232
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
(cherry picked from commit 7b41c8b3f607ff8e6bd3a0d6ec23ff481921b9aa)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208280
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-05 20:33:14 +02:00