Commit graph

498044 commits

Author SHA1 Message Date
Michael Weghorn
938d4ceea5 android: Use String.equals for string comparison
Change-Id: I05ea3f7ee488328425743fd96e854f20c84600ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170710
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-19 12:56:05 +02:00
Michael Weghorn
aa7605571c android: Make constant static
Makes this warning/suggestion disappear in Android Studio:

> Field can be converted to a local variable

Change-Id: I710cd83c19fe1f83b756b035f05560974b349d22
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170709
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-19 12:55:54 +02:00
Michael Weghorn
55a62bbfc2 android: Drop unused mAlpha member from Cursor
Change-Id: I141abc523fb975fde997bdd961840456032fdcfa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170708
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-19 12:55:39 +02:00
Xisco Fauli
3e047ccb70 sfx2/qa: remove unused code
Change-Id: I41087f4fc1ab29fb8635b33317390c4b784ae086
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170723
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-07-19 12:23:56 +02:00
Caolán McNamara
7eaa4868e6 cid#1607792 Dereference after null check
Change-Id: Ib0d7380efe77b32c9c49b1d36fbf8c19fa83d783
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170747
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-19 12:09:34 +02:00
Caolán McNamara
3693894529 cid#1554837 COPY_INSTEAD_OF_MOVE
and

cid#1554847 COPY_INSTEAD_OF_MOVE
cid#1554850 COPY_INSTEAD_OF_MOVE
cid#1554857 COPY_INSTEAD_OF_MOVE
cid#1554860 COPY_INSTEAD_OF_MOVE
cid#1554870 COPY_INSTEAD_OF_MOVE
cid#1554874 COPY_INSTEAD_OF_MOVE
cid#1557899 COPY_INSTEAD_OF_MOVE
cid#1608424 COPY_INSTEAD_OF_MOVE
cid#1608402 COPY_INSTEAD_OF_MOVE

Change-Id: Iaa6e39cf24cd56cdc4a9be5cbf2b8073a1f635c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170722
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-07-19 12:09:11 +02:00
Miklos Vajna
647bbcd7f3 Update libxmlsec to 1.3.5
Change-Id: Ibc4328348cba29ae684daa69b4699c1b458b0b32
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170718
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-07-19 11:08:06 +02:00
Armin Le Grand (Collabora)
aac4974f2a CairoSDPR: Direct support for RGBA Gradients (III)
I thought about this functionality again and decided
to change doing it in a way that will support more
alpha more directly in existing primitives - that will
be better for also supporting e.g. PolyPolys with alpha,
etc. Will need checking of existing usages of e.g.
FillGradientPrimitive2D, but it's worth it.
Note that when your primitive processor (usually a
renderer) does *not* support alpha in gradients
directly it is now requuired to continue using the
decomposition (what renderers do automatically when
calling 'BaseProcessor2D::process' in the default
case. Checked that for existing processors.

Change-Id: I840c9feb8c98549b790ef16285a309b42c4b1b53
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170687
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2024-07-19 10:46:34 +02:00
Michael Stahl
27198ec703 (related tdf#126008) sw: add config to disable table autoformat ...
... automatic updates when editing the table.

Office::Writer::Table::Change::ApplyTableAutoFormat

Change-Id: I84667c68c9372d7594bb3a688da80495ef46168f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170702
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2024-07-19 10:28:51 +02:00
Michael Stahl
1e978fffdd (related tdf#126008) sw: when removing table auto format, don't...
... change the formatting.

Change-Id: I50fbb290f0a7f2cccc2559059859fa820d5c9aba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170688
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2024-07-19 10:28:41 +02:00
Andrea Gelmini
fc08b4aa00 Fix typo
Change-Id: I8df5045c61bd792a2be0eaae2b1fcdc0bae134d8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170703
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2024-07-19 10:10:46 +02:00
Andrea Gelmini
8dd2f7609b Fix typo
Change-Id: Ie99b65cd73fc4c3ab9626723d3be0d0c1f793b82
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170580
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2024-07-19 10:10:22 +02:00
Andrea Gelmini
1a808e2057 Remove exec bits on rtf file
Change-Id: I4a297e40f907d2d530e3231f5258eb57791da2db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170579
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Tested-by: Jenkins
2024-07-19 10:10:03 +02:00
AhmedHamed
5bd284583f tdf#161296 Convert functions list in FD & FW into collapsible sections
Change-Id: I9211c0cf02be8d21e343d57f53d14e50d7b5fd0d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169639
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Tested-by: Jenkins
2024-07-19 07:50:55 +02:00
Michael Weghorn
24103bdf3f tdf#161501 icon choice ctrl: Use tab text colors
Instead of using the generic window or highlight
text color, use the specific text colors for tabs
when painting entries of the vertical tab control,
similar to how it's done for the non-vertical
tab control (see `TabControl::ImplDrawItem`).

This is also in preparation for changes to make more
use of the system colors for the entries.

It e.g. ensures that black text color is used for the
text of the focused entry with Breeze (light) in my Debian
testing KDE Plasma 5 setup with Rafael's pending change [1],
preventing the issue of too low contrast mentioned in [2]
that is otherwise seen in my setup, but not Rafael's for some
reason.

[1] https://gerrit.libreoffice.org/c/core/+/170554
[2] https://gerrit.libreoffice.org/c/core/+/170554/comments/f9d0f988_6a0f5eec

Change-Id: I718d08f717bd896b7fca9fc39eedae68fba4bd25
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170677
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Tested-by: Jenkins
2024-07-19 06:05:00 +02:00
Justin Luth
b657b6c6c9 related tdf#125469 docx im/export: better precision percent<->value
A line spacing difference of 1.07 and 1.06 is significant for layout.
Use rounding to get better round-trippability.

This patch was created based on a code read, finding a DOUBLES unit test
and having related coding attempts noticing integer precision loss.

make CppunitTest_sw_ooxmlexport13 \
    CPPUNIT_TEST_NAME=testTdf118947_tableStyle

The export change is a blind fix
(but older LO now opens ooxmlexport13's RT as 1.07% (256.8)
because we now write w:line="257" (1.07083) instead of 256 (1.066).

The import change is confirmed by ooxmlexport13 (matching Word 2010).

Change-Id: I196af783b80688839c59058feb82bf00d40d9088
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170669
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2024-07-19 02:51:22 +02:00
Justin Luth
965d83d3a7 related tdf#125469 writerfilter: support negative exact and atLeast
When vmiklos added support for negative auto -> FIX,
he indicated that there was no documentation for it.
    commit f575f70b83
    Author: Miklos Vajna on Thu Jun 22 13:41:30 2017 +0200
    tdf#108682 DOCX import: fix <w:spacing w:line=...> for negative
        I didn't find UI in Word to create

In working on bug 125469, I hand-crafted a nasty example document
which had negative exact and atLeast examples,
and this patch matches what I saw happening in Word 2010.
Too bad MS isn't completely consistent...

Change-Id: Iaab32aa3f0bbe90dfd0ef8973f9aefd2d6ca3fcc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170671
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2024-07-19 02:49:18 +02:00
Justin Luth
e3dfb54117 tdf#125469 writerfilter: use "auto" for not-provided lineRule
This fixes the problem where a programmatically generated document
didn't specify a w:lineRule, and thus the w:line size
was treated as a FIXed spacing of 12pt instead of as single spacing.

------------------------------------------------------------
lineRule (Spacing Between Lines)
Specifies how the spacing between lines is calculated
as stored in the line attribute.

If this attribute is omitted, then it shall be assumed to be
of a value "auto" if a w:line attribute value is present.
------------------------------------------------------------
However, our implementation (wisely) defaulted to ::FIX
instead of ::PROP (which keeps precision in w:line sizes
since PROP is a integer percentage instead of a float
and thus loses precision when switching between FIX and PROP).

Note of course that if neither w:line nor w:lineRule is provided,
then we go with the LO default of mode=0, height=0 (aka AUTO).

This gets tricky because the lineRule can be inherited,
so just because it is missing in a pPr doesn't necessarily mean
we can just substitute "auto".

It is also tricky because w:spacing
deals with more than just line spacing.

Not surprisingly, no existing unit tests matched this case.
However, the unit tests were VERY helpful in pointing out
limitations as I attempted to code the fix.

make CppunitTest_sw_ooxmlexport21 \
    CPPUNIT_TEST_NAME=testTdf125469_singleSpacing

Change-Id: Id5e95f2983f4fb435810d5a1f3fd25ded5118ddc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170670
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2024-07-19 02:47:26 +02:00
Justin Luth
e4e35dca3f NFC tdf#125469 writerfilter: move code into SetLineSpacing function
I didn't make any logic changes to the function yet,
just moved it to a shared location so it can be called elsewhere.

This is preparation for fixing bug 125469,
and I want to keep the fixing patch clean to show the real changes.

Change-Id: I50a9ad1c61c7e885f40defc38554e0cb2ca51a9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170668
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
2024-07-19 02:44:02 +02:00
Jonathan Clark
e9a37656b7 (related tdf#56408) crashtesting: assert on exporting ooo30385-2.doc to odt
since:

commit 6a54d08e6e
Date:   Fri Jul 5 15:19:23 2024 -0600

    tdf#56408 Writer always breaks lines at text direction change

    Change-Id: If4627f4d65d2c44b65653c689ee00a2e0cb4456a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170154

Assertion occurs when underflowing a bidi portion after a field portion.
When attempting to reproduce the issue in GUI, this was accompanied by
an infinite loop. This change fixes both issues.

Change-Id: I85f6fa769756138fe000681a4663925ddfc7ed83
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170705
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
Tested-by: Jenkins
2024-07-19 00:28:18 +02:00
Xisco Fauli
4dbaa38315 tdf#55693: port test to CppunitTest_sw_autocorrect
so we can get rid of TestAutoCorrDoc, only used for
test purposes

Change-Id: I0931fa76550358d071ebdec364fd6b55485bb3b9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170680
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-07-18 23:26:04 +02:00
Andrea Gelmini
dcd16a4f73 Fix typo
Change-Id: I7ce85668113e8f3df983f43a9e584b913f783230
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169939
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Tested-by: Jenkins
2024-07-18 19:22:45 +02:00
Andrea Gelmini
49b3245b3e Fix typo
Change-Id: Iedb3495fe6cdbcdea9f6a60c004b518665ef4b76
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170375
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2024-07-18 19:22:21 +02:00
Andrea Gelmini
a8a47ab344 Fix typo
Change-Id: Idaa3bb659133a9bc4d9253d814ab3026ee784af7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170503
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Jenkins
2024-07-18 19:21:07 +02:00
Andrea Gelmini
fa6e2f1bdd Fix typo
Change-Id: Ieedbda914b5272e700a36f691f159f449603f264
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170502
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Jenkins
2024-07-18 19:20:37 +02:00
Andrea Gelmini
15f015b17a Fix typo
Change-Id: I362a6a0802c27d273228725c9023092b7909cdec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170642
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Tested-by: Jenkins
2024-07-18 19:18:30 +02:00
Andrea Gelmini
5cc3e2fa66 Fix typo
Change-Id: Ia6ea67804f637cf89db9569a47fbaf7cca4049ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170576
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2024-07-18 19:18:00 +02:00
Andrea Gelmini
a72988bfdb Fix typo
Change-Id: I16e88e1ecb0174605871031a614285911e6fff58
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170689
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Tested-by: Jenkins
2024-07-18 19:17:15 +02:00
Miklos Vajna
6dfac38bac tdf#162072 vcl, fontconfig: consider font-family-generic for substitute
Open the bugdoc, it has two paragraphs: first with a sans font, second
with a serif font. These fonts are missing, but their metadata clearly
state that they are sans vs serif. Still, Writer renders both as sans.

Investigating a bit, the ODT case imports the "font-family-generic" of
these fonts fine, but in the Linux case the fontconfig code ignored this
info when building the search pattern for the font fallback.

Fix the problem by extending vcl's PrintFontManager::Substitute() to
also take the vcl-level "family type" into account, which is about sans
vs serif (roman vs swiss). Note that FC_FAMILY is a string list, so once
the actual font name is added to the pattern, the next "add" will append
to this list, not drop the already added font name.

The same problem is still there with the DOCX equivalent.

Change-Id: I61f31ae73e524471a5261ac9426e5b566454a09c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170681
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-07-18 17:45:14 +02:00
Lars Jødal
d1bcb2f83a Correcting <aboveWord> and <belowWord> in the Danish locale.
Changed <aboveWord> from 'over' to 'ovenfor', and <belowWord> from 'under' to 'nedenfor'.

In Danish, 'over' is a correct translation if 'above' is followed by an object, for instance 'the caption is above[over] the table'. But <aboveWord> is used for cross-references where no object is following: 'see the figure above[ovenfor].'

Likewise for <belowWord>: one object is below[under] another object, but 'see below[nedenfor]'

Change-Id: Ib428342acf83c5961234aebbd50cb6a4a5d28d40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170563
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
2024-07-18 16:49:07 +02:00
Michael Stahl
f2ec0058ec solenv: gdb: adapt ItemSetPrinter to unordered_map
(regression from commit 290c8f6e04)

Change-Id: I85f3dd2a719d13f35cf7246e0787604ddb9f47fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170685
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-07-18 16:38:41 +02:00
Noel Grandin
23ee72264e make ScRange single-arg constructor explicit
Change-Id: Ie24e1e601b639dd62dbb8a201378a970699b20ab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170686
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-18 16:10:37 +02:00
Stephan Bergmann
91bedcab61 Change from Module.intiUno() to Module.uno_init promise
...that is resolved from within C++ Desktop::InitApplicationServiceManager once
UNO is fully initialized, so client code can trigger on
Module.uno_init.then(...)

Change-Id: I2d4c542d9729d09f434502e3f966e9ee474e926c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170683
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-07-18 15:55:12 +02:00
Michael Stahl
a7c1163684 (related tdf#126008) sw: allow removing table autoformat from a table
... via the Table->AutoFormat Styles... dialog:
add a "None" option like already exists in Table->Insert Table...

Change-Id: I41d5cb0a7dcd1bfe3e93fe56f0f42765149ff42b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170641
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2024-07-18 15:45:32 +02:00
Noel Grandin
7f5a7ef638 make UStringLess single-arg constructor explicit
Change-Id: I0fb4723fa878f8ebdbe5ac0fe080559ffd4736dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170679
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-07-18 15:34:13 +02:00
Noel Grandin
0705c05480 make some single-arg constructors in starmath explicit
Change-Id: I4b9a010a2cf42076b02c80732c8e35686482f9e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170684
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-18 15:33:56 +02:00
Noel Grandin
5c997461bf make XFCellListener single-arg constructor explicit
Change-Id: If519af401dca2ec77ff448409888bbc2871a0c9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170682
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-07-18 15:33:48 +02:00
Noel Grandin
cd3382cd72 make EditSelection single-arg constructor explicit
Change-Id: Id7a81db385dd3ca30daa37ba74a82d06c417a51c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170678
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-18 15:33:36 +02:00
Rafael Lima
1d1f47e6ca tdf#162006 Use contrast outline for the AutoFill/Cursor handle as well
This patch draws a white line around the AutoFill handle for better contrast.

It also adds an internal white outline to the cursor overlay.

See bug ticket for screenshots.

Change-Id: I1567d272fd5a2835192c50973e84cb8c269fb04e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170354
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2024-07-18 14:12:15 +02:00
Michael Meeks
7635a5eefd lok: joinThreads - take down configmgr's write-thread.
Change-Id: I1f9b6b88ef7e97da02fecf2035f953584cd28c16
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170674
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-07-18 13:51:19 +02:00
Christian Lohmaier
ad383c896a use the new linker on macOS (introduced in XCode 15)
the classic linker will be removed in upcoming versions of XCode and is
deprecated
XCode 15.0 has a bug that would cause runtime crashes on macOS 11, but
that bug has been fixed with XCode 15.1 and all users of XCode 15.0
could update to 15.1 or 15.2 (15.3 or later requires newer version of
macOS) - so remove the workaround of using the old linker and instead
require a fixed version of Xcode (or a different minimum deployment
target)

Change-Id: If516ac85539da83f54b1792450cf43ea55d0d808
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170640
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Tested-by: Jenkins
2024-07-18 13:50:26 +02:00
Caolán McNamara
3dcc288468 cid#1555824 Check of thread-shared field evades lock acquisition
Change-Id: Ic0e8e87138ca86a1618e110516f3d8cef481dec7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170626
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-07-18 11:52:22 +02:00
Xisco Fauli
ec96dfdf2c CppunitTest_package2_test: Add unittest for 0fb25ce9ff
For that, use a minimal oxt file with no funtionality

Change-Id: I5f72e0d0362451a7d0069ad3f9d0626c43ff9d7b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170665
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-07-18 10:39:30 +02:00
Justin Luth
cafb0235fd related tdf#134204 : notify change unless all properties are handled #1
This is an NFC-ish patch.

SetFormatAttr immediately calls a ClientNotify
about the single property that it has changed.
So if this was a direct property change,
or the set included only one property,
then there is no need to re-notify about this parent change.

The problem with the logic so far has been a failure
to notify about changes. In this patch, we had the opposite
problem of notifying unnecessarily, which isn't terrible.
The main benefit will be seen in a follow-up patch
which allows a single bContinue assignment per property.

Change-Id: I51d961f03910f0b8f50c6402894c5269f15bf00d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169897
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2024-07-18 10:30:30 +02:00
Noel Grandin
3519027515 make date/time single-arg constructors explicit
Change-Id: I943f755d95b90ef8aeb7d5b339f617ff50db4e29
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170673
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-18 10:27:41 +02:00
Andrea Gelmini
b97e1d6c11 Fix typo
Change-Id: I391cdffe679f664af8cdb0fa3ce0b987232e422c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170597
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
Tested-by: Jenkins
2024-07-18 10:01:54 +02:00
Noel Grandin
f60a6fa11d make SwFormatPageDesc single-arg constructor explicit
because I spent a couple of hours on a compile failure trying to figure
out what was calling what, because of the implicit construction that
happens here

Change-Id: I974ec06325c518d47f40c497786b9d6d8a1f1924
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170628
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-18 07:53:21 +02:00
Michael Weghorn
43f0022fca tdf#155447 macOS a11y: Report accessibilityIdentifier
Implement `accessibilityIdentifier` [1] for
macOS/NSAccessibility by retrieving the accessible ID
via `XAccessibleContext2::getAccessibleId` if that
interface is implemented.

This is the macOS equivalent of

    commit c64b823b74
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Tue Jul 16 13:57:41 2024 +0200

        tdf#155447 qt a11y: Report accessible ID

[1] https://developer.apple.com/documentation/appkit/nsaccessibilityprotocol/1527792-accessibilityidentifier

Change-Id: I43c40f5309467ddb00911297fadb6716500c2dcb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170624
Tested-by: Jenkins
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-18 06:52:46 +02:00
Adam Seskunas
d5d4e13349 tdf#71749 Unit test for sw: WW8: don't loop on tables in footnotes
Change-Id: I5ca830b2ec0c883a23bab1ece006f8c88310f3ce
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170169
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-07-18 01:11:12 +02:00
Caolán McNamara
4504d921a6 cid#1555694 COPY_INSTEAD_OF_MOVE
and

cid#1555695 COPY_INSTEAD_OF_MOVE
cid#1555696 COPY_INSTEAD_OF_MOVE
cid#1555705 COPY_INSTEAD_OF_MOVE
cid#1555711 COPY_INSTEAD_OF_MOVE
cid#1555713 COPY_INSTEAD_OF_MOVE
cid#1555727 COPY_INSTEAD_OF_MOVE
cid#1555742 COPY_INSTEAD_OF_MOVE
cid#1555745 COPY_INSTEAD_OF_MOVE
cid#1555749 COPY_INSTEAD_OF_MOVE
cid#1555760 COPY_INSTEAD_OF_MOVE
cid#1555773 COPY_INSTEAD_OF_MOVE
cid#1555774 COPY_INSTEAD_OF_MOVE
cid#1555778 COPY_INSTEAD_OF_MOVE
cid#1555790 COPY_INSTEAD_OF_MOVE
cid#1555831 COPY_INSTEAD_OF_MOVE
cid#1555847 COPY_INSTEAD_OF_MOVE
cid#1555851 COPY_INSTEAD_OF_MOVE
cid#1555853 COPY_INSTEAD_OF_MOVE
cid#1607763 COPY_INSTEAD_OF_MOVE
cid#1607504 COPY_INSTEAD_OF_MOVE

Change-Id: I991f15f12e773d325ed9725498df5725b049a858
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170625
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-17 21:49:14 +02:00