Commit Graph
520211 Commits
Author SHA1 Message Date
Michael Weghorn ec8be139bc sc a11y: Return concrete type in ScAccessibleDocument::GetAccessibleSpreadsheet
Change-Id: I11d00468deff9438038eb8d66208a8772ccdf6fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210604
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:30:31 +02:00
Michael Weghorn a4f18a3ae9 chart2 a11y: Drop XAccessible::getAccessibleContext call
OAccessible returns itself in its XAccessible::getAccessibleContext
implementation and implements the XAccessibleComponent interface itself,
so there is no need to call the method and query for that interface.

Change-Id: I232d86a3c972a8313a6dc62a1b6c799c6b1a9d81
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210603
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:28:52 +02:00
Michael Weghorn bb11afbcd7 chart2 a11y: Switch AccessibleChartView::m_xParent to OAccessible
Switch AccessibleChartView::m_xParent from a weak
reference of the abstract XAccessible interface to
a weak reference of the more concrete OAccessible class.

Change-Id: Iba9f410979c079735b6c41723206b2ac76c1dc1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210602
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:28:43 +02:00
Michael Weghorn 5701442238 chart2 a11y: Use OAccessible in ChartController::impl_initializeAccessible
Switch to using the more concrete OAccessible instead
of the abstract XAccessible UNO interface.

Change-Id: I5ef11c3880788320dda6750409f36a04fcf40a06
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210601
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:28:36 +02:00
Andrea Gelmini e8fa15e0d6 Fix typos in code and comments
Change-Id: I48caad6ed035a1e46e434a685fc40376e0276fe5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210576
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 16:27:50 +02:00
Andrea Gelmini a486bdeef2 Fix typos
Change-Id: Ieb4e85c582ae37b6d83411b5e76303453bf8ea35
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210570
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 16:25:21 +02:00
Andrea Gelmini 8ee79ac196 Fix typos
Change-Id: Ic7a97a5219d8a0d30b1753c2502995ea4c2cd32f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210563
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-09-10 16:22:54 +02:00
Andrea Gelmini b36dd72872 Fix typos
Change-Id: Ie0d39dd4bb84d346ca2b19d0965e31fecc75d878
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210572
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-09-10 16:05:29 +02:00
Andrea Gelmini 3ff64935b4 Fix typos
Change-Id: I48e41434d3f451725a724cd86750731a9fc67fcc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210569
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 16:00:26 +02:00
Justin Luth ecb92a32f3 tdf#107230 dinfdlg: no 'Save preview image' if !GenerateThumbnails
Disable the checkbox to save preview image
if the expert config says thumbnails are not allowed to be generated.

Change-Id: I5c2cceffb3f0ac301814b347ce0d3a6eff0cc79f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210639
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2026-09-10 15:44:53 +02:00
Andrea Gelmini 850aab7852 Fix typos in code and comments + some reformatting.
Change-Id: I5b6d62104e46c6eb5d142e7e11666806383eed09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210566
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 15:15:58 +02:00
Andrea Gelmini 6410690a38 Fix typos in code and comments.
Change-Id: I8f1419c60c8aec0784e6de685ba7f630ae99638d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210571
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 14:00:17 +02:00
Andrea Gelmini 0a67034a16 Fix typos
Change-Id: I98237dabf4900f367e7ac63dbdceb2731dd5b269
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209755
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 13:54:18 +02:00
Andrea Gelmini 54204e6e1b Remove duplicated include
Change-Id: Ib86d589dc366499f5eb563c882570f741b003c2d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210597
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 13:53:16 +02:00
Xisco Fauli d9ff198304 xz/lzma: upgrade to 5.8.4
Downloaded from https://github.com/tukaani-project/xz/releases/download/v5.8.4/xz-5.8.4.tar.gz

Change-Id: Icf0c404dfc006722dc04ae4342ec9fbcfade5141
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210636
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-10 10:31:00 +02:00
Justin Luth 96dee50f31 tdf#157087 dinfdlg: recognize when SfxDocumentInfoItem changes
Since SfxDocumentInfoItem didn't compare m_bUseThumbnailSave
in operator==, it didn't notice that putting *pInfoItem
was different from the previous value.

It also isn't checking m_bUseUserData,
but that doesn't seem to matter in the current implementation
so I'll just leave that absent for now.

Change-Id: Ibd1e5b161a92f659c72b235885a7f01fdd9e4115
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210634
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2026-09-10 02:40:31 +02:00
Michael Weghorn 543ffb1e42 vcl: Drop unused SalInstance::BeforeAbort params
Only WinSalInstance overrides that virtual method
and it doesn't use the params. Drop them.

Change-Id: If3fd1130d1b678a253079672586401d48fa9a1c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210593
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-09 21:21:00 +02:00
Michael Weghorn 02083e4a5d vcl: Drop unused SalInstance::DoExecute param
The out param is unused in the only caller,
Application::Execute. Drop it.

Change-Id: I559e7e529300caffbb9d213c3387378dcbd4b8fb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210595
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-09 21:20:50 +02:00
Michael Weghorn f9963bc6e1 qt: Simplify QtInstance::DoExecute
Return early in case Application::IsUseSystemEventLoop
returns false, which allows dropping one indentation
level.

Change-Id: Iad385718f9f2bc228c5fc1ba954b63495c878b5d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210594
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-09 21:20:43 +02:00
Justin Luth 6e445abec2 tdf#173410 oox: only process corner cells if both row and col enabled
The table style definition allows for special definitions
for the first and last rows and columns.
That means that the corners are somewhat ambiguous,
so each corner cell can also have a special definition.

However, the corner cell definition only applies
if both that row AND column have a special definition.

Change-Id: Ia5a0ecc2f5cf5ecd0f63e83883a4b693669828e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210612
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2026-09-09 19:36:40 +02:00
Xisco Fauli 8d6b90bd84 sw: use HAVE_MORE_FONTS
like the other places in the code

Change-Id: I0fe240284e6129b0f0d6ed403a89ce00ada18c9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210598
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-09 17:24:20 +02:00
Andreas Heinisch 4a419fa33c tdf#173370 - Avoid unchecked GetSdrPageView()
Change-Id: I13c762e48209dadead24e3a1fec81b7bcd489d07
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210587
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2026-09-09 16:51:01 +02:00
Caolán McNamara e65a82d91b ofz#550481740 not a valid value for type EmfPlusHatchStyle
drawinglayer/source/tools/emfphelperdata.cxx:771:32: runtime error: load of value 4280295456, which is not a valid value for type 'EmfPlusHatchStyle'
     #0 0x7b14dd7d4d02 in emfplushelper::EmfPlusHelperData::EMFPPlusFillPolygon(basegfx::B2DPolyPolygon const&, bool, unsigned int) drawinglayer/source/tools/emfphelperdata.cxx:771:32
     #1 0x7b14dd7f903a in emfplushelper::EmfPlusHelperData::processEmfPlusData(SvMemoryStream&, drawinglayer::geometry::ViewInformation2D const&) drawinglayer/source/tools/emfphelperdata.cxx:1776:29
     #2 0x7b14dd7c020c in emfplushelper::EmfPlusHelper::processEmfPlusData(SvMemoryStream&, drawinglayer::geometry::ViewInformation2D const&) drawinglayer/source/tools/emfplushelper.cxx:41:14
     #3 0x7b14dd932d9d in wmfemfhelper::implInterpretMetafile(GDIMetaFile const&, wmfemfhelper::TargetHolders&, wmfemfhelper::PropertyHolders&, drawinglayer::geometry::ViewInformation2D const&) drawinglayer/source/tools/wmfemfhelper.cxx:2957:43
     #4 0x7b14dd919d51 in wmfemfhelper::interpretMetafile(GDIMetaFile const&, drawinglayer::geometry::ViewInformation2D const&) drawinglayer/source/tools/wmfemfhelper.cxx:2993:9
     #5 0x7b14dd470d93 in drawinglayer::primitive2d::MetafilePrimitive2D::create2DDecomposition(drawinglayer::geometry::ViewInformation2D const&) const drawinglayer/source/primitive2d/metafileprimitive2d.cxx:42:42
     #6 0x7f14fb527e4f in drawinglayer::primitive2d::BufferedDecompositionPrimitive2D::get2DDecomposition(drawinglayer::primitive2d::Primitive2DDecompositionVisitor&, drawinglayer::geometry::ViewInformation2D const&) const drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx:90:41
     #7 0x7b14dd4727d5 in TestImportWMF drawinglayer/source/primitive2d/metafileprimitive2d.cxx:149:16

so keep the hatch style as the value read from the stream, and an
unknown one then reaches the switch default

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I9725f2f80d3a00fbf82ac5a84cf55b5c071af68b
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/11529
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit 906c713f2cdd05372db04c1d807d31b1fff5377a)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210589
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-09-09 15:55:23 +02:00
Xisco Fauli ecac4d4e18 sc: Add extra LET and LAMBDA name shadow checks
Based on
https://git.libreoffice.org/core/+/6e9235b16bca194a11fff6a84b2ea4a1bda2c933%5E%21

Change-Id: I6289945f96730bbd817d24ba45c9286e2e18338c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210596
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-09 15:55:11 +02:00
Caolán McNamara 5134879789 crashtesting: don't read a frame that JoinFrame destroyed
reproduce by loading crashtesting (rtf) file:
swxtextframe_createtextcursorbyrange.sample
and exporting it to pdf:

 #0 SwContentNode::GetSwAttrSet (this=0x0) at sw/inc/node.hxx:750
 #1 SwTextFrame::RecalcAllLines at sw/source/core/text/txtfrm.cxx:4130
 #2 SwLayAction::FormatContent at sw/source/core/layout/layact.cxx:1870
 #3 SwLayAction::InternalAction at sw/source/core/layout/layact.cxx:640
 #4 SwLayAction::Action at sw/source/core/layout/layact.cxx:418
 #5 SwViewShell::CalcLayout at sw/source/core/view/viewsh.cxx:990

the frame at #2 has m_pMergedPara 0, GetDep() 0 and mbInDtor true, so
it was freed under the object formatting two statements earlier:

 SwFrame::DestroyFrame            (the follow)
 SwTextFrame::JoinFrame                       frmform.cxx:778
 SwTextFrame::AdjustFollow_                   frmform.cxx:681
 SwTextFrame::FormatAdjust / Format_ / Format
 SwContentFrame::MakeAll                      calcmove.cxx:1633
 SwFrame::Calc                    (the MASTER)
 SwAnchoredDrawObject::MakeObjPosAnchoredAtPara
 SwObjectFormatter::FormatObj_
 SwObjectFormatterTextFrame::DoFormatObj
 SwObjectFormatter::FormatObjsAtFrame_

FormatContent is formatting a follow frame. Placing a drawing object
anchored in that paragraph calls Calc on the master, the master reflows
and takes back its text, and JoinFrame then destroys the follow.

the loop already keeps an SfxDeleteListener on pContentPrev, so keep one
on pContent too and return false, and the caller invalidates the page and
runs it again.

no unit test, the layout tests only have the bundled fonts and this
document asks for Palatino Linotype. Only P052, its metric substitute,
keeps the layout that splits the paragraph, and P052 isn't bundled
either, so the document needs adjusting first.

reached since:

commit ac332d53d565325f3db2697126d97e02a15e4b5d
Date:   Wed Aug 26 21:02:06 2026 +0000

    crashtesting: pass the collected page number to CheckMovedFwdCondition

which dropped the DoFormatObj assert that used to stop this document
before the object formatting could complete the join.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I64e95ba6d3a6fda6ab585b5f319be2fb8bca8533
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/11273
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit ab7337476075e0b903ec5cb705821d8b3a14e9f7)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210590
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-09 15:18:26 +02:00
Xisco Fauli a8650d171a openldap: upgrade to 2.7.1
Downloaded from https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.7.1.tgz

Change-Id: Ia45c7b593be068bfb9f1cf8449ca1014e656681f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210586
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-09 15:17:25 +02:00
Ilmari Lauhakangas 5c4eeb28ba Update Ant in .winget files to point to 1.10.18
Switch to archive.apache.org for the URL as dlcdn does not retain old releases.

Change-Id: I295a1c8371ac543b73773749ba14e66671f8ced3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210561
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2026-09-09 14:53:20 +02:00
Arnaud Versini 8b2600bb4d sw : use more OUStringLiteral
Change-Id: Id0c3abbc2f44ca7ae818eeb357e435cc18793ea8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209730
Tested-by: Jenkins
Reviewed-by: Arnaud Versini <arnaud.versini@pm.me>
2026-09-09 14:08:03 +02:00
Caolán McNamara 890f388a78 move isScriptURLAllowed onto SfxObjectShell
it was private to sfx2's eventsupplier.hxx, so nothing outside sfx2
could run the AllowedDocumentEventURLs test

Change-Id: I814a965cafc245eb7b7f2d8fb18a81d1f7b7e50f
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/10920
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit 4a5b2dd74b4e82b183961ca8f50d80bd485d5359)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210591
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-09 12:59:48 +02:00
Jim Raykowski ffe5fec61c tdf#134960 and tdf#172401 related: Improve hyperlink navigation
Makes hyperlink ordering in Navigator and Navigate By follow the
order of document occurrence including hyperlinks in footnotes and
endnotes.

Previous to this patch hyperlinks in footnotes and endnotes
were always listed first in the Navigator hyperlinks catagory.

Navigate By hyperlinks follow the same order as hyperlinks listed in the
Navigator.

Change-Id: Id28c98d4fa8dc5b7174a3ad2cd803dffb7f5ae93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207376
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2026-09-09 12:57:58 +02:00
Xisco Fauli 32664765cf sw: drop obsolete check. Minimum GCC version is 13
Since
commit 16dd61ab4d
Author: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Date:   Sat Mar 21 08:40:09 2026 +0200

    Bump minimum GCC version to 13

Change-Id: I27c55512018b3c02e7d67467019088457e3b8c06
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210559
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-09-09 12:53:41 +02:00
DrRobotto 3251b11a4c tdf#146507 - Don't create an info printer for the font size menu
FontSizeMenuController::fillPopupMenu() built a printer and a font list
using it. Neither were used after the change from
pFontList->GetSizeAry() to FontList::GetStdSizeAry().

This construction ran once per context menu activation where it runs
through the printer driver on Windows. Hence, the delay was not present
on Linux.

Change-Id: Ia0d9bd6b789f6b99437e97373421cb13a744a9da
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210516
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2026-09-09 11:06:13 +02:00
Jason Whitmore a73823a4c1 chart2: Add unit tests for CalculateBSplines
Change-Id: I46af0b5c72ef96c42ea0eb60a5c8b6383a556cdf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208265
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-09 09:33:05 +02:00
Xisco Fauli 6971d69b6a svl: drop obsolete check. Minimum GCC version is 13
Since
commit 16dd61ab4d
Author: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Date:   Sat Mar 21 08:40:09 2026 +0200

    Bump minimum GCC version to 13

Change-Id: I4077e7dd81815ce281c1b6097d0abdc255685f6c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210558
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-09 09:31:25 +02:00
Xisco Fauli 406f55ced7 sc: drop obsolete check. Minimum GCC version is 13
Since
commit 16dd61ab4d
Author: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Date:   Sat Mar 21 08:40:09 2026 +0200

    Bump minimum GCC version to 13

Change-Id: I7e06e83b7987f36b20b764a164f2da22f022e25f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210557
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-09 09:31:19 +02:00
Xisco Fauli 866bd10639 mdds: drop obsolete check. Minimum GCC version is 13
Since
commit 16dd61ab4d
Author: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Date:   Sat Mar 21 08:40:09 2026 +0200

    Bump minimum GCC version to 13

Change-Id: I5ff7d526a2afd5c0b1d71d267ed90116d2441e8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210556
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-09 09:31:13 +02:00
Xisco Fauli f09f6ce641 cppu: drop obsolete check. Minimum GCC version is 13
Since
commit 16dd61ab4d
Author: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Date:   Sat Mar 21 08:40:09 2026 +0200

    Bump minimum GCC version to 13

Change-Id: I6f37996fc03b191eee78f3057323cb8d795e255f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210555
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-09 09:31:06 +02:00
Xisco Fauli 0514849637 oox: drop obsolete check. Minimum GCC version is 13
Since
commit 16dd61ab4d
Author: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Date:   Sat Mar 21 08:40:09 2026 +0200

    Bump minimum GCC version to 13

Change-Id: I8ac797a49acde27bc5f39af80e479bc5d218fd69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210554
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-09 09:30:51 +02:00
Andrea Gelmini b4db35eeb2 Fix typos
Change-Id: I1ab57e8e234c6bb25627f16c61d2e0e867b7ea04
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210177
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2026-09-08 22:48:42 +02:00
Vissarion Fisikopoulos 1ba114d561 Rephrasing STR_QRY_FORMAT_WARNING_2CHOICES string text
Change-Id: I4074ad27012bd207d0c09633cc232cd5179572fd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210553
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
Tested-by: Jenkins
2026-09-08 19:15:23 +02:00
Aya Jamal e2f7535f6b tdf#103680: Rendering stacks using OpenType math constants
Change-Id: I5efe4b12f753b33a425af7a4164adfe2214c2eb1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210473
Tested-by: Jenkins
Reviewed-by: Khaled Hosny <khaled@libreoffice.org>
2026-09-08 18:45:03 +02:00
Caolán McNamara 6b783a7cc7 ofz#557289178 the top text append might not be a SwXText
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Iae36ce22ac78d7d69dba9d70285cc07affcb03ae
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/11522
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
(cherry picked from commit aeda82ce2db65f0ed6f59fc4826eab8653ef4a6d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210541
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-08 16:17:04 +02:00
Caolán McNamara 6c859d0acd crashtesting: don't thread a formula that uses ocSpill
see on loading forums/xlsx/forum-mso-en4-748529.xlsx and doing a
hard recalculation, which aborts with:

 soffice.bin: sc/inc/formulacell.hxx:514: void ScFormulaCell::MaybeInterpret():
 Assertion `!rDocument.IsThreadedGroupCalcInProgress()' failed.

 #4  ScFormulaCell::MaybeInterpret at sc/inc/formulacell.hxx:514
 #5  ScFormulaCell::IsEmpty at sc/source/core/data/formulacell.cxx:3153
 #6  FillMatrixHandler::operator() at sc/source/core/data/column2.cxx:2636
 #7  sc::ParseBlock at sc/inc/mtvfunctions.hxx:66
 #8  ScColumn::FillMatrix at sc/source/core/data/column2.cxx:2708
 #9  ScTable::FillMatrix at sc/source/core/data/table1.cxx:2700
 #10 ScDocument::FillMatrix at sc/source/core/data/documen8.cxx:400
 #11 ScInterpreter::CreateMatrixFromDoubleRef at sc/source/core/tool/interpr5.cxx:386
 #12 ScInterpreter::ScSpilledRange at sc/source/core/tool/interpr1.cxx:1703
 #13 ScInterpreter::DispatchOpCode at sc/source/core/tool/interpr4.cxx:3868
 #14 ScInterpreter::Interpret at sc/source/core/tool/interpr4.cxx:4414
 #15 ScFormulaCell::InterpretTail at sc/source/core/data/formulacell.cxx:2209
 #16 ScColumn::CalculateInThread at sc/source/core/data/column2.cxx:3270
 #17 ScTable::CalculateInColumnInThread at sc/source/core/data/table1.cxx:2740
 #18 ScDocument::CalculateInColumnInThread at sc/source/core/data/documen8.cxx:421
 #19 Executor::doWork at sc/source/core/data/formulacell.cxx:5463

ScSpilledRange calculates cells itself. It calls MaybeInterpret on the
master cell of the dynamic array, and CreateMatrixFromDoubleRef then
covers the whole spill range, so FillMatrix asks every cell in that
range whether it is empty and IsEmpty calculates it. A worker thread
inside a threaded group calculation must not calculate a cell.

The dependency evaluator can't cover it either, only the operand's own
cell is named by a reference token and how far the spill reaches is
known only once that cell has been calculated

an issue since:

commit 9b97b0fc91bce4b8726ea210347e8ea84270e148
Date:   Mon Jul 6 13:09:39 2026 +0000

    sc: add the # postfix operator for spilled-range references

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Id58e88d1bd927576e4723dd23bc119673feed108
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/11285
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.com>
(cherry picked from commit 89af05e8a5e8ce4ae337e2f0048f670940573930)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210542
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-08 16:16:39 +02:00
Caolán McNamara fe9db2c8e1 ofz#557542656 negation of -2147483648 cannot be represented
drawinglayer/source/tools/emfphelperdata.cxx:451:83: runtime error: negation of -2147483648 cannot be represented in type 'sal_Int32' (aka 'int'); cast to an unsigned type to negate this value to itself
     #0 0x7b71c0dc8ec7 in emfplushelper::EmfPlusHelperData::mappingChanged() drawinglayer/source/tools/emfphelperdata.cxx:451:83
     #1 0x7b71c0de6a2d in emfplushelper::EmfPlusHelperData::EmfPlusHelperData(SvMemoryStream&, wmfemfhelper::TargetHolders&, wmfemfhelper::PropertyHolders&) drawinglayer/source/tools/emfphelperdata.cxx:1503:9
     #2 0x7b71c0dc0059 in emfplushelper::EmfPlusHelper::EmfPlusHelper(SvMemoryStream&, wmfemfhelper::TargetHolders&, wmfemfhelper::PropertyHolders&) drawinglayer/source/tools/emfplushelper.cxx:29:17
     #3 0x7b71c0f31dc6 in wmfemfhelper::implInterpretMetafile(GDIMetaFile const&, wmfemfhelper::TargetHolders&, wmfemfhelper::PropertyHolders&, drawinglayer::geometry::ViewInformation2D const&) drawinglayer/source/tools/wmfemfhelper.cxx:2923:37
     #4 0x7b71c0f19d51 in wmfemfhelper::interpretMetafile(GDIMetaFile const&, drawinglayer::geometry::ViewInformation2D const&) drawinglayer/source/tools/wmfemfhelper.cxx:2993:9
     #5 0x7b71c0a70d93 in drawinglayer::primitive2d::MetafilePrimitive2D::create2DDecomposition(drawinglayer::geometry::ViewInformation2D const&) const drawinglayer/source/primitive2d/metafileprimitive2d.cxx:42:42
     #6 0x7f71deb27e4f in drawinglayer::primitive2d::BufferedDecompositionPrimitive2D::get2DDecomposition(drawinglayer::primitive2d::Primitive2DDecompositionVisitor&, drawinglayer::geometry::ViewInformation2D const&) const drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx:90:41
     #7 0x7b71c0a727d5 in TestImportWMF drawinglayer/source/primitive2d/metafileprimitive2d.cxx:149:16

so negate the frame offsets as doubles

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I2cf478245f30f4573bfa5ccb2c6dcbe5c603e38b
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/11528
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
(cherry picked from commit f6f1f208a87c2a725e5c20c6a7453fa5679eca76)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210540
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-08 16:16:21 +02:00
Dan Williams a7dbde8b02 vcl/qt: implement margins for widgets and layouts
Change-Id: Icbe7423754905f1b22be88eb5234625c2cec9b93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210226
Reviewed-by: Dan Williams <dcbw@libreoffice.org>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-08 13:43:05 +02:00
Dan Williams 54604e9b1d vcl/qt: honor row-spacing/column-spacing for QGridLayout
Use the GtkBuilder internal spacing properties.

Change-Id: Ibb26505e343801cca2dc5f728a91821983f5aa4d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/206478
Reviewed-by: Dan Williams <dcbw@libreoffice.org>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-08 13:42:48 +02:00
Dan Williams e4e60f2769 vcl: standardize Reset dialog button response code
Qt plugin automatically orders buttons for each platform based on
the button's role, which we derive from the Gtk .ui file's
action-widget response code. But to do that conversion from response
code to Qt button role, we need a standard response.

Without a standard response, the button has no role, and gets ordered
to the right of OK/Cancel buttons on Mac. With the correct role, it
is correctly placed far-left along with the Help button.

Change-Id: I16d3126d4999649e7aa6e72ec5e7b1a25f48c2a3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210223
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Reviewed-by: Dan Williams <dcbw@libreoffice.org>
Tested-by: Jenkins
2026-09-08 13:42:17 +02:00
Dan Williams da86a85994 vcl/qt: set MessageBox/Dialog button role for correct platform button order
Button response IDs are parsed late in the process of building a widget layout
from .ui files because they have their own section at the end. They show up
via QtBuilder::set_response() long after the button has been added to its
QDialogButtonBox. There appears to be no API to set a button's response after
it's already been added, so we need to re-add the button when we finally know
its response ID. The button box will then remove and re-add the button in
the right platform-specific order based on the response ID.

Pull out the button box adding logic to a separate function so we can do
the same thing from the two places it's required.

Change-Id: I29527eabcf68105b5e8c6fbffd4ca3822b7a5acb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/206476
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Reviewed-by: Dan Williams <dcbw@libreoffice.org>
2026-09-08 13:41:56 +02:00
Xisco Fauli 11ccf42309 libxml2: upgrade to 2.15.4
Downloaded from https://download.gnome.org/sources/libxml2/2.15/libxml2-2.15.4.tar.xz

Change-Id: I99abcbb27e61a0ae544a1136577453ed0cc0750c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210525
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-07 18:39:35 +02:00
Andreas Heinisch 52fe6ff648 tdf#97354 - Keep formula bar content visible while a ref dialog is open
Still clear the formula bar content when the view itself is no longer
active.

Change-Id: I2aab4c320c342676fc547b8879fc2e6986d88ce8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208862
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2026-09-07 11:30:08 +02:00