Commit graph

495795 commits

Author SHA1 Message Date
Ilmari Lauhakangas
75ff14d9cb Update Hunspell URL in readmes
Change-Id: Ic1a993029060a1260dffa126a930e29d4135fe61
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167506
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-05-11 13:28:17 +02:00
Noel Grandin
6b513772e5 replace createFromAscii with OUString literals in SubComponentManager
Change-Id: I165b93ff8986f288b03fb001e8ceda12b5076872
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167502
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-05-11 12:43:09 +02:00
Noel Grandin
9e8fd61044 replace createFromAscii with OUString literals in ResourceManager
Change-Id: Iea6430d5f56a1f30a5dd168fcf2fee2ba7198f18
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167499
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-05-11 12:43:02 +02:00
Noel Grandin
3908d2aa90 replace createFromAscii with OUString literals in DBContentLoader
Change-Id: Iaa1169be4ab9db824af4406dd18e6c36326bdcd7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167503
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-11 12:42:53 +02:00
Noel Grandin
40b89a4789 replace createFromAscii with OUString literals in OApplicationDetailView
Change-Id: Icb7961ad247711e6a3b4761e7d6922ba7e4848a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167501
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-05-11 12:41:37 +02:00
Noel Grandin
57374ccc5b replace createFromAscii with OUString literals in ODsnTypeCollection
Change-Id: I943e784bf3becd48e617b814b008f1f946987d28
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167498
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-05-11 12:41:28 +02:00
Noel Grandin
bc91cc4750 loplugin:ostr in svx
Change-Id: Ia765a03e033acb82e367873380d289587ea87d6c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167449
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-05-11 12:41:09 +02:00
Alain Romedenne
28a43d53b2 Unit tests for officehelper.py
Depend upon previous patch d8978a8c4f for
officehelper.py which fixed some glitches.

Change-Id: Icc5c717d7f0f5a0a08202b6b57e475e7afe6f5c9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164195
Reviewed-by: Hossein <hossein@libreoffice.org>
Tested-by: Jenkins
Tested-by: Hossein <hossein@libreoffice.org>
2024-05-11 11:25:44 +02:00
Caolán McNamara
124252aa0b WaE: C6011 Dereferencing NULL pointer warnings
Change-Id: Iab647d1f98bb532bc0a2c42971e747708e52a875
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167495
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-05-11 11:09:49 +02:00
Noel Grandin
e0635101b4 replace createFromAscii with OUString literals in ODatabaseModelImpl
Change-Id: I861bf52bb49a54ec546a4465fb9053a5ebdaa641
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167491
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-11 09:22:49 +02:00
Noel Grandin
d1f3e9af6a replace createFromAscii with OUString literals in DocumentEvents
Change-Id: I5cf5401afafc1c6d2d72445e898903c95288531b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167494
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-05-11 09:22:40 +02:00
Noel Grandin
589d35da30 replace createFromAscii with OUString literals in ODatabaseDocument
Change-Id: I57f1de3781ee413ad987222b8b960a266ef21e5a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167492
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-11 09:22:32 +02:00
Gabor Kelemen
9921b0b99a Drop now unused SdOptionsLayout, SdOptionsLayoutItem classes
Change-Id: I5d4e77f8377eead4581f590a4cc160a3fa97e2a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166601
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2024-05-11 09:01:58 +02:00
Andrea Gelmini
8088bd350d Fix typo
Change-Id: Ia2aa4d36dcb056171bcf2aaac0f0f326db1deb3b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167483
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-05-11 05:22:55 +02:00
Pranam Lashkari
2b85bceca8 sc: undo: unify height adjust logic in undo with regular logic
in ScBlockUndo::AdjustHeight now we use device like ScViewFunc::SetWidthOrHeight
This provides unified behavior with user adjusting height or triggered it by undo

problem:
in online sometimes undoing would cause wrong selection due to incorrect height set
steps to reproduce(happened in certain files only):
1. autofill down a couple of cells
2. undo it
3. try to select the same cell again

cell selection will act like auto filled cells are merged cells

Change-Id: I81b798c4150284792ac3953caf822fefab0ccee2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167424
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
(cherry picked from commit 726b133fd8)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167454
Tested-by: Jenkins
Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
2024-05-11 01:48:33 +02:00
Noel Grandin
14f65dc1ad replace createFromAscii with OUString literals in DocumentEventNotifier
Change-Id: I6987033a461ec91b59de8e2aabef513471f887f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167493
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-05-10 21:53:55 +02:00
Xisco Fauli
16357c68bd libmwaw: Upgrade to 0.3.22
Change-Id: I95169f11e7b188ab9b4667b2d4736bd0d5a4a083
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167477
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-05-10 21:52:28 +02:00
Michael Weghorn
ab7a94b840 tdf#160971 a11y: Send full text on changed combobox text
When the text of an editable combobox is changed
(e.g. using the up/down keys), the Orca screen
reader on Linux announces the newly inserted text.

This has been the case for other GTK or Qt
applications for a while, and with recent Orca
commit [1]

    commit 3a9e6b8d7b16bf2fc7919868cfd1a16e44422710
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Fri May 10 10:16:58 2024 +0200

        soffice: Use default logic for editable combobox value change

, the same logic is used for LibreOffice as well.

For the gtk3 VCL plugin which has a custom combobox
implementation using native GTK widgets, this generally
works since

    commit 9f078ed7b6
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Tue May 7 10:04:16 2024 +0200

        tdf#160971 gtk3 a11y: Set role for custom editable combobox

However, the qt6 VCL plugin uses the VCL combobox
implementation, and only the actual difference between
the text of the previous and current entry was sent
in the TEXT_CHANGED event, resulting in Orca only
announcing those letters that were added/changed,
e.g. just "ans Narrow" when changing the font in the
Writer formatting toolbar from "Liberation Serif"
to "Liberation Sans Narrow".

This doesn't really make clear what entry is selected.
Align the a11y event with what GTK and Qt do
and set the full old and new entry texts in the event.

To do that, add a new virtual
`VCLXAccessibleTextComponent:PreferFullTextInTextChangedEvent`
that defaults to false to keep the previous behavior as default,
and override it for `VCLXAccessibleEdit` to return true
in the case that the edit is the subedit of a combobox
(the parent has a combobox role).
Use this in `VCLXAccessibleTextComponent::SetText` to
determine whether to notify just of the changed characters
or to send the whole old/new text.

With this in place, Orca also announces the whole new
entry text (e.g. "Liberation Sans Narrow" for the above
example) when using the qt6 VCL plugin.
(It currently additionally announces an extra "Selection
deleted" when switching entries, as the text selection
also changes, but that aspect is to be handled separate
from this change here.)

[1] 3a9e6b8d7b

Change-Id: I240aa0ad5ac9585e007d67a8c69e305cf1f38185
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167479
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-10 21:49:49 +02:00
Michael Meeks
b1c77f927a lok: dumpState should truncate very long JSON messages.
Otherwise we get huge dumps which can overwhelm our logging and hide
more useful information, and/or the journal can drop them on the ground.

Change-Id: Ie942c70a90a6df60ccd8986444362d622c213e15
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167456
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2024-05-10 21:25:15 +02:00
Kurt Nordback
4425741937 tdf#161013 Rendering error when changing chart type for saved of-pie chart
Reset pie sub-type property in XDiagram after passing it down,
so that it does not persist and overwrite the modified sub-type

Change-Id: If23ef2b1cff29efa5232d49381676592a0f39d17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167487
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-10 19:57:15 +02:00
Noel Grandin
3563fca550 replace createFromAscii with OUString literals in SvxPathTabPage
Change-Id: I831bc78f4934c7d1c137ad70c7bb189d75237e88
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167473
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-10 19:55:57 +02:00
Noel Grandin
40dde4385c loplugin:ostr in vcl
Change-Id: I5b6ee5bda0c5ff69d297f7f8e87d4c3f3d21791c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167470
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-05-10 18:44:00 +02:00
Noel Grandin
ca5c9591ba loplugin:ostr in sfx2
Change-Id: I6306260d03c1208ec250c2f9a3860fa569f6d9c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167448
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-10 18:42:35 +02:00
Noel Grandin
e888503ee0 replace createFromAscii with OUString literals in OfaTreeOptionsDialog
Change-Id: Ibe4de7e2ac6f0f00ba495ecbd18d97154283169c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167474
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-10 18:42:22 +02:00
Noel Grandin
f7d4029e6f replace createFromAscii with OUString literals in SvxMacroAssignDlg
Change-Id: I360d1dc46909f904ac9f984b2f06bb80f4a72c82
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167472
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-10 18:42:13 +02:00
Christian Lohmaier
51a970b8b0 make sure KEEP_AWAKE_CMD gets only evaluated once
if using deferred evaluation then the creation of targets via $(call
gb_Top_GbuildModuleRules,foo) would result in it getting processed over
900 times, and on windows spawning a shell with the two ps and awk
command that takes 5 minutes.

If future commands need to be run when the rule is run, then an
alternative is to escape the variable in the define for the
gb_Top_GbuildModuleRules macro via double-$ → $$(KEEP_AWAKE_CMD) - but I
cannot think of any method where that should be necessary

Change-Id: I126e4d317bd77f359ca9f39adf00cc88846af281
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167351
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-05-10 18:21:55 +02:00
Caolán McNamara
eb8f353f8b help msvc -analyzer out wrt CPPUNIT_ASSERT
so it can code following the CPPUNIT_ASSERT doesn't need
to check what condition might have failed in the assert

Change-Id: Ife7e5e54b17a8316425222d2a0efd694c9467089
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167480
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-05-10 18:02:05 +02:00
Michael Weghorn
c24db71bc5 tdf#160971 a11y: Add null check in AccessibleListBox::getAccessibleRole
Add a null check in `AccessibleListBox::getAccessibleRole`.

Otherwise, LO Writer crashes on exit when using the qt6 VCL
plugin with Orca running for this scenario:

1) start Writer with the qt6 VCL plugin
2) press F6 until focus is in the formatting toolbar
3) use tab key to get to the editable comboboxes
4) use up/down keys to change entries
5) use Alt+Down to expand combobox
6) switch between entries using up/down keys
7) close Writer

The reason is that the window gets unset when when
`SvTreeListBox::dispose` emits the
`VclEventId::ObjectDying` event, see
`VCLXAccessibleComponent::ProcessWindowEvent`.

But then, Qt's AT-SPI adaptor wants to query the accessible
role when the `AccessibleEventId::CHILD` event is forwarded
in our Qt a11y bridge, which previously resulted in a
nullptr dereference with the below backtrace.

Just return `AccessibleRole::LIST` for the null case.

Backtrace:

    1  std::__uniq_ptr_impl<WindowImpl, std::default_delete<WindowImpl>>::_M_ptr                         unique_ptr.h                  199  0x7f0c1ee0b055
    2  std::unique_ptr<WindowImpl, std::default_delete<WindowImpl>>::get                                 unique_ptr.h                  470  0x7f0c1ee0b035
    3  std::unique_ptr<WindowImpl, std::default_delete<WindowImpl>>::operator bool                       unique_ptr.h                  487  0x7f0c1ee4abc5
    4  vcl::Window::GetStyle                                                                             window2.cxx                   989  0x7f0c1f0e594d
    5  accessibility::AccessibleListBox::getAccessibleRole                                               accessiblelistbox.cxx         347  0x7f0be055205a
    6  QtAccessibleWidget::role                                                                          QtAccessibleWidget.cxx        380  0x7f0c151cc242
    7  AtSpiAdaptor::pathForInterface                                                                    atspiadaptor.cpp              1771 0x7f0c13a8b112
    8  AtSpiAdaptor::notifyAboutDestruction                                                              atspiadaptor.cpp              1419 0x7f0c13a86e81
    9  AtSpiAdaptor::notify                                                                              atspiadaptor.cpp              988  0x7f0c13a8246b
    10 QSpiAccessibleBridge::notifyAccessibilityUpdate                                                   qspiaccessiblebridge.cpp      85   0x7f0c13ad9bf2
    11 QAccessible::updateAccessibility                                                                  qaccessible.cpp               940  0x7f0c13a603aa
    12 QtAccessibleEventListener::notifyEvent                                                            QtAccessibleEventListener.cxx 232  0x7f0c151c1363
    13 comphelper::AccessibleEventNotifier::addEvent                                                     accessibleeventnotifier.cxx   256  0x7f0c270ee1b7
    14 comphelper::OCommonAccessibleComponent::NotifyAccessibleEvent                                     accessiblecomponenthelper.cxx 127  0x7f0c270e95b1
    15 VCLXAccessibleComponent::ProcessWindowEvent                                                       vclxaccessiblecomponent.cxx   229  0x7f0c20e80720
    16 VCLXAccessibleComponent::WindowEventListener                                                      vclxaccessiblecomponent.cxx   109  0x7f0c20e7fbbe
    17 VCLXAccessibleComponent::LinkStubWindowEventListener                                              vclxaccessiblecomponent.cxx   98   0x7f0c20e7f58d
    18 Link<VclWindowEvent&, void>::Call                                                                 link.hxx                      111  0x7f0c1efa2898
    19 vcl::Window::CallEventListeners                                                                   event.cxx                     262  0x7f0c1ef9f62e
    20 vcl::Window::dispose                                                                              window.cxx                    163  0x7f0c1f0f6513
    21 Control::dispose                                                                                  ctrl.cxx                      65   0x7f0c1f177a06
    22 SvTreeListBox::dispose                                                                            treelistbox.cxx               1340 0x7f0c1f464d1b
    23 SvTabListBox::dispose                                                                             svtabbx.cxx                   243  0x7f0c1f407a09
    24 VclReferenceBase::disposeOnce                                                                     vclreferencebase.cxx          38   0x7f0c1f3a957a
    25 VclPtr<vcl::Window>::disposeAndClear                                                              vclptr.hxx                    207  0x7f0c1eebfb19
    26 VclBuilder::disposeBuilder                                                                        builder.cxx                   814  0x7f0c1ee96f91
    27 VclBuilder::~VclBuilder                                                                           builder.cxx                   806  0x7f0c1ee96df9
    28 std::default_delete<VclBuilder>::operator()                                                       unique_ptr.h                  99   0x7f0c1ef6375b
    29 std::__uniq_ptr_impl<VclBuilder, std::default_delete<VclBuilder>>::reset                          unique_ptr.h                  211  0x7f0c1ef9da3c
    30 std::unique_ptr<VclBuilder, std::default_delete<VclBuilder>>::reset                               unique_ptr.h                  509  0x7f0c1ef9cfcd
    31 SalInstanceBuilder::~SalInstanceBuilder                                                           salvtables.cxx                7436 0x7f0c1f900b3e
    32 SalInstanceBuilder::~SalInstanceBuilder                                                           salvtables.cxx                7431 0x7f0c1f900ba9
    33 std::default_delete<weld::Builder>::operator()                                                    unique_ptr.h                  99   0x7f0c2490445f
    34 std::__uniq_ptr_impl<weld::Builder, std::default_delete<weld::Builder>>::reset                    unique_ptr.h                  211  0x7f0c2490438c
    35 std::unique_ptr<weld::Builder, std::default_delete<weld::Builder>>::reset                         unique_ptr.h                  509  0x7f0c24900e5d
    36 PanelLayout::~PanelLayout                                                                         PanelLayout.cxx               76   0x7f0c24f71c06
    37 SfxTemplatePanelControl::~SfxTemplatePanelControl                                                 templdlg.cxx                  163  0x7f0c24bd3d51
    38 SfxTemplatePanelControl::~SfxTemplatePanelControl                                                 templdlg.cxx                  160  0x7f0c24bd3d99
    39 std::default_delete<PanelLayout>::operator()                                                      unique_ptr.h                  99   0x7f0c24f1bedc
    40 std::__uniq_ptr_impl<PanelLayout, std::default_delete<PanelLayout>>::reset                        unique_ptr.h                  211  0x7f0c24f1bfdc
    41 std::unique_ptr<PanelLayout, std::default_delete<PanelLayout>>::reset                             unique_ptr.h                  509  0x7f0c24f1b06d
    42 sfx2::sidebar::SidebarPanelBase::disposing                                                        SidebarPanelBase.cxx          86   0x7f0c24f1a1df
    43 comphelper::WeakComponentImplHelperBase::dispose                                                  compbase.cxx                  26   0x7f0c2715c7a4
    44 comphelper::WeakComponentImplHelper<com::sun::ui::XContextChangeEventListener, com::sun::ui::XUIElement, com::sun::ui::XToolPanel, com::sun::ui::XSidebarPanel, com::sun::ui::XUpdateModel>::dispose compbase.hxx        75   0x7f0c24f1b235
    45 sfx2::sidebar::Panel::~Panel                                                                      Panel.cxx                     124  0x7f0c24f6fa51
    46 std::destroy_at<sfx2::sidebar::Panel>                                                             stl_construct.h               88   0x7f0c24f17315
    47 std::_Destroy<sfx2::sidebar::Panel>                                                               stl_construct.h               149  0x7f0c24f172f5
    48 std::allocator_traits<std::allocator<void>>::destroy<sfx2::sidebar::Panel>                        alloc_traits.h                675  0x7f0c24f170ff
    49 std::_Sp_counted_ptr_inplace<sfx2::sidebar::Panel, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_M_dispose                                                       shared_ptr_base.h             613  0x7f0c24f170ff
    50 std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release                                     shared_ptr_base.h             346  0x7f0c2481f0ce
    51 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count                                  shared_ptr_base.h             1071 0x7f0c2481f04a
    52 std::__shared_ptr<sfx2::sidebar::Panel, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr                shared_ptr_base.h             1524 0x7f0c24f15469
    53 std::__shared_ptr<sfx2::sidebar::Panel, (__gnu_cxx::_Lock_policy)2>::reset                        shared_ptr_base.h             1642 0x7f0c24f0cc84
    54 sfx2::sidebar::Deck::dispose                                                                      Deck.cxx                      93   0x7f0c24f5842b
    55 VclReferenceBase::disposeOnce                                                                     vclreferencebase.cxx          38   0x7f0c1f3a957a
    56 VclPtr<sfx2::sidebar::Deck>::disposeAndClear                                                      vclptr.hxx                    207  0x7f0c24f0bc96
    57 sfx2::sidebar::ResourceManager::disposeDecks                                                      ResourceManager.cxx           800  0x7f0c24f79791
    58 sfx2::sidebar::SidebarController::disposeDecks                                                    SidebarController.cxx         250  0x7f0c24efde01
    59 sfx2::sidebar::SidebarController::unregisterSidebarForFrame                                       SidebarController.cxx         212  0x7f0c24efd7e3
    60 sfx2::sidebar::SidebarController::frameAction                                                     SidebarController.cxx         1619 0x7f0c24f07542
    61 (anonymous namespace)::XFrameImpl::implts_sendFrameActionEvent                                    frame.cxx                     2960 0x7f0c25e25207
    62 (anonymous namespace)::XFrameImpl::setComponent                                                   frame.cxx                     1457 0x7f0c25e1d8b2
    63 (anonymous namespace)::XFrameImpl::close                                                          frame.cxx                     1706 0x7f0c25e20158
    64 framework::Desktop::impl_closeFrames                                                              desktop.cxx                   1699 0x7f0c25e03be4
    65 framework::Desktop::terminate                                                                     desktop.cxx                   205  0x7f0c25e0315b
    66 framework::CloseDispatcher::implts_terminateApplication                                           closedispatcher.cxx           552  0x7f0c25c33510
    67 framework::CloseDispatcher::impl_asyncCallback                                                    closedispatcher.cxx           406  0x7f0c25c326af
    68 framework::CloseDispatcher::LinkStubimpl_asyncCallback                                            closedispatcher.cxx           246  0x7f0c25c30b7d
    69 Link<LinkParamNone *, void>::Call                                                                 link.hxx                      111  0x7f0c1ee22718
    70 vcl::EventPoster::DoEvent_Impl                                                                    evntpost.cxx                  52   0x7f0c1f8a1485
    71 vcl::EventPoster::LinkStubDoEvent_Impl                                                            evntpost.cxx                  48   0x7f0c1f8a143d
    72 Link<void *, void>::Call                                                                          link.hxx                      111  0x7f0c1f12d138
    73 ImplHandleUserEvent                                                                               winproc.cxx                   2287 0x7f0c1f128e19
    74 ImplWindowFrameProc                                                                               winproc.cxx                   2851 0x7f0c1f1257d0
    75 SalFrame::CallCallback                                                                            salframe.hxx                  312  0x7f0c15240b90
    76 QtInstance::ProcessEvent                                                                          QtInstance.cxx                516  0x7f0c15263e3f
    77 SalUserEventList::DispatchUserEvents(bool)::$_0::operator()() const                               salusereventlist.cxx          119  0x7f0c1f8b585d
    78 SalUserEventList::DispatchUserEvents                                                              salusereventlist.cxx          120  0x7f0c1f8b5704
    79 QtInstance::ImplYield                                                                             QtInstance.cxx                442  0x7f0c15260541
    80 QtInstance::DoYield                                                                               QtInstance.cxx                464  0x7f0c15263945
    81 ImplYield                                                                                         svapp.cxx                     378  0x7f0c1f995c9c
    82 Application::Yield                                                                                svapp.cxx                     466  0x7f0c1f9955ab
    83 Application::Execute                                                                              svapp.cxx                     353  0x7f0c1f995342
    84 desktop::Desktop::Main                                                                            app.cxx                       1615 0x7f0c28b275a9
    85 ImplSVMain                                                                                        svmain.cxx                    229  0x7f0c1f9b84ae
    86 SVMain                                                                                            svmain.cxx                    261  0x7f0c1f9ba4f9
    87 soffice_main                                                                                      sofficemain.cxx               93   0x7f0c28bab36c
    88 sal_main                                                                                          main.c                        51   0x5644eb5ffa5d
    89 main                                                                                              main.c                        49   0x5644eb5ffa37

Change-Id: I3fefaed31c6557620ecbe1627d265f2065fe9747
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167475
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-10 16:24:12 +02:00
Michael Weghorn
34bfb9f506 chart2 a11y: Drop ChildListVectorType typedef
Change-Id: Ie7ad5157bdcd261c8e5e6507b93b2820424c9125
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167432
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-05-10 16:23:27 +02:00
Michael Weghorn
2684a1be8d chart2 a11y: Use XAccessible ref, not XInterface
Use the more specific type that
`Window::GetAccessible` returns.

Change-Id: Ied837b043997b4a51b280c71d0b35ca7eaa07385
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167431
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-10 16:23:00 +02:00
Xisco Fauli
49a0203e7a librevenge: upgrade to 0.0.5
* Add C2039-unique-shared_ptr.patch.0 to fix

C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/workdir/UnpackedTarball/librevenge/src/lib/RVNGBinaryData.cpp(96): error C2039: 'unique': is not a member of 'std::shared_ptr<librevenge::`anonymous-namespace'::DataImpl>'
C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/workdir/UnpackedTarball/librevenge/src/lib/RVNGBinaryData.cpp(86): note: see declaration of 'std::shared_ptr<librevenge::`anonymous-namespace'::DataImpl>'
make[1]: *** [C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/solenv/gbuild/LinkTarget.mk:398: C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/workdir/GenCxxObject/UnpackedTarball/librevenge/src/lib/RVNGBinaryData.o] Error 2

on Windows

Change-Id: I31023633426fc902e2298c696826d8371bb4d63b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167388
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-05-10 15:27:16 +02:00
László Németh
a4970f4eeb tdf#132599 sw: fix hyphenation-keep for tables and no widow
Now hyphenation-keep works without widow settings, too, e.g.
in tables (where despite the existing widow settings,
widow handling is always disabled).

Follow-up to commit 6e8819f29b
"tdf#132599 cui offapi sw xmloff: add hyphenation-keep-type",
commit c8a99cb8dc
"tdf#132599 sw schema xmloff: add hyphenation-keep-type='always'
commit d4304cd0a4
"tdf132599 sw: fix hyphenation-keep for linked frames, also for spreads".

Change-Id: Id3db9631bb75d220e6fee7ebc9a5e7adad735273
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167447
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2024-05-10 15:25:12 +02:00
Caolán McNamara
be7813b880 ofz#68874 avoid Integer-overflow
rather than detect it after the fact to keep ubsan happy

Change-Id: I1336f7a23fa7170b754b818c1ec42ca85f5c27d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167445
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-05-10 14:48:37 +02:00
Gabor Kelemen
edcfc1ba8e Use less SdOptionsZoom->GetScale/SetScale in favor of officecfg
Change-Id: I34fca9ba9546f10268d22f92aaa5249d88f607d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166629
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2024-05-10 14:11:23 +02:00
Gabor Kelemen
dd8cf8a3f0 Use less SdOptionsLayout->Get/SetDefTab in favor of officecfg
Change-Id: I028790b7e5750893f38ef7775cac1671104cd603
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166600
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2024-05-10 14:11:06 +02:00
Xisco Fauli
b27a39e26b tdf#156484: sw_ooxmlexport13: Add unittest
Change-Id: I3bcda136eff62a61783b4e52132125c4b1794ccb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167446
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-05-10 14:08:41 +02:00
Noel Grandin
79f4f724b9 loplugin:ostr in pyuno
Change-Id: I54555110b5c66ea92f2675edc50dccd252558e28
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167435
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-05-10 13:16:45 +02:00
Noel Grandin
166f81f38e loplugin:ostr in reportdesign
Change-Id: I49d112d1a068ff265aa2242e62f53919f43fa15c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167436
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-10 12:40:38 +02:00
Noel Grandin
509ed148fc loplugin:ostr in sax
Change-Id: Ia7572db738f1a3d6f7bec8c3a93ec02d93a531ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167437
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-10 12:40:26 +02:00
Caolán McNamara
ce6b49c8a6 cid#1597274 Identical code for different branches
Change-Id: I9672db1e788265c806336f0bf077d0bb8144dc9e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167433
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-05-10 11:48:27 +02:00
Caolán McNamara
4c602fd255 cid#1597273 Unchecked return value
Change-Id: Ia48abe54185c23f740b1385ca2bfd45950209f77
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167434
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-05-10 11:44:11 +02:00
Oliver Specht
f60126a6bf tdf#159027: Fix calculation in tables with merged cells
Calculation in tables with merged cells over multiple pages is fixed.
It's more a workaround than a fix as it skips an empty SwRowFrame
returned from SwTabFrame::GetFirstNonHeadlineRow()

Change-Id: If11838da9769e0f6b0e54da8f422b4884684e30f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166254
Tested-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-05-10 11:05:36 +02:00
Noel Grandin
766d88bd73 loplugin:ostr in linguistic
Change-Id: Iebc2db1c5750a8cea835722c396d6f708fe6e0be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167426
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-10 10:44:33 +02:00
Noel Grandin
3c5d5d8ae3 no need to convert from Sequence to std::set here
we are never actually going to need a set, so just iterate over
the Sequence

Change-Id: I0de6ff9e0661227a69b7fbe6cccc5268f9eba58f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167430
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-10 10:44:13 +02:00
Michael Stahl
baaeca870f gbuild: don't create empty services.rdb on "make postprocess"
Since commit db3a61cd95 "make
postprocess.clea; make postprocess" will result in an empty
services.rdb, because the components are added in makefiles in other
modules.  Detect the problem and tell the user to run top-level make.

Change-Id: Iab1a15efa5a4c9bb3e90e44f82a9510dff724c80
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167354
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2024-05-10 10:08:41 +02:00
Michael Stahl
9fb9bd54a8 tdf#156484 svx,sw: fix visibility of shapes in header/footer
Similar to commit ae132145ff, also forward
IsVisible() and IsPrintable() from SdrVirtObj to its real object;
evidently the properties aren't copied when creating SdrVirtObj but
there is no reason for that to have these properties independent.

This triggers an assert in VOCOfDrawVirtObj::createPrimitive2DSequence()
because that is called during layout from getObjectRange(); the assert
was added in commit ae3ec0d53a and
intended for painting, but this isn't painting, and it's not easily
possible to detect if the function is called during painting, so remove
the assert.

Change-Id: Id2a04a5d07f43b86eb9c524b30ba74ecaf6a95c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167350
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2024-05-10 10:08:20 +02:00
Michael Stahl
609d1e353c sw: Navigator: don't show virtual drawing objects
These can return a non-empty name now, so exclude them explicitly.

(regression from commit ae132145ff)

Change-Id: Ia7f7b9fd7abe67f3302e95b38e3b9fa30b769b5b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167349
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2024-05-10 10:08:01 +02:00
Sarper Akdemir
06c4dfc743 tdf#33603: do not block SID_SAVEDOC slots on NotesPanelViewShell
Change-Id: Icc7320b0960f0d73027359b7525a37b44bdd7ee7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167365
Tested-by: Jenkins
Reviewed-by: Sarper Akdemir <sarper@libreoffice.org>
2024-05-10 10:03:42 +02:00
Sarper Akdemir
423d240dc6 sd: properly read values of optional config items for SlideSorterBar
Guessing this has regressed with
9fc28d7ef5

Read the values from std::optional<bool> properly.

The default values are taken from the configuration
officecfg/registry/data/org/openoffice/Office/Impress.xcu

Change-Id: I93d5537a9e06dc6985a2ec375353d9869b92e08c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167353
Reviewed-by: Sarper Akdemir <sarper@libreoffice.org>
Tested-by: Jenkins
2024-05-10 10:02:26 +02:00
László Németh
d4304cd0a4 tdf132599 sw: fix hyphenation-keep for linked frames, also for spreads
Linked text frames are hyphenated as columns on the same page,
i.e. do not shift the hyphenated line, if hyphenation-keep-type="page"
or "spread".

For "spread", check also that the hyphenated line is on the previous
left page, because checking only right page wasn't enough for linked
text frames and blank left pages.

Follow-up to commit 6e8819f29b
"tdf#132599 cui offapi sw xmloff: add hyphenation-keep-type" and
commit c8a99cb8dc
"tdf#132599 sw schema xmloff: add hyphenation-keep-type='always'".

Change-Id: I8965b42aa26c3c2571e07ad1b45dce6a9f61c633
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167390
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2024-05-10 09:58:43 +02:00