Commit graph

497835 commits

Author SHA1 Message Date
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
Michael Weghorn
5db79db0f0 tdf#161853 Drop unused SvxIconChoiceCtrl_Impl::GetPredecessorGrid
Unused since:

    Change-Id: I4a412389669f9cbc6701b7ed78bd45f838e13590
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Wed Jul 3 10:34:20 2024 +0200

        tdf#161853 Drop unused SvxIconChoiceCtrl_Impl::{Set,Find}EntryPredecessor

Change-Id: I3688c74d0cdf01c68913767f6aa214c54ab719cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169915
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-04 06:32:52 +02:00
Michael Weghorn
c04fd602ea tdf#161853 Drop always null SvxIconChoiceCtrl_Impl::pHead
With

    Change-Id: I13ae34ffc51972bef746e53fcd46e65ea9fbf82c
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Wed Jul 3 10:38:56 2024 +0200

        tdf#161853 Drop unused SvxIconChoiceCtrl_Impl::InitPredecessors

in place, it can be seen that `SvxIconChoiceCtrl_Impl::pHead`
is always nullptr as it's initialized to that and never
assigned a different value afterwards.

Therefore, drop it and all related code.

Drop the now unused `bKeepPredecessors` param
from `SvxIconChoiceCtrl_Impl::Arrange` and
`SvxIconChoiceCtrl_Impl::ImpArrange`.

(Use `git show --ignore-space change` to more clearly
see the "actual changes").

Change-Id: I44eceb41866bb6d99ccea032f98637a42dabc9ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169914
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-04 06:32:44 +02:00
Michael Weghorn
5b94bedf77 tdf#161853 Drop unused SvxIconChoiceCtrl_Impl::InitPredecessors
Unused since:

    Change-Id: I4a412389669f9cbc6701b7ed78bd45f838e13590
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Wed Jul 3 10:34:20 2024 +0200

        tdf#161853 Drop unused SvxIconChoiceCtrl_Impl::{Set,Find}EntryPredecessor

Change-Id: I13ae34ffc51972bef746e53fcd46e65ea9fbf82c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169913
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-04 06:32:36 +02:00
Michael Weghorn
8809bbc87e tdf#161853 Drop unused SvxIconChoiceCtrl_Impl::{Set,Find}EntryPredecessor
Both methods are unused since:

    Change-Id: I926b03a0f2054c21f8ab96eeee0083156443d2c0
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Wed Jul 3 10:17:41 2024 +0200

        tdf#161853 Drop unused SvxIconChoiceCtrl_Impl::SetEntryPos

Further cleanup will be done in following commits.

Change-Id: I4a412389669f9cbc6701b7ed78bd45f838e13590
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169912
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-04 06:32:27 +02:00
Michael Weghorn
14c88b770a tdf#161853 Drop unused SvxIconChoiceCtrl_Impl::SetEntryPos
Unused since:

    Change-Id: I63ab1272140a0d5386538e6b749ba0f652f49c38
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Wed Jul 3 10:15:27 2024 +0200

        tdf#161853 Drop SvxIconViewFlags::POS_MOVED

Change-Id: I926b03a0f2054c21f8ab96eeee0083156443d2c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169911
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-04 06:32:19 +02:00
Michael Weghorn
0583a07e5f tdf#161853 Drop SvxIconViewFlags::POS_MOVED
The flag is never set, so there's no need to
check or clear it either.

Change-Id: I63ab1272140a0d5386538e6b749ba0f652f49c38
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169910
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-04 06:32:02 +02:00
Michael Weghorn
fed3e5d4ea tdf#161853 Drop SvxIconViewFlags::POS_LOCKED
The flag is never set, so there's no need to
check or clear it either.

The only method setting it
(`SvxIconChoiceCtrl_Impl::LockEntryPos`) was dropped in

    commit 18d18c8a56
    Author: Joseph Powers <jpowers27@cox.net>
    Date:   Sat Jul 23 07:16:14 2011 -0700

        unusedcode.easy: svxIconChoiceCtrl_Impl

        Doing List cleanup, I ran into SaveSelection() and decided to delete it.
        While I was in the class, I went ahead and cleanup them all up.

, but that method was already unused by then.

Drop the flag and related code.

Change-Id: I9b886f3a63444d502ef8c488437889a2b05e065a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169909
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-04 06:31:51 +02:00
Michael Weghorn
ed3c987a60 tdf#161853 Drop SvxIconChoiceCtrl_Impl::bUpdateMode
It's initialized to true and since

    Change-Id: I0c6f191017b13fffee57d1e5eba1c03c05736ee2
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Wed Jul 3 09:09:22 2024 +0200

        tdf#161853 icon choice ctrl: Drop WB_SMART_ARRANGE handling

, the value never changes, so drop it and simplify
accordingly.

Change-Id: I05007727e29a7884165fa25c668f139a96b7c4c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169905
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-04 06:31:41 +02:00
Michael Weghorn
11169e6b29 tdf#161853 icon choice ctrl: Drop WB_SMART_ARRANGE handling
That flag is unused since `OApplicationIconControl`
was ported away from using `SvtIconChoiceCtrl` in

    commit fd2ea8e035
    Date:   Wed Aug 19 14:59:33 2020 +0100

        weld OApplicationSwapWindow

, so drop it.

Change-Id: I0c6f191017b13fffee57d1e5eba1c03c05736ee2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169904
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-04 06:31:32 +02:00
Michael Weghorn
1bffb064a0 tdf#161853 Drop SvxIconChoiceCtrl_Impl::MouseButtonUp
Since

        commit af9413cb4a
        Author: Michael Weghorn <m.weghorn@posteo.de>
        Date:   Tue Jul 2 11:53:27 2024 +0200

            tdf#161853 icon choice ctrl: Drop support for non-single selection modes

, the `IconChoiceFlags::DownDeselect` and `IconChoiceFlags::DownCtrl`
flags are never set, so `SvxIconChoiceCtrl_Impl::MouseButtonUp`
wouldn't effectively do anything.

Drop it and the now unused flags.

Also drop the `SvtIconChoiceCtrl` override for
`Control::MouseButtonUp`.

Change-Id: I06808726389f31a426cba36e627b4305fb362bee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169903
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-04 06:31:18 +02:00
Michael Weghorn
d4d8142191 tdf#161853 Drop SvxIconChoiceCtrl_Impl::bHighlightFramePressed
Since

    commit af9413cb4a
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Tue Jul 2 11:53:27 2024 +0200

        tdf#161853 icon choice ctrl: Drop support for non-single selection modes

, `SvxIconChoiceCtrl_Impl::bHighlightFramePressed` is always
false, so drop it and the corresponding handling.

This also means that the `bKeepHighlightFlags` param
for `SvxIconChoiceCtrl_Impl::SetEntryHighlightFrame`
is now unused, so drop that as well.

Change-Id: I278318b2bda14b06339a375b683a49f8594e2e34
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169902
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-07-04 06:31:10 +02:00
Olivier Hallot
e650777fa2 Fix Help build with --with-lang=...
Variable gb_POLOCATION is empty.
include langlist.mk after TargetLocations.mk

Change-Id: I3e82624df84700c922d116b32a366c0e6b424235
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169928
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-07-03 23:47:41 +02:00
Jim Raykowski
8616a49d37 tdf#160817 related: fix tooltip-text translatable context assignments
Fixes copy-paste oversights in commit
94891dce76

Change-Id: Ibe8ea0e7d58ea748ac90732f09af0e5bee0dff45
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169892
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2024-07-03 22:57:35 +02:00
Xisco Fauli
25b37b4c8c raptor: Use --without-www
it seems not used. Besides, it fails when upgrading
to libxml2 2.13.
See https://gerrit.libreoffice.org/c/core/+/169327

Change-Id: If383130eac3b5d6de911c4c273c8e371a4980f23
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169933
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-07-03 22:50:25 +02:00
Mike Kaganski
d7d14e91f7 SHGFI_EXETYPE doesn't need SHFILEINFOW
Change-Id: Ib18d5a3992174c0b56f11970d02515bc6d0ea615
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169907
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-07-03 22:12:00 +02:00
Mike Kaganski
afa5ade8b5 Optimize a bit
Change-Id: Icccf4a93054780c7a111f664117b25821c47f700
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169906
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-07-03 22:11:53 +02:00