Commit graph

498031 commits

Author SHA1 Message Date
Caolán McNamara
f6fd656c72 ofz: ww2 "ClusterFuzz Unreproducible" reset
so reenable this and bump up min fuzz length

Change-Id: Ic493e1a55899761f6bc88dc7f4b598a82dd00411
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171067
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-26 16:41:22 +02:00
Kira Tubo
5f001eb9ce tdf#139631: sw unit test: cut preceding space w/ redline
Test to see if preceding space is cut when cutting a word with redline
turned on.

Without the fix from tdf#139631, the preceding space is not cut in certain
situations.

Change-Id: Ic815fd04ee50ce116a8552205c24e8422d734b1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171058
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-07-26 16:22:20 +02:00
Xisco Fauli
3a961b522a sw: use SAL_RET_MAYBENULL in GetTableBox()
This could have caught tdf#162180

Change-Id: I71e86b402ae0c603d1c7ace209d55f5808b9ebe2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171054
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-07-26 16:12:33 +02:00
Xisco Fauli
a5133fb041 CppunitTest_vcl_pdfexport: simplify a bit
TaggedPDF is enabled by default since 544d6d781b
"tdf#39667 Enable tagged PDF by default"

OTOH, using writer_pdf_Export as a FilterName works when
exporting calc/impress/draw documents too

Change-Id: I5dc0c9eedbb6716f1ef58ffd1faa16e9cc015f9d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171070
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-07-26 15:43:34 +02:00
Alain Romedenne
0f12a330af Update git submodules
* Update helpcontent2 from branch 'master'
  to 80cfa06de7bb382c30ead55837378dcd568d2e30
  - tdf#161883 Fix to IF Basic statement syntax diagram
    
    Change-Id: Idcd12d05cd424360cd29bbb7cd7ee73e766bef52
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/171025
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2024-07-26 15:38:22 +02:00
Noel Grandin
8e03fced7c fix in some missing SfxItemTypes
Change-Id: I7dcb9768a8cd63200b8f8c50d8170e78ff5aeec2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171068
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-07-26 15:33:37 +02:00
Pierre F
8cfb927373 Update git submodules
* Update helpcontent2 from branch 'master'
  to 56220af4577d0f685ca40595f7f57254f92628c4
  - adjust FACT. tdf#162044
    
    Change-Id: I605283ca535de89fb4d7dbce9d9f7751301fc054
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/170956
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2024-07-26 15:24:50 +02:00
Julien Nabet
fef3a69df7 tdf#162136: fix crash when formatting data series in Histogram chart
Change-Id: Idc05b82363eca3066b291f05a7e05be4996d28a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171065
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-07-26 15:04:30 +02:00
Christian Lohmaier
92986f8e04 Update git submodules
* Update translations from branch 'master'
  to 6d1d800bd75a27d84866b7e8931d0cb1e12dbdd3
  - update translations for 24.8.0 rc2/master
    
    and force-fix errors using pocheck
    
    Change-Id: Ic1ff9c85e537794ed5410c93b09f5d8b1d8a1e9f
2024-07-26 13:45:59 +02:00
Michael Meeks
f9df8d71a9 lok: join Webdav Ticker thread.
Add 'startThreads' lok method for the few thread scenarios where
we need to have a background thread running that cannot be started
opportunistically.

Also add that to the ThreadJoinable interface so we can get into
UNO components' implementations to handle their worker threads
easily.

Implement joining and re-starting in WebDAV ucp too.

Change-Id: I329ef9decb32b263197e4c03a0d54952985fdd0e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167858
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170979
Tested-by: Jenkins
2024-07-26 13:37:26 +02:00
Fridrich Štrba
dbfa56584c Fix build with Java 8
Unlike later versions of Java, JDK 8 does not create the last
directory segment pointed by the -d option, even if the other
segments exist. So, create the "content" segment too and allow
building with Java 8.

Change-Id: Ie7ee75ca311270e02a3e1b6b5eeb28b5a1ccdad8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169477
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-07-26 13:08:47 +02:00
Stephan Bergmann
7d5c62537c Add --with-package-format=emscripten
...to have $(WORKDIR)/installation/LibreOffice/emscripten populated with just
the relevant files from $(INSTDIR).  (This doesn't reuse the complicated
CustomTarget_instsetoo_native/install used for other PKGFORMATs; as a special
case, it uses a much simpler CustomTarget_instsetoo_native/emscripten-install.)

Change-Id: I9c7509aadbc0e6e49ec95bf51c748c2ff9f778b9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171066
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-07-26 13:02:11 +02:00
Caolán McNamara
e571123891 cid#1557746 COPY_INSTEAD_OF_MOVE
and

cid#1557751 COPY_INSTEAD_OF_MOVE
cid#1557771 COPY_INSTEAD_OF_MOVE
cid#1557775 COPY_INSTEAD_OF_MOVE
cid#1557786 COPY_INSTEAD_OF_MOVE
cid#1557787 COPY_INSTEAD_OF_MOVE
cid#1557790 COPY_INSTEAD_OF_MOVE
cid#1557793 COPY_INSTEAD_OF_MOVE
cid#1557794 COPY_INSTEAD_OF_MOVE

Change-Id: I1b02b6eca303b1a08975ea8aae7c9dbefbada47f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171061
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-26 12:24:39 +02:00
Mike Kaganski
a79f9a7932 Delegate match to main internal starts/endsWith*
This simplifies and deduplicates the code, and even where it was simple,
it has an advantage that if a change in algorithm is decided, it is done
in a single place.

Change-Id: I9ec55a29c5f2b2c972ac81bf07c20fc0a52a2a8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171033
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-07-26 11:52:55 +02:00
Caolán McNamara
fa10be85d2 cid#1607270 silence Overflowed integer argument
lets see if this works instead.

Change-Id: Ib0a5df7deed2972cfed7c3afbe5c65229c208f26
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171056
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-26 11:22:55 +02:00
Caolán McNamara
19a73f096a ofz#70674 Null-dereference READ
xCursorTunnel.get() is a SvxUnoTextCursor in this case

Change-Id: Iaa50a4895923bc1635dc69325203de7bfb77886b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171064
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-26 11:22:46 +02:00
Stephan Bergmann
6148e1a0e0 Looks like Emscripten LO doesn't need explicit --norestore --nologo
...mostly because the relevant parts of the code are hard-disabled (even if you
would --disable-wasm-strip) with ENABLE_WASM_STRIP_RECOVERYUI=TRUE and
ENABLE_WASM_STRIP_SPLASH=TRUE.  (And if there are places in the code that would
need the equivalent of either --norestore or --nologo after all, we could
probably better add explicit #if EMSCRIPTEN there instead.)  This allows to get
rid of hard-coding the Qt Emscripten LO command line arguments, which means that
e.g. web applications embedding LO would now be able to specify them themselves.

Change-Id: I8e2dcfd170cc32276bfb9007f098f6ae6a7f9ec1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171063
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-07-26 11:22:37 +02:00
Stephan Bergmann
6ea2464edb Bump minimum emsdk to known-good 3.1.46
...as 3.1.3 has compilation issues with our code now, see
<https://git.libreoffice.org/lode/+/197e973f8ce3ba8495f9c0c7baa5695335b39e13%5E%21>
"update emsdk to known-good 3.1.46 to avoid clang segfault"

Change-Id: Id500cdde2f776eaaedcc1bcbd43c5b3c727eef2c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171017
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-07-26 11:21:39 +02:00
Armin Le Grand (Collabora)
4461173a4d CairoSDPR: Support direct transparency for gradients
FillGradientPrimitive2D/ and PolyPolygonGradientPrimitive2D
now support both alphas, a gradientAlpha and a unified one.
This allows a processor to directly handle a gradient with
a unifiedAlpha if he wants. Adapted other places accordingly.

NOTE: In VclMetafileProcessor2D handling of the primitive
PolyPolygonGradientPrimitive2D has to do a local compromize,
see comment there.

Change-Id: I536f4935dafde0369f768dbd281d547b7bb08eb4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171052
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Tested-by: Jenkins
2024-07-26 10:56:33 +02:00
Caolán McNamara
2a9ae69483 tools#1608074 silence Overflowed return value
Change-Id: Id1db2d006a82e08e6e011be5c5fcfa515381ad44
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171060
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-26 10:42:00 +02:00
Caolán McNamara
8da216bb4b cid#1608367 silence Overflowed return value
Change-Id: I842a64e70814bfed4c04d25734a8b43dca85ca15
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171059
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-26 10:41:52 +02:00
Caolán McNamara
1eb3b00c82 cid#1608295 silence Untrusted loop bound
Change-Id: I925f4a73118fbf81a48b32a096bdddf194148120
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171057
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-26 10:41:43 +02:00
Caolán McNamara
1df4e4be8c cid#1615138 Use of auto that causes a copy
Change-Id: I5752fa3aa4bd67401194dc88aa8bf7b8d8e485c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171055
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-07-26 10:41:33 +02:00
Andrea Gelmini
07e0c5d7be Fix typos
Change-Id: I52c4ca5b90ad60c971d713c235d84d7e52a59953
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171048
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-07-26 10:22:49 +02:00
Eike Rathke
dc9486f244 Resolves: tdf#162087 FormulaCompiler::OpCodeMap::maHashMap must be uppercase
which is the case for all English function names, but not the
TableRef item specifiers like #All, #Data, ...

Change-Id: I7f675e05b0d52eac9596b96b4d2cf299351fb82a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171022
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
2024-07-25 23:27:21 +02:00
Christian Lohmaier
c671e999f8 fix pid_t type mismatch on win64 between libassuan and gpgmepp
typedef long long pid_t in case of #ifdef _WIN64 is the only change,
the rest of the change to the patch is just rediffing

Change-Id: Iaad34bf42ad06fc6a636b773535f199a19c863e0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171023
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-07-25 23:22:40 +02:00
Mike Kaganski
9b911aaa3d tdf#124213: handle private URLs as non-remote
Since commit 26c106a5ae "append '(Remote)'
in the titlebar when remote file is opened", 2015-08-14, the titlebar
shows "(remote)" for documents with non-empty URLs that are not file
scheme.

When recovering a non-existing document, the URL is a factory one like
"private:factory/swriter"; and INetURLObject::GetProtocol() call returns
PrivSoffice.

Indeed, recovery of a non-existing document doesn't make sense itself,
and is fixed by Justin elsewhere; but let's fix the general logic here.

Change-Id: Ibaf095981c37a2fd64f745ad0966465d98a4ed4d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171027
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-07-25 23:09:11 +02:00
Stephan Bergmann
ac175a43c9 Add a toDelete parameter to Module.throwUnoException
...as there can be situations (cf. the newly added test code in embindtest.js)
where objects that need to be deleted are passed as payload of the exception
value to be thrown.  So there now is a (mandatory, as Embind doesn't allow to
implicitly pass undefined) third parameter now that must be an array of objects
on which to call .delete().

(75fe059974 "Embind: throwUnoException from JS"
had deliberately made throwUnoException take two arguments, because if it
"directly took a css::uno::Any argument, JS client code would need to create one
with `new Module.uno_Any(...)` and call .delete() on it, but there is no place
where it could call .delete()".  There now would be such a place, but it would
probably still be tedious most of the time to explicitly construct a new uno_Any
to pass into throwUnoException both as the exception and in the toDelete array.
So keep that design decision to have throwUnoException take individual type and
value arguments.)

Change-Id: Idec029d9e500457b02d20d899b9a2328cd7a5d7e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171024
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-07-25 22:39:23 +02:00
Xisco Fauli
532a8d7ac2 CppunitTest_xmlsecurity_signing: simplify a bit
Change-Id: I197e37f6520644c594baa6936d831ea456d60f69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171051
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-07-25 22:14:25 +02:00
Andrea Gelmini
4b4abd2ffb Fix typo
Change-Id: I44d09c767b1037503b187711965c72fefea1039b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171047
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Jenkins
2024-07-25 21:46:09 +02:00
Xisco Fauli
145c606d01 tdf#162180: GetTableBox might return nullptr
Change-Id: I31091b5bd06ba30a2e9bbddad66c5c597b22a6fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171007
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-07-25 21:42:00 +02:00
Xisco Fauli
94b8f31252 CppunitTest_sw_htmlexport: simplify a bit
Change-Id: I7091c59583b7fadd5504567c4dcadde844b02b9d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171049
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-07-25 20:54:17 +02:00
Ilmari Lauhakangas
9471fce06e bin: fix issues found by Ruff linter
Change-Id: I44e546defb278bb5217ed028dcaebc9fb2d23f0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171020
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-07-25 19:57:10 +02:00
Andrea Gelmini
6f3a37d074 Update git submodules
* Update helpcontent2 from branch 'master'
  to cae074ae04dab3236f79dd34fc286af2da23060e
  - Fix typo
    
    Change-Id: I8cecd6cd928829e135e8f22f2d1451c4518e4418
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/171046
    Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
    Tested-by: Jenkins
2024-07-25 19:54:26 +02:00
Xisco Fauli
aa5a10016b tdf#162093: sc_subsequent_filters_test4: Add unittest
Change-Id: Ib936cdb890cff18b6fac37ebbdd781c4aacc1986
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171013
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-07-25 18:58:22 +02:00
Stephan Bergmann
dd332f72ce Enable start center in Emscripten build
...and let it open with that instead of with a hard-coded example.odt.  (But
keep that example.odt in CustomTarget,static_emscripten_fs_image and adapt the
example code in static/README.wasm.md to explicitly load it now.)

Change-Id: Ie43e3795e44542acba5a8e755f65acc56fa753f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171019
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-07-25 18:37:58 +02:00
Balazs Varga
33ea719d6c tdf#157233 - A11y: Add global Accessibility check options for
managing which a11y issue should be checked. In default mode all the a11y issues are checked.

Change-Id: Ib01e7d76e74b0b9cc9df259295edbee135b1c8a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170324
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2024-07-25 17:44:22 +02:00
Xisco Fauli
19c6fe6463 sw: C6011: Dereferencing NULL pointer 'pVSh'
Change-Id: Ife344c9d88a68abb784b094152c4c3f9d8ce271d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171016
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-07-25 17:35:03 +02:00
Armin Le Grand (Collabora)
125752096b CairoSDPR: Added more care to TransparencyGradient
In VclMetafileProcessor2D for handling the
PolyPolygonGradientPrimitive2D the case that is may have
now a alphaGradient has to be handled with more care for
adding a gradient itself and also for added SVG information,
see BGRAD_SEQ_BEGIN stuff

Change-Id: Ifab5ec9581a5e400549189a5a41190a91c0cb4cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171009
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Tested-by: Jenkins
2024-07-25 16:52:08 +02:00
Ashok
44522c38ec tdf#143148 Use pragma once instead of include guards
Change-Id: I4d29ac20dc56b32d394beada19f7f1d8f99d22ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170985
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-07-25 16:45:30 +02:00
Patrick Luby
3c30273d72 tdf#67919 access toolbar button dropdown menu from macOS VoiceOver
The fix was copied from the following NeoOffice source code files which
are licensed under the Mozilla Public License, v. 2.0:

https://github.com/neooffice/NeoOffice/blob/NeoOffice-2022_7/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
https://github.com/neooffice/NeoOffice/blob/NeoOffice-2022_7/include/vcl/toolbox.hxx
https://github.com/neooffice/NeoOffice/blob/NeoOffice-2022_7/vcl/source/window/toolbox.cxx

Change-Id: Ibd24c6df4ecd7fdac1c56763d1daec09936a9b31
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170426
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-25 16:19:41 +02:00
Ilmari Lauhakangas
be1b9f955b Update git submodules
* Update helpcontent2 from branch 'master'
  to ff6b674fc9034f2f70f78159c0bb16924d8ff2c1
  - helpers: fix issues found by Ruff linter
    
    Change-Id: I0fd932259a79bef030d6450a2770cb28c4c840b7
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/171015
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
    Tested-by: Jenkins
2024-07-25 15:50:32 +02:00
Christian Lohmaier
79d74f036f libassuan: upgrade to 3.0.1
Downloaded from https://gnupg.org/ftp/gcrypt/libassuan/libassuan-3.0.1.tar.bz2

Change-Id: Ie56dd4d88998c6b2a825a502aa34bae3436d2b25
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169198
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
2024-07-25 15:21:19 +02:00
Ilmari Lauhakangas
5fc6ef5990 bin: fix issues found by Ruff linter
Change-Id: Ic81d21a90059f5db87543c8ce2abb8007f278f14
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171008
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-07-25 15:16:44 +02:00
Christian Lohmaier
8ee0b01f22 workaround clang-14 bug
affects both macOS XCode 14 as well as the em++ / emsdk clang 14 used by
the wasm builder

Change-Id: Id3e9a923b7f18ca8d18fd4bc2fd5de83ab3c591f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169031
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
2024-07-25 15:05:26 +02:00
Christian Lohmaier
bba1193359 workaround segfault in compiler on macos-clang-intel
XCode 14 seems to be allergic to the string-literal in this lambda
expression

Change-Id: I1de59883923352c7aa83cc81adafb0218432381a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169030
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-07-25 15:03:36 +02:00
Stephan Bergmann
e6d98900a9 -Werror,-Wunused-variable
...in code newly introduced in 62974cf6a8
"tdf#158661 docx import plaintext sdt: remove unnecessary goRight"

Change-Id: I8d05c4936cdf17d2c819f8ab93ddab3ba6bfdc61
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171005
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-07-25 14:59:42 +02:00
Jonathan Clark
04184aa7e3 tdf#157829 sw: Implemented line break underflow for bidi portions
Previously, bidi portions did not handle underflow in word wrapping.
This caused bidi portions to break at format changes during wrapping,
instead of backtracking to a valid break opportunity.

Change-Id: Ib86effe2642a9d133242c28538026d9b4a7e90e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171006
Tested-by: Jenkins
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
2024-07-25 14:23:35 +02:00
Caolán McNamara
33629ff934 force max len for some oss-fuzz fuzzers
on a temp basis to reset auto-reporting state

Change-Id: I2af7bc6b1e6c2d92ce58f548a28dc76fb0584432
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171002
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-07-25 14:11:02 +02:00
Noel Grandin
1bbcc3fdf3 O[U]String overloads that return view for rest parameter
Add new overloads to OUString methods that have a
"OUString* rest" style parameter.

Instead return a view, which does not require allocation.

To avoid overload ambiguity, split the methods into
different variants that do not use default parameters.

Change-Id: I1aa366115750f1f7ea4fe665804195f59f7c4b69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167632
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-07-25 13:29:11 +02:00