Commit graph

500716 commits

Author SHA1 Message Date
Juergen Funk
7303a0375b tdf#160163 improvment when reset placeholder in Text field
- this patch improve e8a271dd53
   when replace the empty-placholder, it was missing the selection
   of the whole placeholders.
 - with this change have solved a other problem, when select with
   the field with mouse or tab, and press backspace, then the cursor
   has the wrong position, after tip text the view was wrong.
 - reduce code

Change-Id: I6c2c7b2849298552770ea2d257ab844d250a97a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174965
Tested-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2024-10-17 13:53:28 +02:00
Caolán McNamara
c349892967 cid#1555042 Data race condition
Change-Id: Ifc3e2134520a6947ab66014c40b962b1de8a22be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175066
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-10-17 13:27:19 +02:00
Xisco Fauli
0659bdb7f7 sw: move these tests where they belong
Since they use DECLARE_ODFEXPORT_TEST they should be inside
sw/qa/extras/odfexport/

Change-Id: Ia080f006c08ecf584232428563ec2aa94f6a4ce2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175067
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-17 13:24:28 +02:00
Caolán McNamara
8f55160f25 cid#1606687 silence Overflowed integer argument
Change-Id: I692ac9745c0f2811e7e8d155d0aeeee578d358fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175068
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-10-17 13:19:02 +02:00
Caolán McNamara
3163717d4c cid#1606973 silence Overflowed constant
Change-Id: I333110570dba4b7410b9c4b5595afc5d2b06cb94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175062
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-10-17 12:11:23 +02:00
Caolán McNamara
f5d0aac2b4 cid#1606594 silence Overflowed constant
Change-Id: I1aff57f76eac334feea9fba02233b9b004ca759c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175063
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-10-17 12:11:00 +02:00
Sakura286
50656d5413 extract NaN payload test from single unit test
Change-Id: I51a029c9ac729352fe435b9a70c5e8bd2cf746b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174964
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2024-10-17 11:46:34 +02:00
Đoàn Trần Công Danh
92f9529719 configure.ac: Drop bashism
- ${var/pattern/replacement} and here-string are bashism.

- here string (<<<<) is bashism too, depsited it's intended for Windows
  build only (which uses Bash inside msys), however the code block is
  still parsed on other platforms (without bash a /bin/sh) before
  evaluated. Let's remove that too.

Change-Id: I3ba59d97b9e9a6b29496b3401c29c4fbf99f46d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170969
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-10-17 11:40:37 +02:00
Caolán McNamara
0a6029ba42 we don't need to copy the Name here, a reference is sufficient
48s -> 47.8s

Change-Id: Ib95b701d424b0b92aa3848b75f81c41eff0af2ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175029
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-10-17 09:29:28 +02:00
Muluh MG Godson
92b4b7d6bb tdf#143148 Use pragma once instead of include guards
Change-Id: I7cfacc4fa2b302f01a284f750a99fc777b7ae43a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175037
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-10-17 09:24:33 +02:00
Chizoba ODINAKA
2d84bab85c tdf#145614 Convert #define to 'enum'
Change-Id: I92cd029034015fe8b664ee75b4e4f107ba365e1d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175034
Reviewed-by: Hossein   <hossein@libreoffice.org>
Tested-by: Jenkins
2024-10-17 09:24:24 +02:00
Michael Weghorn
ef92722b3c Partially revert "loplugin:unusedmethods" to fix --enable-cpdb build
This PPDParser ctor is used by CPDManager::createCPDParser,
which gets built with the `--enable-cpdb` autogen option.

This partially reverts commit 5c4fac1e9f.

Change-Id: Ic22fc4e776c0b0ef2013b9296c7dbe9345c4e51c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175040
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-10-17 09:23:00 +02:00
Mike Kaganski
0794754e85 Optimize a bit: only create std::locale once in parseDudenResponse
Change-Id: If1aee9fa908b4ad730d858738f3e472a17fd235a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175039
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-10-17 09:12:54 +02:00
Xisco Fauli
a79acaf274 sw: reduce usage of DECLARE_SW_ROUNDTRIP_TEST
Change-Id: Ib2884a766ff891aa768530e62cb2825402b84d03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175026
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-17 08:52:05 +02:00
Samuel Mehrbrodt
302a0de82e tdf#161351 Revert "tdf#99528 Use vertical tabs in list style dialog"
This reverts commit d9bcf481b4.

Change-Id: If3cffb089c22a32d558f299616ee1a4ec515d01c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174820
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2024-10-17 07:33:00 +02:00
Jim Raykowski
5cf912b08e Resolves: tdf#163448 An unsaved new document don't allow moving
headings with Content Navigation View option (by drag and drop)

Change-Id: Id1f4cbc0538e75abfb2a133d2d6fb82ddaf580fb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174986
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Tested-by: Jenkins
2024-10-16 20:58:11 +02:00
Caolán McNamara
c3c9efc94f crashtesting: assert on fdo87790-1.ods
and gnome704765-1.ods

Change-Id: I037b3c7d1f3887634ead05e5464435ae0fbeea60
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175028
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-10-16 20:54:36 +02:00
Xisco Fauli
c216b58631 SwModelTestBase: Remove unused executeImportExport
Since b67991ecdb
"CppunitTest_sw_htmlexport: use more CPPUNIT_TEST_FIXTURE()"

Change-Id: I572649a1f70180084846aa47446689b331f35f11
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175024
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-16 20:50:17 +02:00
Xisco Fauli
a0e31effd0 SwModelTestBase: remove obsolete comment block
Change-Id: I4b4383c02cddc26e2f96ab4d252e55ac5f0dc3d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175023
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-16 20:50:10 +02:00
Balazs Varga
1d9ce0a67a tdf#162571 - sd: Text box expands or shrinks on left or right or
both sides, depending on the text alignment. Set the text anchor
position based on the first paragraph alignment.

WIP: testing...

Change-Id: Ie1588c3eab5dd24eddb20baf342aca57c0dd39fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174885
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Tested-by: Jenkins
Tested-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2024-10-16 20:19:58 +02:00
Mike Kaganski
3233383b26 tdf#160127: Improve grammar check popups from Duden
When there is a grammar check error that it has no suggestions for, Duden
may return a JSON without suggestions, but still informing about the type
of the error, like

  ...
  {
      "offset": 468,
      "length": 8,
      "errorcode": 21,
      "type": "orth",
      "proposals": []
  },
  ...

Before the change, we underlined the error, but right-clicking it would
only bring the normal Writer's context menu, as if there were no error.
This was made in commit 7697ef9d8f (Proof
reading suggestions:, 2023-11-28); before that change, the context menu
was shown, but since it had no suggestions, and no explanation text, it
was considered better to just not show the grammar check results. But
no menu for an underlined word is no better; so let's instead show the
explanation, based on the type of the error reported by Duden - that is
stored in SingleProofreadingError::aShortComment. Also set aFullComment,
which is used in the grammar check dialog.

Incidentally, it even improves popups with suggestions, because it now
has the explanation as well, where previously only was an icon without
any text.

It may be further improved in a follow-up, because there is "errorcode"
in the message, which we may use to add more details to the explanation.

tdf#160127 should be fixed with this, too; but if there are cases when
there are neither suggestions, nor explanation available, it will need
further work.

Change-Id: I62cde204e0142d6226c9c9486f1cdb5ffc20dca8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175017
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-10-16 17:47:50 +02:00
Jean-Pierre Ledure
fc36eed73e ScriptForge session.ExecuteCalcFunction error handling
1) Error handling in the ExecuteCalcFunction()
   function must be conditioned by the global
   error handling.
   True; display a user-friendly message
   False: abort on the erroneous line

   So far, an ambiguous error message was displayed
   in both cases.

2) Above ambiguous error message was corrupted
   by the detour to SF_Array.Prepend() method
   in exc.RaiseFatal() and exc.RaiseAbort().
   A simple workaround fixes the ambiguity
   about the name of the faulty routine.

Change-Id: Iab38b48e6291e1960fc288696a7ebd18ffe8ebae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175020
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
2024-10-16 17:47:14 +02:00
Xisco Fauli
3889920c38 SwModelTestBase: drop isExported
Change-Id: I4eb169909abff3eba935e4ad5ff7875b1b122953
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175019
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-16 17:45:08 +02:00
Noel Grandin
bb6db3aa4c tdf#163381 XBitmap.getMaskDIB() is inverted
regression from the transparency->alpha work

Change-Id: I2aaf8262191ca6136f87c59629e95bd9a7e7e419
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174991
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-10-16 16:57:30 +02:00
Abrar Emad
8e2369a781 tdf#143148 Use pragma once instead of include guards
Change-Id: I9df35198804cca98cd71c19fa4ef74fb6f47fd5e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175013
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-10-16 16:14:52 +02:00
Xisco Fauli
d0ffbb841a ooxmlexport: drop isExported (part 2)
Change-Id: I253b5a10214f494b1a9a77b09241cf6cdaa4dc22
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175018
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-16 16:02:50 +02:00
Noel Grandin
5c4fac1e9f loplugin:unusedmethods
Change-Id: I6ba4b4046190b701d4a15c6fa90b6009ecf4ab1c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175014
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-16 15:52:02 +02:00
Noel Grandin
44bb2c8287 loplugin:unusedfields
Change-Id: If05b87f1e6c19b15b03b2695921a582e078d0f1a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175011
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-10-16 15:51:52 +02:00
Xisco Fauli
49c0e81e7d sw: drop DECLARE_FODFEXPORT_TEST macro
Change-Id: I0b232aa689ffc70a2cfca1af5ba5529e34060371
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175015
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-16 15:28:13 +02:00
Stephan Bergmann
2455a0d8e1 Drop extra quoting
...introduced in 074714fab8 ".NET Bindings: Create
nuget package for LO SDK".  The assumption is that none of the variables used in
that block of code represent paths that contain characters that would need any
form of quoting.  (And if they did, the solution would not be to just wrap them
in "..." quoting, but to use '...' and escape any contained ' properly.)

Change-Id: Ie5b972c53a60c8c9a4bcfa03627a8e1998646285
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175010
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-10-16 15:18:59 +02:00
Xisco Fauli
740c030e30 ooxmlexport: drop isExported (part 1)
Change-Id: I2c40a9290c89e4fd4da18de9f3cb2d735182bdf8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175012
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-16 14:19:19 +02:00
Xisco Fauli
a0af36ddc6 rtfexport: drop isExported
Change-Id: I5b5fd5e866c2e6c8df247fa70370d7404eb88423
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174992
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-16 14:13:54 +02:00
Javiya Vivekkumar Dineshbhai
92f6b0ae39 jsdialog: support textWithIconEnabled into Dump icon view
Change-Id: Ib005da05fe500aae5729095533aab05578e567d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171679
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-10-16 13:18:21 +02:00
Oliver Specht
a157f82649 tdf#159286 FORMTEXT selection changed
As long as FORMTEXT has default content of 5 en spaces a click
selects the content. If the content has changed then the cursor is
placed at the mouse position.

Change-Id: If0e7717d04d29887b63ec20ed6b82c625400421a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173812
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Tested-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Tested-by: Jenkins
2024-10-16 13:12:11 +02:00
Xisco Fauli
8b4161616b odfexport: drop isExported
Change-Id: I5d143e9ede6fa9decf994afbe67f8c4116f2d4d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175009
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-16 12:30:06 +02:00
Xisco Fauli
9018cf4d1c ww8export: drop isExported
Change-Id: I3eb65c8d9666d6f0a22360a691938e9e82ccd3d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174990
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-16 11:34:50 +02:00
László Németh
1fb6de0270 tdf#163149 sw smart justify: fix line shrinking at image wrapping
Limited line width at image wrap could result negative nSpaceAdd
value, i.e. paragraph line with extra letter spacing instead of
line shrinking.

Regression from commit 17eaebee27
"tdf#119908 sw smart justify: fix justification by shrinking".

Change-Id: I76cc3004d246ff7af441ca9a92eaa8fc7b09f01b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174985
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2024-10-16 11:29:32 +02:00
Miklos Vajna
c8549fa320 tdf#138711 sw textbox: capture fly when its draw object is captured
Load the bugdoc, notice that the only shape in the document has a
captured (inside the page frame) draw shape, but its inner fly frame is
not captured inside the page frame, so a small top margin is paired with
a larger right margin, which is unexpected.

This is nominally a regression from commit
9835a5823e (sw textboxes: reimplement ODF
import/export, 2014-10-04), because previously the ODF markup for Writer
TextBoxes were ignored, so we had correct position of the shape text at
the price of losing complex content.

Fix the problem similar to what commit
a0b6587c4a (tdf#161199 sw
DoNotCaptureDrawObjsOnPage: capture wrap=none draw objects, 2024-06-13)
did: if we detect that the fly frame is part of a TextBox, then work
with the wrap type of the draw format, since these inner fly frames
always have their wrap type set to "through".

This fixes the unexpected position of the fly frame and keeps the import
of complex content working.

Change-Id: Ib0d861af0fac74d93a09178c10bc19a1b45e3ce7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174987
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-10-16 09:53:34 +02:00
Michael Weghorn
71d69554b2 gtk3 a11y: Drop unused DocumentFocusListener class
Code calling the ctor was dropped in

    commit 4aa2cc878d
    Date:   Thu Jun 20 10:46:59 2024 +0200

        loplugin:unusedmethods

which dropped GtkSalData::GetDocumentFocusListener
unused since

    commit c45c64aeb5
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Mon May 6 14:44:36 2024 +0200

        tdf#160806 tdf#160837 gtk3 a11y: Drop handling of some VclEventIds

Change-Id: Iee8134371fce26cb21481695ab8379d4fc61065c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174988
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-10-16 09:37:41 +02:00
Ashok
ef36357ee9 tdf#132293 Remove unused import from uitest
Change-Id: Id248ccedd7e99a434528c2afb0d1b00631c927de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174984
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-10-16 09:32:03 +02:00
Olivier Hallot
1e3f25b659 Update git submodules
* Update helpcontent2 from branch 'master'
  to 4749ae5515f9e251131009425a1a558ff1434170
  - More typos and mute translation
    
    Change-Id: I6ec87cad813dad733fec52e5bc2adfd6f7ec0902
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/174949
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2024-10-16 08:54:21 +02:00
Olivier Hallot
6e069effb5 Update git submodules
* Update helpcontent2 from branch 'master'
  to 2ca20dece0550ecd127c85d835157b1ab648cf18
  - Typos
    
    Change-Id: I95d519d165bc0f7d331147392010e02b0cca1018
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/174948
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-10-16 07:56:23 +02:00
Noel Grandin
7f42f031ed tdf#100894 speed up style tree creation
by using bulk_insert_for_each() more aggressively.

Reduces the open time from several minutes to 18s on my machine.

I had to pass down a flag, because the gtk and the gen weld
backends work differently, and the gen backend absolutely
has to know up front if the inserter function is going to
call set_text, otherwise it asserts in SvTreeListBox::SetEntryText

Change-Id: I84750888c0a80f4041cfe024e6570dd94f6d09db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174757
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-16 07:38:45 +02:00
Patrick Luby
34b95e12a8 On macOS the "cp" command does not have a "-T" option
Change-Id: Id7d81c23e79569a74c26e5a69890b3b41f4b2aa6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174982
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
2024-10-16 05:57:45 +02:00
Xisco Fauli
337162e50b CppunitTest_sw_ooxmlexport13: fix dead code
isExported() always returns true after loadAndReload

Change-Id: Ia1ca4e5d1efa9dc4a8131574fac8c226aebada03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174983
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-16 00:44:21 +02:00
Justin Luth
bd6349d3fe tdf#121741 sd: not modified when leaving an empty placeholder
When you ENTER a placeholder, it removes the placeholder text.
In that case it doesn't treat this as a change
(because SdrObject::SetOutlinerParaObject is never called).

However, when you LEAVE the placeholder,
it puts the placeholder text back in.
This was being treated as a modification event (x2).

I tested what happens if you delete text
and then leave the placeholder.
The deleted text is already handled before we can leave the placeholder,
so that doesn't cause any concern.

TODO: an undo event is also created.

Change-Id: I366eb7a174284dc07415342258fcf65e50641be6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174860
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2024-10-16 00:42:33 +02:00
Xisco Fauli
21b5bb33f7 CppunitTest_sw_ooxmlexport12: simplify a bit
Just use CPPUNIT_TEST_FIXTURE

Change-Id: I3491c6c151b28f86866fd846fc12011ef69e93b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174980
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-15 22:41:41 +02:00
Xisco Fauli
8a473fa086 CppunitTest_sw_ooxmlexport12: remove dead code
After calling loadAndSave, isExported always returns true
Code added in 9e1e88ad5c
"tdf#145720 DOCX export: fix loss of tracked moving"
If it's changed to check the layout from parseLayoutDump instead
of the export, it also fails

Change-Id: I0f8248db44ab299c3b6a6ed0901357d6e153e1aa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174979
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-15 21:26:43 +02:00
Caolán McNamara
013b832878 cid#1555171 double-locked-pattern Data race condition
Change-Id: I2ef54091535cf511a74e19a037647d5baff9a825
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174971
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-10-15 21:05:45 +02:00
Andrea Gelmini
0e97c24f23 Remove duplicated include
Change-Id: I573df37f25f4c2b4867b235627f81b7117013d55
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174967
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-10-15 19:29:39 +02:00