Commit Graph
24694 Commits
Author SHA1 Message Date
Andrea Gelmini f5e01356e8 Remove duplicated include
Change-Id: I4022550a9533d7f26194ce3fe8953ed8e01bdbcc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194844
Reviewed-by: Simon Chenery <simon_chenery@yahoo.com>
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2025-12-01 23:26:01 +01:00
Noel Grandin aaedabdaa3 loplugin:unusedmethods
Change-Id: I85e2ca6222e33c2a99bfd0ea614d5ad238a7e8de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194890
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-12-01 18:27:09 +01:00
Mike Kaganski 7bec2e6413 Simplify a condition
Change-Id: I084957cdd3545d1d237ac5e2916e0f09f27d1cb0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194862
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-12-01 17:34:08 +01:00
Noel Grandin 8a7b5d8b3a tdf#169414 Ghost object remains in original position after object is moved
revert
    commit 1c8b8d1fb8
    Author: Noel Grandin <noelgrandin@gmail.com>
    Date:   Fri Nov 7 16:38:40 2025 +0200
    tdf#168928 Draw object not removed from the view after delete
and
    commit e6a8c40e50
    Author: Noel Grandin <noel.grandin@collabora.co.uk>
    Date:   Tue Sep 30 14:54:37 2025 +0200
    tdf#116975 Laggy behavior when clicking between table cells in impress

No idea why this is going wrong, there must be some implicit thing kicking in that I removed.

Change-Id: I5da81be9d6a8305163a70a4639ff0229acfb2329
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194864
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-12-01 13:42:59 +01:00
Miklos Vajna 02c57b6a11 svx: prefix members of SvxFontWorkControllerItem
See tdf#94879 for motivation.

Change-Id: Ia36ec1aedb6eccb66b31fe2b09a0df5dc3010c97
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194849
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2025-12-01 10:17:55 +01:00
Gabor Kelemen beb52a2679 tdf#146619 Run IWYU again on include/vbahelper
Change-Id: I95704033b0c79ee64375fc383edfc2aecabcc970
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193919
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2025-11-30 23:08:44 +01:00
Gabor Kelemen 8439cf1292 tdf#146619 Run IWYU again on include/xmloff
Change-Id: I8d66d58c1c421724d8e6df7e9a045d518da85f38
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193921
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2025-11-30 23:08:31 +01:00
Gabor Kelemen 3f934b915b tdf#146619 Run IWYU again on include/vcl
Change-Id: Ib5d14de3736629d5879a4f808361a221ede6ddd6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193920
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2025-11-30 23:08:20 +01:00
Gabor Kelemen 3db02bc3eb tdf#146619 Run IWYU again on include/tools
Change-Id: I5110d7dd84914ee95ce9170e9b872b2184bc0d9d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193917
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2025-11-30 23:08:05 +01:00
Gabor Kelemen b8e479587e tdf#146619 Run IWYU again on include/svtools/
Change-Id: I72523eb80910c808bef4be44d2efa0eec567cb14
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193915
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2025-11-30 19:40:38 +01:00
Gabor Kelemen c244774744 tdf#146619 Run IWYU again on include/u*
Change-Id: Iaa4b507049ae33fb300a86075b69534bb0588c17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193918
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
Tested-by: Jenkins
2025-11-30 18:26:00 +01:00
Gabor Kelemen 663551c5c4 tdf#146619 Run IWYU again on include/test
Change-Id: Ia2fe7435e0fbd6185c40655cd6c5ae93d39c7963
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193916
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2025-11-30 18:25:35 +01:00
Caolán McNamara 93e9669998 drop some coverity markup
Change-Id: Iffb2542be9e973d67ea3fea5fc1e924e491f14e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194820
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-11-29 19:47:17 +01:00
Gabor Kelemen b42aef5df3 tdf#146619 Run IWYU again on include/sot/
Change-Id: I10ac9a7bcd0727a549943227a454475148f36b97
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193913
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
Tested-by: Jenkins
2025-11-29 14:12:45 +01:00
Gabor Kelemen 4d24007632 tdf#146619 Run IWYU again on include/svl/
Change-Id: I5dc8757a6d06ab6917a9af733550295008fde5b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193914
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
Tested-by: Jenkins
2025-11-29 13:59:05 +01:00
Gabor Kelemen 0e23c51d58 tdf#146619 Run IWYU again on include/oox/
Change-Id: I9fa88811687e4109e5708bd1925b60844ff7f6d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193911
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2025-11-29 13:28:01 +01:00
Gabor Kelemen 11f2f77266 tdf#146619 Run IWYU again on include/sfx2/
Change-Id: Ib45adb64f9da6e54ecf204332a43d7fb23dacf8f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193912
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
Tested-by: Jenkins
2025-11-29 11:35:04 +01:00
Szymon Kłos 788a225f64 Writer: iterate styles to show also favourite in the notebookbar
- qFormat - specifies if style should be shown in more prominent places
  in the UI even if unused
- we show it in that case not only in all styles in sidebar, but also
  in the notebookbar style previews
- this is Writer specific, implemented on sw/ style iterator and SwFormat
  level
- XStyles is interface common for all modules but in fact we do per module
  implementations it seems and there is no sense to propagate that value
  everywhere
- currently we have also qFormat export so just reuse grab bag value

Change-Id: Iee8f35a3e575c3c1caf6c67f8b489d7d64932cf5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193398
(cherry picked from commit cee5c21e0c8c64c78e5d04ff4e300edfaac30404)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194550
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2025-11-29 09:24:48 +01:00
Jan Holesovsky 7c8a7f9887 LibreOfficeKit is actually supported on macOS
Change-Id: I9d00dc356d11533ca3f8b436bf44fdb2bf1c82f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194788
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-11-28 20:55:51 +01:00
Mike Kaganski fa0efd2899 Drop comphelper::newArray_null, and use new (std::nothrow) directly
That is clearer, and even shorter.

Change-Id: I293e588e91be0265a9898038318f3b0a99bc3767
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194738
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-11-28 06:46:41 +01:00
Mike Kaganski d3cb2e7e24 Let SfxItemSet::GetItem taking TypedWhichId use static_cast
Only use the dynamic_cast in assertion.

Change-Id: Idbb2800bf4fdba74118b13f5948bc1e26b482c49
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194636
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-11-27 19:21:29 +01:00
Mike Kaganski e871a7d5a6 Drop default arguments from the templatized overload
These defaults don't provide any advantages over the base overload,
which works just fine in case when there's no ppItem argument. The
ppItem argument is the only sensible reason to use the templatized
overload.

Change-Id: Ic17fe1da7a3c02f9e7ebbe725060fcf129bc9f24
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194616
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-11-27 19:20:55 +01:00
Michael Weghorn 2be64257b9 weld: Drop newly unused weld::Widget::is_active
This is now unused after

    Change-Id: I243621153fc8211e8a69aa9f048fc4ff620ab01a
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Wed Nov 26 23:36:33 2025 +0100

        vcl: Drop now unused CustomWidgetController::IsActive

, so drop the method.

This also addresses this old TODO comment:

    // return if this widget has the keyboard focus within the active window
    // TODO: review if this has any practical difference from has_focus()

Change-Id: Ie0a82ee6ca631aabce444ad957a3331001e3a368
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194670
Code-Style: Michael Weghorn <m.weghorn@posteo.de>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-11-27 10:36:07 +01:00
Michael Weghorn b422799886 vcl: Drop now unused CustomWidgetController::IsActive
Unused now after

    Change-Id: I9958cc2aedab290741864da0155fefd30496895f
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Wed Nov 26 23:34:19 2025 +0100

        starmath a11y: Don't report ACTIVE state for SmGraphicAccessible

Change-Id: I243621153fc8211e8a69aa9f048fc4ff620ab01a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194669
Code-Style: Michael Weghorn <m.weghorn@posteo.de>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-11-27 10:35:57 +01:00
Michael Weghorn acf15cf926 Drop CustomWidgetController::IsUpdateMode
This static method always simply returns true, so
checking that doesn't add any value. Drop it.

Change-Id: Ic6277b6e49413808fd71a0a519df8744c17079e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194666
Code-Style: Michael Weghorn <m.weghorn@posteo.de>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-11-27 10:35:25 +01:00
Szymon Kłos 279856dca2 notebookbar: ensure we don't load addons in lok
- move notebookbar addon item definition into separate header
  to not include whole merger everywhere
- avoid creation or using any addon related objects in lok case
  as they are not used anyway

Change-Id: Ibb650386bf6d59f19a1a1c5cce8afa0da538dfd0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190267
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194507
Tested-by: Jenkins
Code-Style: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2025-11-27 07:22:21 +01:00
Kurt Nordback a07bad0cc8 oox: next step to replace oox::drawingml::Color with ComplexColor
ComplexColor is a replacement for oox::drawingml::Color, so both
share a lot in common, but oox::drawingml::Color is only used to
resolve the colors inside oox. The idea is to replace step by step
oox::drawingml::Color with ComplexColor. In this step a lot of
ComplexColor types are used instead in oox::drawingml::Color types.

Additionally oox::drawingml::Color is not mandatory anymore for
a lot of contexts, so depending on the need ComplexColor can be
used or oox::drawingml::Color.

Change-Id: I6613a0f63cc9b7d070841d4f667363b03e6cbaa8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194645
Code-Style: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
2025-11-27 01:33:12 +01:00
Noel Grandin 1bd04a5413 [API CHANGE] remove XPivotTableDataProvider
in favor of a regular C++ interface class, since this is purely used internally to LO

Change-Id: I84991efb1b0c8829e2175dc083b0f8627fcb1712
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194512
Code-Style: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-11-26 10:06:23 +01:00
Mike Kaganski 1e086712e4 Drop templated HasItem in favor of GetItemIfSet
... and harden the latter using StaticWhichCast.

Change-Id: If49674b7725624e2a0493b1891ada4de0ebc0cd0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194441
Code-Style: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-11-25 19:45:34 +01:00
Johann LORBER 2a3f53c4ae tdf#166724 - Checkbox anchor wrongly imported
Form Controls are not being "fully" imported as the MoveWithCell and SizeWithCell properties are not set internally in Calc.
Contrary to their own documentation, Microsoft Excel seems to declare (in the VML file) those properties with no value when they are false, and does not declare them when they are true.
Test xlsx documents generated with Excel 2007, 2010, 2013 and 365 have led me to this conclusion.

Change-Id: I7ba64983ae8036df8d672d6c94b2ca54d740a064
Signed-off-by: Johann LORBER <jlorber@linagora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190166
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Code-Style: Justin Luth <jluth@mail.com>
2025-11-25 18:25:40 +01:00
Noel Grandin 12baba92e0 tdf#169656 Crash upon starting animated GIF
this is caused by freeing an object that is currently on the callstack.

I dont have a complete fix here, this will fix it 99% of the time.

regression from
  commit e6a8c40e50
  Author: Noel Grandin <noel.grandin@collabora.co.uk>
  Date:   Tue Sep 30 14:54:37 2025 +0200
  tdf#116975 Laggy behavior when clicking between table cells in impress
but only because it made it more obvious, this has been a lurking problem.

Change-Id: I4f2f56a54a74f2a51e7ca05421d3db82de47f2ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194502
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Code-Style: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-11-25 11:52:46 +01:00
Michael Weghorn ab2846a3d6 Move ValueSetWithTextControl from svx to sw
This control is exclusively used in
sw::sidebar::PageSizeControl, so there's no need
to have it as an svx class defined in a global svx
header.

(And I think that using existing
weld::Widgets instead of having that custom
logic would be preferred, too, so this control
also shouldn't be more widely used in the
future. See also discussion in tdf#169637.)

Change-Id: I8b040072a975c227fad2280d9475a3bddfc3b4dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194487
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Code-Style: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-11-25 10:09:39 +01:00
Michael Weghorn 89e0fefed1 svx: Use #pragma once
Change-Id: If1bc00879c9ad67a28a4309247640f504fcaed9d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194486
Tested-by: Jenkins
Code-Style: Michael Weghorn <m.weghorn@posteo.de>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-11-25 10:09:18 +01:00
Mike Kaganski 4ef4af0a2c Use StaticWhichCast instead of static_cast
It feels safer in CloneSetWhich; previously, there was no way to make
sure that the passed TypedWhichId makes sense.

Change-Id: I1df520282f5407a69a095d959d107f6b78621f75
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194422
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-11-24 20:18:16 +01:00
Michael Weghorn 85a046f2fa tdf#130857 weld: Block signals in ComboBox::set_active{,_id}
As is the case in other weld methods, signals about
another ComboBox entry getting selected are not supposed
to be emitted when the change happens programatically
and not by manual user interaction.

Therefore, don't call weld::ComboBox::m_aChangeHdl
when the active entry was changed programmatically,
by blocking signals in weld::ComboBox::set_active
and weld::ComboBox::set_active_id and not calling
the handler in weld::ComboBox::signal_changed
while signal handling is blocked.

Have the blocking logic in the new base class
implementations and introduce new
weld::ComboBox::do_set_active and
weld::ComboBox::do_set_active_id as new
virtual methods to override in the subclasses,
which get called from the base class implementation.

This aligns the QtInstanceComboBox behavior with
the gtk and vcl ones (see how the GtkInstanceComboBox
implementations of the method were already explicitly
blocking the signal before this commit).

Similar earlier commit:

    commit 34dfea68f7
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Mon Nov 17 09:49:14 2025 +0100

        tdf#130857 weld: Block signals in SpinButton::set_value

Without this commit in place, an assert with the below
backtrace was triggered in a WIP branch for supporting
the dialog that can be triggered as follows when
starting LO with the qt6 VCL plugin and environment
variable SAL_VCL_QT_USE_WELDED_WIDGETS=1 set.

* "Insert" -> "Table of Contents and Index" -> "Citation"
* press "Edit" button

Backtrace:

    Thread 1 received signal SIGABRT, Aborted.
    __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
    warning: 44     ./nptl/pthread_kill.c: No such file or directory
    (rr) bt
    #0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
    #1  0x00007f4549c9e9ff in __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:89
    #2  0x00007f4549c49cc2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
    #3  0x00007f4549c324ac in __GI_abort () at ./stdlib/abort.c:73
    #4  0x00007f4549c32420 in __assert_fail_base (fmt=<optimized out>, assertion=<optimized out>, file=<optimized out>, line=1935, function=<optimized out>) at ./assert/assert.c:118
    #5  0x00007f45068bbd33 in (anonymous namespace)::SwCreateAuthEntryDlg_Impl::TargetTypeHdl (this=0x7fff91eb7988, rBox=...) at /home/michi/development/git/libreoffice/sw/source/ui/index/swuiidxmrk.cxx:1935
    #6  0x00007f45068bb1fd in (anonymous namespace)::SwCreateAuthEntryDlg_Impl::LinkStubTargetTypeHdl (instance=0x7fff91eb7988, data=...) at /home/michi/development/git/libreoffice/sw/source/ui/index/swuiidxmrk.cxx:1933
    #7  0x00007f4537c89a81 in Link<weld::ComboBox&, void>::Call (this=0x55b1cabf6820, data=...) at include/tools/link.hxx:105
    #8  0x00007f4537c8968c in weld::ComboBox::signal_changed (this=0x55b1cabf67d8) at include/vcl/weld.hxx:821
    #9  0x00007f4537c7faed in QtInstanceComboBox::signalChanged (this=0x55b1cabf6650) at vcl/qt6/../qt5/QtInstanceComboBox.cxx:381
    #10 0x00007f4537c89ea1 in QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, QtPrivate::List<>, void, void (QtInstanceComboBox::*)()>::call(void (QtInstanceComboBox::*)(), QtInstanceComboBox*, void**)::{lambda()#1}::operator()() const (this=0x7fff91eb6830) at /home/michi/development/git/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:127
    #11 0x00007f4537c89dd9 in QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, QtPrivate::List<>, void, void (QtInstanceComboBox::*)()>::call(void (QtInstanceComboBox::*)(), QtInstanceComboBox*, void**)::{lambda()#1}>(void**, QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, QtPrivate::List<>, void, void (QtInstanceComboBox::*)()>::call(void (QtInstanceComboBox::*)(), QtInstanceComboBox*, void**)::{lambda()#1}&&) (args=0x7fff91eb6c10, fn=...) at /home/michi/development/git/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:65
    #12 0x00007f4537c89d0b in QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, QtPrivate::List<>, void, void (QtInstanceComboBox::*)()>::call(void (QtInstanceComboBox::*)(), QtInstanceComboBox*, void**)
        (f=(void (QtInstanceComboBox::*)(class QtInstanceComboBox * const)) 0x7f4537c7fab0 <QtInstanceComboBox::signalChanged()>, o=0x55b1cabf6650, arg=0x7fff91eb6c10)
        at /home/michi/development/git/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:126
    #13 0x00007f4537c89c8d in QtPrivate::FunctionPointer<void (QtInstanceComboBox::*)()>::call<QtPrivate::List<>, void>(void (QtInstanceComboBox::*)(), QtInstanceComboBox*, void**)
        (f=(void (QtInstanceComboBox::*)(class QtInstanceComboBox * const)) 0x7f4537c7fab0 <QtInstanceComboBox::signalChanged()>, o=0x55b1cabf6650, arg=0x7fff91eb6c10)
        at /home/michi/development/git/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:174
    #14 0x00007f4537c89bb6 in QtPrivate::QCallableObject<void (QtInstanceComboBox::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
        (which=1, this_=0x55b1cc892eb0, r=0x55b1cabf6650, a=0x7fff91eb6c10, ret=0x0) at /home/michi/development/git/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:545
    #15 0x00007f4536ae93a2 in QtPrivate::QSlotObjectBase::call (this=0x55b1cc892eb0, r=0x55b1cabf6650, a=0x7fff91eb6c10) at qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
    #16 0x00007f4536d15132 in doActivate<false> (sender=0x55b1cc886740, signal_index=13, argv=0x7fff91eb6c10) at /home/michi/development/git/qt5/qtbase/src/corelib/kernel/qobject.cpp:4356
    #17 0x00007f4536d0b7f3 in QMetaObject::activate (sender=0x55b1cc886740, m=0x7f4535779438 <QComboBox::staticMetaObject>, local_signal_index=6, argv=0x7fff91eb6c10)
        at /home/michi/development/git/qt5/qtbase/src/corelib/kernel/qobject.cpp:4416
    #18 0x00007f4534c845fb in QMetaObject::activate<void, QString> (sender=0x55b1cc886740, mo=0x7f4535779438 <QComboBox::staticMetaObject>, local_signal_index=6, ret=0x0, args=...) at qtbase/src/corelib/kernel/qobjectdefs.h:319
    #19 0x00007f4534e3ed11 in QComboBox::currentTextChanged (this=0x55b1cc886740, _t1=...) at qtbase/src/widgets/Widgets_autogen/include/moc_qcombobox.cpp:374
    #20 0x00007f4534e3c17d in QComboBoxPrivate::updateCurrentText (this=0x55b1cc886910, text=...) at /home/michi/development/git/qt5/qtbase/src/widgets/widgets/qcombobox.cpp:3204
    #21 0x00007f4534e3c45e in QComboBoxPrivate::emitCurrentIndexChanged (this=0x55b1cc886910, index=...) at /home/michi/development/git/qt5/qtbase/src/widgets/widgets/qcombobox.cpp:1689
    #22 0x00007f4534e3750b in QComboBoxPrivate::setCurrentIndex (this=0x55b1cc886910, mi=...) at /home/michi/development/git/qt5/qtbase/src/widgets/widgets/qcombobox.cpp:2474
    #23 0x00007f4534e3693a in QComboBox::setCurrentIndex (this=0x55b1cc886740, index=3) at /home/michi/development/git/qt5/qtbase/src/widgets/widgets/qcombobox.cpp:2421
    #24 0x00007f4537c85482 in QtInstanceComboBox::set_active(int)::$_0::operator()() const (this=0x7fff91eb7038) at vcl/qt6/../qt5/QtInstanceComboBox.cxx:124
    #25 0x00007f4537c85455 in std::__invoke_impl<void, QtInstanceComboBox::set_active(int)::$_0&>(std::__invoke_other, QtInstanceComboBox::set_active(int)::$_0&) (__f=...)
        at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/invoke.h:63
    #26 0x00007f4537c85405 in std::__invoke_r<void, QtInstanceComboBox::set_active(int)::$_0&>(QtInstanceComboBox::set_active(int)::$_0&) (__fn=...) at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/invoke.h:113
    #27 0x00007f4537c8531d in std::_Function_handler<void(), QtInstanceComboBox::set_active(int)::$_0>::_M_invoke (__functor=...) at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/std_function.h:292
    #28 0x00007f4537c2ff6e in std::function<void()>::operator() (this=0x7fff91eb7038) at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/std_function.h:593
    #29 0x00007f4537c270af in QtInstance::RunInMainThread (this=0x55b1c4b3eb40, func=...) at vcl/qt6/../qt5/QtInstance.cxx:206
    #30 0x00007f4537c80db9 in QtInstanceComboBox::set_active (this=0x55b1cabf6650, nPos=3) at vcl/qt6/../qt5/QtInstanceComboBox.cxx:124
    #31 0x00007f45068bb588 in (anonymous namespace)::SwCreateAuthEntryDlg_Impl::SetFields (this=0x7fff91eb7988, pFields=0x55b1cbfdd378, bNewEntry=true) at /home/michi/development/git/libreoffice/sw/source/ui/index/swuiidxmrk.cxx:1831
    #32 0x00007f45068b93c5 in (anonymous namespace)::SwCreateAuthEntryDlg_Impl::SwCreateAuthEntryDlg_Impl (this=0x7fff91eb7988, pParent=0x55b1cc41bfb8, pFields=0x55b1cbfdd378, rSh=..., bNewEntry=true, bCreate=false)
        at /home/michi/development/git/libreoffice/sw/source/ui/index/swuiidxmrk.cxx:1796
    #33 0x00007f45068b6c66 in SwAuthorMarkPane::CreateEntryHdl (this=0x55b1cbfdd250, rButton=...) at /home/michi/development/git/libreoffice/sw/source/ui/index/swuiidxmrk.cxx:1426
    #34 0x00007f45068b546d in SwAuthorMarkPane::LinkStubCreateEntryHdl (instance=0x55b1cbfdd250, data=...) at /home/michi/development/git/libreoffice/sw/source/ui/index/swuiidxmrk.cxx:1420
    #35 0x00007f4540881dd1 in Link<weld::Button&, void>::Call (this=0x55b1cc1c8988, data=...) at include/tools/link.hxx:105
    #36 0x00007f454085ca1c in weld::Button::signal_clicked (this=0x55b1cc1c8980) at include/vcl/weld.hxx:1825
    #37 0x00007f454082ed18 in SalInstanceButton::ClickHdl (this=0x55b1cc1c87e0, pButton=0x55b1cbc63240) at /home/michi/development/git/libreoffice/vcl/source/app/salvtables.cxx:2931
    [...]

Change-Id: I0136940e9d68cea9b64e58f3e172dfde170aff0c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194373
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-11-24 16:02:50 +01:00
Miklos Vajna 9464a07502 svx: prefix members of SvxTPView
See tdf#94879 for motivation.

Change-Id: I1fe7570e1ac6a8b729d8d6374cfec0775d215684
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194411
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2025-11-24 10:32:43 +01:00
Gabor Kelemen c1946a911f tdf#146619 Run IWYU again on include/o3tl
Change-Id: Ied0d3675a517df858d4d50340abb53636b2d450f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192746
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2025-11-23 19:25:21 +01:00
Neil Roberts 46968eff8e UITest: Add method to execute a command for particular XDispatchProvider
The existing methods of XUITest to execute a command always use the
active frame to dispatch the command. All of the dbaccess UI tests end
up creating subcomponents (such as the table edit view) and need to send
commands to that. The frames for those are not the “active” frame but
only the “current” frame. All of the tests have ended up making a copy
of a helper function to dispatch to a particular provider. To avoid that
duplication this patch moves it to a common helper directly in XUITest.
This will also make it possible to use the method from test.py in a
later patch.

Note that the order of the arguments has been swapped around to match
that of comphelper::dispatchCommand.

Change-Id: I274fe12e4dfec0bf78359d0e2b70a3cf4db5528c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194348
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-11-22 19:37:18 +01:00
Xisco Fauli 7e6a1d12d4 sw_ooxmlexport4: do not skip DOCX export validation (last one)
Change-Id: Icfb01d6576e48aef16540bd4164e38d20ff8f4a3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194341
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2025-11-22 08:26:42 +01:00
Daniel Lee 998085f830 tdf#114441: Replaced sal_uLong in GDI MF code
The maximum size of the GDI metafile is 4GB, so
sal_uInt32 is sufficient for metafile size related
variables. The number of possible colors is 0xFFFFFF
so sal_uInt32 is sufficient to store the number of
colors. The R, G, B fields have a maximum of 255 so
sal_uInt8 is sufficient for storing them.

Change-Id: I0f0108df6eeb087ce1e799905c4f9ee03b409ab9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193608
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-11-22 08:15:12 +01:00
Michael Weghorn cc52c23b53 vcl: Merge IntroWindow::ImplInitIntroWindowData into ctor
Change-Id: I27fd2b7ae3d9f2dacf55119876b28f7878909cd7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194311
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-11-21 15:53:39 +01:00
Michael Weghorn d971900000 Switch SfxApplication::loadBrandSvg param to u16string_view
Change-Id: If1db2ac54d36b32c55fe4af37b9aadc2e8caf25e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194310
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-11-21 15:53:32 +01:00
Daniel 626dee3a72 tdf#143148 Use pragma once instead of include guards
Replaced include guard with #pragma once

Change-Id: I7d41ec8ce16ae0d8e8daca22832ed8ec705f8407
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194296
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2025-11-21 07:07:21 +01:00
Mike Kaganski cbc1310237 Simplify cow_wrapper's refcounting policies implementation
... using a shared template.
Also: use size_t in thread-safe policy, at least for consistency.

Change-Id: I1342a171103df5db5e156253580e6ef0bfee09d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194233
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-11-21 05:11:41 +01:00
Xisco Fauli 49f203b628 UnoApiTest: do not skip DOCX export validation
unless it's explicitily specified
For now, turn it off only in those place where it's
already failing.

Change-Id: I6e6d384e2bea3a2a3307b6b1bd5dd8fac260b09b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194223
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-11-20 20:19:50 +01:00
Kurt Nordback 6195f52e3f tdf#167941 Extend Transformation value from sal_Int16 to sal_Int32
Needed to make it compatible with oox::drawingml::Color.

Change-Id: I129c03c0510822682afc1eca35c5b912c5d94b3a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194203
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
2025-11-20 05:48:03 +01:00
Neil Roberts f7d0ddb247 idletask: Wait with a condition_variable when not on the main thread
Judging by the comment that was in waitUntilIdleDispatched, I think the
intention of this helper class is to wait until the main loop is idle
and that any event processing has actually completed. However, if this
is called outside of the main thread then that doesn’t work if the event
processing temporarily releases the solar mutex. In that case, the
thread that is waiting for the IdleTask flag would wake up and set the
flag itself even though the main thread hasn’t actually finished
executing its event handling code yet.

To fix that this patch makes it instead wait with a
std::condition_variable instead of Yield when not running on the main
thread so that we can be sure that the main thread will invoke the idle
task instead of the waiting thread.

Change-Id: Ib5c6efe31dfb5e1a5039b43702e23bf0104cd403
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194180
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-11-19 20:18:33 +01:00
Méven Car 042ffad714 HostFilter: Allow to disable SSL Host verification for allowed hosts
LOK_HOST_ALLOWLIST allows to pass a restricted list of hosts that
curlsession will be allowed to download from.

LOK_HOST_ALLOWLIST_EXEMPT_VERIFY_HOST reuses this list for the use case
of not verifying SSL host additionaly for them. This is useful for say
developpement environement.

Change-Id: I75ac26a4bfe1c33ff183c4ad12391b2da08593cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193961
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit 8688e9d8c94a21a7a0abc9edfe632e6fa0e94281)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194187
Tested-by: Jenkins
Reviewed-by: Méven Car <meven.car@collabora.com>
2025-11-19 13:21:52 +01:00
Tomaž Vajngerl 4fa74cefc3 tools: use string_view instead of OString in XmlWriter
Change-Id: I55dd06fc432d9686b370274a4621d61c035a99dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193997
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2025-11-19 07:33:37 +01:00
Xisco Fauli 6675e7893e UnoApiTest: use TestFilter enum in setImportFilterName too
Change-Id: I16dae720be9dd9dd4bbc2a691d83fa6339f33c2c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194166
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-11-18 21:11:09 +01:00