Commit graph

497351 commits

Author SHA1 Message Date
Pranam Lashkari
4c3f2194bb LOK: fixed incorrect Logic point calculation for Map mode
problem:
it was very difficult to select line in online,
specifically in writer if line is very think and
it was almost impossible to select line

Change-Id: Ib641cd3d9795b93d47c78bc8f57211f51714844d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168837
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
(cherry picked from commit a0612242a395e1be1fe8383537bc5a82d6b882ac)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169011
Tested-by: Jenkins
Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
2024-07-05 14:06:27 +02:00
Xisco Fauli
355e553505 libxslt: upgrade to 1.1.42
Downloaded from https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.42.tar.xz

Change-Id: I77de8a0922c5271161640eae5c92b425c5be82c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170011
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-07-05 13:39:37 +02:00
Tibor Nagy
74b312d6f2 Add escape direction support for glue points in the preset shapes
Change-Id: I6727def5dd42ecd5dae3ddd27d2af733b5883e09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170006
Tested-by: Jenkins
Reviewed-by: Nagy Tibor <tibor.nagy.extern@allotropia.de>
2024-07-05 11:34:30 +02:00
Tibor Nagy
a14531e413 The connector shape is losing its connection
The issue is that we are trying to set the connector shape properties
too early, but the shapes that we want to connect to have not been created yet.

Follow-up to commit Ie95ccd5bcd4d5c3f9c45c7dcc4f88acc0c9438aa
"tdf#157172 tdf#157460 PPTX import: fix connectors adjustment values"

Change-Id: I63c76535cc718bc46d5c3ed5489b752925cd6a77
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170007
Tested-by: Jenkins
Reviewed-by: Nagy Tibor <tibor.nagy.extern@allotropia.de>
2024-07-05 11:00:31 +02:00
Michael Stahl
2afdc61dd3 package: ZipFile: treat junk at the start of zip as invalid
Probably the only legitimate use of such is self-extracting archives,
irrelevant for LO.

ofz56826-1.zip is an example; given what Info-Zip unzip prints about
this file we don't want to successfully open it.

Change-Id: I9568710227e4a152f9dc7bc356184394d7da8eba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170002
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-07-05 10:12:30 +02:00
Tomaž Vajngerl
48e76366ea annot: don't show the annot. object if LOK and not PDF document
In online the client side comments/annotations are used, so to
keep this behavior for presentations we only enable the core side
rendering of annotations when the document is a PDF. No change in
the desktop applitation.

Change-Id: I50ffd1b6d81d2fcf6ef9f821e783ae228e39e4e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169969
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-07-05 09:29:28 +02:00
Noel Grandin
269654fe17 fix asan build
after commit 85fd526fc6
"fix and simplify the ItemInstanceManager mechanism"

The problem is that some *Item classes in sw/ and sc/
share WhichIds, and a whole bunch of SfxBoolItem
subclasses share the same SfxItemType enum value.
So we ended up mixing and matching objects
of different concrete subclasses in a given
*ItemManager collection.

Add some asserts to the global pool code to catch
issues like this earlier on.

Add unique value of the SfxItemType enum for all
the SfxBoolItem subclasses

Change-Id: I3c8d4e02be1cd412b0292e973a6498df5f8e7102
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170003
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-05 08:59:49 +02:00
AungKhantOo
07a166790b tdf#159380 Fix for Add an UNO command to close all documents
Change the condition if the documents are immediately closeable.
Now, save locked documents are not immediately closeable.

Remove the check if in quit or closing docs in SID_CLOSEDOC in
objserv.cxx as it becomes unneccessary.

Remove some extra new lines which are unnecessary changes from
before the patch.

Change-Id: Iab16629fe436f4365000fb2a016bbb1fb49c181c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169983
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-07-05 08:12:37 +02:00
Andreas Heinisch
8cf0bc36a8 tdf#158110 - Paste special: improve check for cells with notes
Change-Id: Ia18d8f91ee2d4493174255424ce7e3b7310c369d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169355
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Tested-by: Jenkins
2024-07-05 08:11:53 +02:00
Mike Kaganski
96c3d78f39 Make window's default mouse position a large negative
Some operations, like DrawViewShell::Activate, trigger FuDraw::ForcePointer.
The latter may call SdrView::PickAnything to test if the pointer is over an
object. In SdrMarkView::CheckSingleSdrObjectHit, the bound rectangle of the
object is tested first, which doesn't need the object's deep processing. If
the point in in the rectangle,  the object is processed further,  which may
render the object. The hit test is performed using a tolerance.

Commit 56a1f9bea2  (sd:  extend test to check
the PDF pages aren't rendered when loaded,  2020-03-26)  made sure that the
rendering doesn't happen in the LOK mode.  In that mode, the mouse position
is unchanged from the values  set in the ImplFrameData ctor.  Previously it
was enough for the test, that the initial position was [-1, -1], which made
the point outside of the bounding rectangle of the objects. But an upcoming
fix for the map mode calculations  makes tolerance large enough to consider
the point inside the rectangle, which triggers rendering and fails the test.

This change  makes the default position  [-32767, -32737],  which should be
reliably outside of the tested rectangle.

Change-Id: Ie1142729448f7ac3c628880140f123cde66b404e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170005
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-07-05 06:32:56 +02:00
Samuel Mehrbrodt
ab5d79c90f tdf#161653 Fix selecting from numbering dropdown (Impress/Draw)
Change-Id: Ia066a8ff4b7ab4760fec7a4475afbceee084d115
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169995
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2024-07-05 03:45:19 +02:00
Michael Weghorn
e142fa40fa cpdb: Don't include cpdmgr.hxx if not building CPDB support
Don't include the header when building without
`--enable-cpdb`, as the code there is CPDB-specific.

This prepares for Biswadeep's pending Gerrit change series
starting at [1] that implements CPDB support using
the CPDB C API, and includes the corresponding
header. (See CI failure [2] due to missing headers
when not building CPDB without this change in place.)

[1] https://gerrit.libreoffice.org/c/core/+/168633/5
[2] https://ci.libreoffice.org/job/gerrit_linux_gcc_release/168688/consoleFull#1916232175cd06c086-ffd7-48da-8ce2-d58b9387379c

Change-Id: I8b5395d2ad45d50c63c2dbdd0a5459890fc6f6a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170001
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-04 20:51:45 +02:00
Noel Grandin
24403f4448 fix --disable-firebird-sdbc build
Change-Id: I92e4f1b834b9afe806c29f45af94a562fcb3d78e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169993
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-04 20:50:56 +02:00
Michael Stahl
6005260078 comphelper: treat zip file path segments '.' and '..' as invalid
This will prevent also opening with RepairPackage, would need to adapt
ZipPackage::getZipFileContents() a bit, but let's hope nobody acutally
has such files.

Also treat path that starts with "/" as invalid, presumably it's not
allowed by APPNOTE.TXT:
"The name of the file, with optional relative path."

Change-Id: Ic694ea2fb34f5de1d490a9a251cf56e4004e9673
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169994
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2024-07-04 17:03:36 +02:00
Andrea Gelmini
55032dae69 Fix typo
Change-Id: Ieae6dd42fc2e3b8021356145a676cd96c6fb9e76
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169999
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-07-04 16:21:35 +02:00
Andrea Gelmini
8eaaeb50ae Fix typo
Change-Id: Id187ef0b7d1d705dfc45a806fc6db459a278fdcd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170000
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-07-04 16:21:07 +02:00
Xisco Fauli
1e2c17a350 tdf#116412: Add unittest
Change-Id: Iab051c91900768a3bf3f26b6de3b443dc18a6928
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169990
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-07-04 15:45:15 +02:00
Xisco Fauli
b7bcc716fc pyuno: re-enable pytest_ssl on mac
it was disabled in 731f7fe778
"disable pytest_ssl on mac" with no apparent reason

Change-Id: I7d867ad771f1459a598c4ca346390e732929d705
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169985
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-07-04 15:26:52 +02:00
Michael Stahl
8d869b5fe4 sfx2: fix signature infobar being shown for every repaired document
(regression from commit 8b333575ee)

So it should only be set if the state is still UNKNOWN.  But
SfxObjectShell::ImplGetSignatureState() is called before the repair
dialog is shown, so make sure that the second import (with
RepairPackage) finds both members as SignatureState::UNKOWN.

Change-Id: Ic914016dde6425a4d95fba7f6f66411305553930
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169989
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-07-04 14:54:52 +02:00
Tomaž Vajngerl
2175d3a847 annot: add tests that checks annotation after an text edit
Change-Id: I18bad2e086330bce335299147af8317232d95ccc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169644
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
2024-07-04 14:40:57 +02:00
Tomaž Vajngerl
65f672060c annot: add test that checks annotations after page is duplicated
Change-Id: Ic2463272d024acda4f4f5bceadbf8d5779967f67
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169643
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-07-04 14:40:49 +02:00
Mike Kaganski
d0e063fbc7 VS natvis: improve css::uno::Any handling
Change-Id: Id982ff1e1e963f6a88cf74cef0a284f6463af923
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169988
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-07-04 14:22:21 +02:00
Noel Grandin
59ec1c4322 make SvxColorItem hashable
Change-Id: Ic96d53c113cd6ae5b805df5a8e80d4da7adfec59
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169966
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-07-04 13:59:15 +02:00
Patrick Luby
3da1d8a791 tdf#161833 treat semi-transparent pixels as opaque
Limiting the contour wrapping polygon to only opaque pixels
causes clipping of any shadows or other semi-transaprent
areas in the image. So, instead of testing for fully opaque
pixels, treat pixels that are not fully transparent as opaque.

Also, tdf#161833 would cause semi-transparent pixels to be
treated as fully transparent pixels when calculating the wrap
contour for an image. To force the correct contour when loading
a document, force the contour to be recalculated by ignoring
the saved polygon if the contour is set to "recreate on edit".

Change-Id: Ibe256f54e1c82de30c2b7d5b92a69344b4a7ba10
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169745
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-07-04 13:50:16 +02:00
Julien Nabet
d9dcada2ed Fix regression Gtk-CRITICAL+Gtk-WARNING on vcl/wizard.ui
(soffice:40467): Gtk-CRITICAL **: 11:08:58.517: gtk_assistant_set_page_has_padding: assertion 'child != NULL' failed
(soffice:40467): Gtk-WARNING **: 11:59:34.471: ../../../gtk/gtkcontainer.c:1348: container class 'GtkHeaderBar' has no child property named 'expand'

Regression from 2f3f1170a7
Resave with newer Glade version

Change-Id: I9fd86af43149f2ea6bd25e63c1c04360fdae0bcf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169987
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-07-04 13:46:43 +02:00
Caolán McNamara
07e310498f cid#1608601 silence Unchecked return value
Change-Id: Iab18edb8ddb0860b337c0caf5c1fcf661521541f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169982
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-07-04 12:58:46 +02:00
Caolán McNamara
a14ef3ee8d cid#1607240 silence Copy-paste error
and

cid#1607649 Copy-paste error

Change-Id: I9b0bfc1b2403ecaa514b6086bc5a4c37b0fdf7ef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169981
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-04 12:58:38 +02:00
Caolán McNamara
a6a95c0ce4 cid#1608568 COPY_INSTEAD_OF_MOVE
Change-Id: I7509b0033855c66324d655b66bef9cc14f5e8074
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169980
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-07-04 12:58:23 +02:00
Caolán McNamara
5d9267b81c cid#1557397 COPY_INSTEAD_OF_MOVE
Change-Id: I9c33fe01e6f48b61df4130b548d9a6c793aa7e85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169979
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-04 12:58:15 +02:00
Caolán McNamara
fec0684c86 cid#1555756 COPY_INSTEAD_OF_MOVE
Change-Id: I07acff7c5e3cba4afa144843bfeb44c99de81ae9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169978
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-04 12:58:08 +02:00
Caolán McNamara
0bd99358cb cid#1555201 COPY_INSTEAD_OF_MOVE
Change-Id: I9fcb4b4e1a9c9d7413a2f3cec0d0f408f9b59691
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169977
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-07-04 12:58:01 +02:00
Caolán McNamara
0d72c7f9de cid#1554775 COPY_INSTEAD_OF_MOVE
Change-Id: I75b3205b23b43ba639b75808d0a832418f7d7c24
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169976
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-04 12:57:54 +02:00
Caolán McNamara
cefb16451a cid#1554763 COPY_INSTEAD_OF_MOVE
Change-Id: I03ad4f979fef11681a3b0a0205cfb143db28b63d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169975
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-04 12:57:42 +02:00
Caolán McNamara
b0b6f6092e cid#1545560 COPY_INSTEAD_OF_MOVE
Change-Id: I38fb9bfb4703c05f3f07634fbed81254a18ad37d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169974
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-04 12:57:31 +02:00
Regina Henschel
e9aadbc0ed tdf#161483 angle unit import for cell text rotation
Currently style:rotation-angle of table-cell-properties is imported
using ::sax::Converter::convertNumber. That imports only integer values
and ignores units. But ODF uses the data type 'angle'. That is a double
with optional units 'deg', 'rad' or 'grad'. A unit-less value is
treated as degrees.

The patch changes the import to use the new method
::sax::Converter::convertAngle(), that was introduced in commit
9f62c7a0f2.

Change-Id: I98c35a762e90b959a005f5bcdf810c5676cc8b6a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169891
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2024-07-04 12:30:47 +02:00
Tomaž Vajngerl
4e97c21ab3 annot: AnnotationObject should be the size as the text content
This makes the AnnotationObject to resize the frame to the size of
the text content, or else the text that is too big will be shown
outside the object's frame (rectangle). For some reason we need to
set the object as a "text frame" (mbTextFrame = true) or else it
will not allow to automatically adjust the frame to the text
content.

Change-Id: Ib2b9a7c07626fe8b0a2286cfd67c3bf37cf9af03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169642
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
2024-07-04 10:06:31 +02:00
Tomaž Vajngerl
daca6c1e86 svx: ImpChainLinkProperties cleanup
Change-Id: I89eb9598dc2cc00284ee6f32a3caf624b405b21d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169849
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
2024-07-04 10:06:26 +02:00
Noel Grandin
38514aecba tdf#152104 speed xls->ods convert part 2
We are doing a lot of work in ScAttrArray::SetPatternAreaImpl,
where we move the mvData vector of CellAttributeHolder around,
so inline and reduce some of the work.
The move operator= can be simplified, leaving some of the work
to the destructor (which may well be elided when moving
arrays of elements around).

Reduces time from 50s to 39s

Change-Id: I358f48fa30f785f7b3f221079db93ab0288a7f14
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169941
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-04 09:55:57 +02:00
Noel Grandin
2fcad7783d make SvxAdjustItem hashable
Change-Id: Ic5c78a0de4e7edafc0ba97bf69d43c377f7b5503
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169633
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-04 09:19:01 +02:00
Noel Grandin
6e1a55dfbd make SvxEscapementItem hashable
Change-Id: Ic03c78f6dde68f5557d474147336fa62be6f3aaa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169967
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-04 09:18:35 +02:00
Noel Grandin
890916578f tdf#152104 speed xls->ods convert part 1
we now have 16k columns, so storing a flat array of columns
where most of them are empty is bad for performance.
Rather store a sorted data-structure of all the ranges,
reduces time from > 5 mins to ~50s.

Change-Id: I92327daf06469c1b9d1f4c427b8ebf812641a8e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169940
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-07-04 09:17:50 +02:00
Mike Kaganski
31398962c1 VS natvis: improve handling of SwFlowFrame derivatives
Change-Id: I3fe2169c3b6f016a850dc0df6a248d207a65fb17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169973
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-07-04 09:08:00 +02:00
Michael Weghorn
a52b152b41 tdf#144981 tdf#161853 icon choice ctrl: One selection border is enough
The previous `if (bSelected)` body a little bit further
up in `SvxIconChoiceCtrl_Impl::PaintEntry` already
has

    rRenderContext.DrawRect(CalcFocusRect(pEntry));

to draw a border around the selected entry.

One border is enough, so don't draw another one
using
`vcl::RenderTools::DrawSelectionBackground`
(pass false instead of true for the `bDrawBorder` param).

For the gen and the Qt-based VCL plugins that use
Cairo rendering by default, this avoids the
additional misplaced and not properly cleared selection
rectangle.
See tdf#144981 comment 6 for where the problematic
handling in the Cairo rendering path is, but which also
mentions that changing this would break other things.

For then gen VCL plugin using Skia (`SAL_FORCESKIA=1`)
or on Windows, I see no visual change for either the
"Hyperlink" dialog (Ctrl+K) or the "Page Style" dialog
(Alt+Shift+P) in Writer with this change in place while
moving focus between entries.
On Windows, when moving focus out of the icon choice
control (into the tab page), the border now remains
black on all sides instead of being partially black
(at least the top border) and partially blue (at least
the bottom border), so it's more consistent there as well
now.

Change-Id: I6db415344e9276ce89d41c6b40fb93fc38ddf9a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169972
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-04 08:47:54 +02:00
Michael Weghorn
f4a755cf7d tdf#161853 Simplify SvxIconChoiceCtrl_Impl::RepaintSelectedEntries
* Drop superfluous check at the start. (Loop will
  just do nothing if there are no elements.)
* Use range-based for.

Change-Id: Idbe0ba67268cf76d38b27fcf94e59eb8abd5f566
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169971
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-04 08:47:27 +02:00
Michael Weghorn
4d43de52e0 tdf#161853 Drop IconChoiceFlags::SelectingRect
Since

    commit 35775e291d
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Tue Jul 2 12:34:57 2024 +0200

        tdf#161853 Drop now unused SvxIconChoiceCtrl_Impl::SelectRect etc.

, that flag is never set, so there's no need to check
for that. Drop it.

Change-Id: Ibc2efdfc9b54c19bb90c2e71cc80e0cb4a0321a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169970
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-04 08:47:14 +02:00
Samuel Mehrbrodt
3958f65b8e pptx: Import comment author initials
Change-Id: Ic5838c929db9c08d6d9c6e1c87160dc2530105e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169847
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2024-07-04 07:33:49 +02:00
Samuel Mehrbrodt
9b72524722 pptx export: Respect user defined initials
instead of generating new ones.

Change-Id: I8979eaa694642cebd552534eeddcff5483831e6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169846
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2024-07-04 07:33:21 +02:00
Samuel Mehrbrodt
2dfcc67fbc Fix TODO
Change-Id: I77b4609d796978fefab1c60034310f890e3b973e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169845
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Tested-by: Jenkins
2024-07-04 07:32:54 +02:00
Samuel Mehrbrodt
9df3294ed8 ppt export: Respect user defined initials
instead of generating new ones.

Change-Id: If64690ac2aa22542e6b3939f3ed9cdc3c9f3be84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169844
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2024-07-04 07:32:40 +02:00
Michael Weghorn
93516e9181 tdf#161853 SvxIconChoiceCtrlEntry: Drop means to manually set neighbours
This mechanism to manually sort the entries by setting
a link/pointer to the neighbours isn't actually used, so
drop the code to maintain a linked list.

See

    Change-Id: I44eceb41866bb6d99ccea032f98637a42dabc9ee
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Wed Jul 3 10:44:46 2024 +0200

        tdf#161853 Drop always null SvxIconChoiceCtrl_Impl::pHead

Change-Id: Ib939145999725232d803103dc1fd0b49fa2d425a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169916
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-04 06:32:58 +02:00