Commit Graph
512121 Commits
Author SHA1 Message Date
Christian Lohmaier 7736e497b2 update credits
Change-Id: I937d81dd004004cb91f4b7ab625214fb0d1e42a2
2025-12-10 17:50:49 +01:00
Michael Weghorn 937d036942 sfx2: Move SfxCharmapContainer to own header/source file
Instead of having definitions of the
SfxCharmapContainer methods interspersed with those
of the SfxCharmapCtrl one in the same source file, move
them to an own source file.

Also move the class definition to an own header for
consistency.

This makes it a bit easier to keep an overview.

Change-Id: Ibf05b564e5936bee2bfda612b43fe0ecac26ddc6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195345
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-12-10 17:42:45 +01:00
Michael Weghorn 7990c0675b sfx2: Use #pragma once
Change-Id: I1d5f03d66030bde3dc17d63352ee23bb92c090d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195344
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-12-10 17:41:59 +01:00
Michael Weghorn 0e55e6a4ee tdf#130857 qt weld: Implement logic to show menu item help on F1
Similar to how

      commit 2ef9880f97
      Author: Michael Weghorn <m.weghorn@posteo.de>
      Date:   Sun Jul 30 01:59:31 2023 +0200

          tdf#156376 qt: Open help for focused native menu entry on F1

did for e.g. for the main window menu, also implement
the logic to open the help for the current weld::Menu
entry when F1 is pressed.

In QtInstanceMenu::set_item_help_id, set the corresponding
property for the menu entry's QAction.

Keep track of the current/last active menu item
in QtInstanceMenu::m_pCurrentAction, and open
the help for that action's help ID if it's non-empty.

This will be used e.g. for the following scenario once
support for that dialog will be declared:

* start Writer
* "File" -> "Templates" -> "Manage Templates"
* enable the "List View" by clicking on the corresponding
  button
* select an entry and right-click on it to open the context
  menu
* navigate between entries and press F1 while an entry is
 h highlighted to open the help page specific to the currently
  highlighted entry

(More is missing to be able to eventually declare support for
that dialog, but this makes opening the corresponding help page
work in a corresponding local WIP branch.)

Change-Id: I906a779c33bdf1812ad5fd1590fe45096d53fe70
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195343
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-12-10 17:41:50 +01:00
Michael Weghorn 4eee866921 tdf#130857 qt weld: Switch QWidget to QObject param
In order to get or set properties, QObject is
sufficient [1].
Therefore, switch param to that type instead of the
QWidget subclass.

This will allow reusing it for QAction params in
QtInstanceMenu.

[1] https://doc.qt.io/qt-6/qobject.html#property

Change-Id: I599a885fd8c089015f87f092013d84e132a37807
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195342
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-12-10 17:41:41 +01:00
Michael Weghorn baab1f2c78 tdf#130857 qt weld: Extract helper method to set help ID
Extract the logic from QtInstanceWidget::get_help_id
to a new static helper method.

This will be reused in QtInstanceMenu
in an upcoming commit.

Change-Id: Ifc6ac06232db1fd4e865af22b556eff0229cd55d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195341
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-12-10 17:41:33 +01:00
Michael Weghorn 5d28767654 tdf#130857 qt weld: Forward TreeView context menu event
Call the base class method weld::TreeView::signal_popup_menu
when a QContextMenuEvent is received in QtInstanceTreeView's
underlying QTreeView.

This will be used e.g. for the following scenario once
support for that dialog will be declared:

* start Writer
* "File" -> "Templates" -> "Manage Templates"
* enable the "List View" by clicking on the corresponding
  button
* select an entry and right-click on it to open the context
  menu

(More is missing to be able to declare support for the dialog,
but this makes showing the context menu work in a corresponding
WIP branch.)

Change-Id: Ib6e66e12669462da839063a7642e02ba125818c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195338
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-12-10 17:41:24 +01:00
Michael Weghorn fc7b5f21e0 tdf#130857 weld: Unify context menu event handling a bit
Let weld::TreeView::signal_popup_menu return the return
value of the handler it calls, and call the method
instead of the handler directly in the GTK and
vcl subclasses.

Make weld::TreeView::m_aPopupMenuHdl private, as
it's now only directly used from within the class
itself.

Change-Id: I4f5c693596e76bbdfbb172468e584174fe0df6c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195337
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-12-10 17:41:15 +01:00
Michael Weghorn 8dfbc656d1 weld: Fix typo in weld::TreeView::m_aPopupMenuHdl doc
Change-Id: Ia3fc556cfeca5894be1ca5762fd7de7631e145dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195336
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-12-10 17:41:06 +01:00
Michael Weghorn b2f10f6f67 sw a11y: set a11y names for color themes in sidebar
Following

    Change-Id: I77b7b12d0087eac8afeb88d4847a95ed268bfc5f
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Tue Dec 9 18:43:39 2025 +0100

        sw: Use weld::IconView in ThemePanel

, also set accessible names for the items in the
sidebar, which e.g. makes the Orca screen reader
announce those when they receive focus with the
gtk3 or qt6 VCL plugin.
(They also had no accessible names set before the
above-mentioned commit, so only "Item 1", "Item 2"
etc. were announced.)

See the above-mentioned commit for more details
on how to trigger the relevant code path.

Change-Id: I3fc075a5d9f14de3badc3b3ba99e1ce3fa5cbabb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195325
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-12-10 17:40:42 +01:00
Michael Weghorn 556ba8b0cb sw: Use weld::IconView in ThemePanel
Replace the use of a custom ValueSet subclass
ThemeColorValueSet to display the themes to choose
with a more standard weld::IconView.

Besides reducing custom logic, it also ensures
that theming/styling adheres better to the rest
of the application, e.g. the way that the currently
selected theme in the sidebar is highlighted.

In this case, it also makes sure that actually
all themes are shown: Previously, only 6 of them
instead of all 7 were displayed, due to hard-coding
the number of rows and columns in the ThemePanel ctor

    mxValueSetColors->SetColCount(2);
    mxValueSetColors->SetLineCount(3);

Now, all 7 themes are shown and can be selected.

The newly introduced helper method ThemePanel::CreateImage
mostly takes over the existing logic from the (now dropped)
ThemeColorValueSet::UserDraw.

Drop the now no longer used ThemeColorValueSet.

An upcoming commit will also set accessible
names for the themes, which wasn't previously
done either.

The theme panel can be reached as follows:

* start Writer
* in "Tools" -> "Options" -> "Advanced", enable
  "Enable experimental features (may be unstable)",
  press "OK" button, restart LO to apply those changes
* open the "Design" sidebar panel in Writer

The list of theme colors in the "Themes" section
is the one that was switched to weld::IconView
by this commit.

The "Format" -> "Themes" dialog shows the same
set of color themes and can also be used while testing
that a change to the color theme in the sidebar
was actually applied as expected.

Change-Id: I77b7b12d0087eac8afeb88d4847a95ed268bfc5f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195324
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-12-10 17:40:34 +01:00
Michael Weghorn c749b94b9a sw: Drop unused ThemePanel members
Unused since

    commit 8bc22ed689
    Date:   Thu Jan 5 23:58:50 2023 +0900

        sw: rework ThemePanel, theme color ValueSet drawing as custom draw

Change-Id: Ifb3c4f01dacf6cb2c997b693cee0797730531cb4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195321
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-12-10 17:40:24 +01:00
Christian Lohmaier bde2a23833 Update git submodules
* Update translations from branch 'master'
  to 27eb5b5f79946c6faab920a972fe8903f773be0a
  - update translations for master/26-2
    
    and force-fix errors using pocheck
    
    Change-Id: I7dc347446a939379271d919ebf3657be6ea9a497
2025-12-10 17:19:54 +01:00
Akaki Dzidziguri 44fd82c41d tdf#145538 Use std::count_if function for loop in lngmisc.cxx
Signed-off-by: Akaki Dzidziguri <akakidzidziguri03@gmail.com>
Change-Id: I6d32a95c3c3598636202b85c1b08f1912c0bfab4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194276
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-12-10 17:08:09 +01:00
Raul Feier 967c43bf55 tdf#158237 use c++20 contains() instead of find() and end()
Change-Id: Idffad61325c531fb65398cf838d90fd3497b4d72
Signed-off-by: Raul Feier <feierraul44@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194965
Tested-by: Jenkins
Reviewed-by: Gabriel Masei <gabriel.masei@libreoffice.org>
2025-12-10 16:26:03 +01:00
Caolán McNamara 304b968e14 add writer dialog coverage report
Change-Id: I5430d2272a623a4f2ae886ae009d70ca92ad1430
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195227
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195316
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-12-10 16:09:04 +01:00
Caolán McNamara b749f045bc put the uicoverage into the first level json
i.e. don't put json into json

Change-Id: I5606c0d280e7f8c3c08cc21e1bc62689de7422bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195226
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195315
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-12-10 16:08:55 +01:00
Caolán McNamara be0e1382a6 Collect .ui use coverage information
bootstrap reporting of what .ui files were used in a session.

Change-Id: I19b004482a3892898a9738e5e98ee084ab8cdcec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195113
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195314
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-12-10 16:08:46 +01:00
Xisco Fauli 8968394022 related tdf#169841: drop community-flavor switch
Added in
commit 2d69acfde5
Author: Heiko Tietze <tietze.heiko@gmail.com>
Date:   Fri Jan 8 15:10:42 2021 +0100

    Resolves tdf#139343 and tdf#139335 - Community/Enterprise flavor

it only adds "LibreOffice Community" to the version string
in the about dialog, which is not really useful at this point,
since final releases don't use it either

Change-Id: Ifdd7a91cdd18a016c104aea871fb7dc9c42fa97a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195106
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2025-12-10 13:39:40 +01:00
Jan Holesovsky bd2d0bec67 coda-m: Don't skip the tile painting on macOS
Change-Id: Iecbb24f2bc4b3824cd556baa864327c0c52b1475
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195349
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2025-12-10 13:15:30 +01:00
Noel Grandin 31ed14cdc3 officeotron: w:spacing in wrong order
found by converting the document in testNumberedList to docx,
then running officeotron on it.

Change-Id: I090b38a9a2e74dd8ec1c64aa818d976e319f59b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195333
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
2025-12-10 09:51:09 +01:00
Noel Grandin f4340c6460 skipValidation not needed here anymore
Change-Id: I588f9194f11749c0fcf94f0fc8c9c9148284317e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195332
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-12-10 09:50:43 +01:00
Noel Grandin f4ff6e8d27 officeotron: "0-00-00T00:00:00Z" is not a valid date
similar to commit 8c5683ee74

Change-Id: I3de3e44ea4955a159d8e23932108d623fbb27c60
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195331
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Tested-by: Jenkins
2025-12-10 09:40:47 +01:00
Noel Grandin ca61332eef officeotron: w:cellIns needs to come at the end
Found by running tdf127814 with validation on.

Change-Id: I4f479596db9042fae507e52116f01aef762b3f2f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195330
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Tested-by: Jenkins
2025-12-10 09:40:19 +01:00
Noel Grandin 65264d2ce1 skipValidation not needed here
Change-Id: Ic49877308fc9e585eea995e20e58742847be3d02
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195329
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-12-10 09:39:53 +01:00
Noel Grandin 38ac376989 skipValidation not needed here anymore
Change-Id: I44b3287386e32e116c2c37d1cab7b30698c72080
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195328
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-12-10 09:39:33 +01:00
Xisco Fauli d3df96b548 tdf#169730: partially revert the fix for tdf#168452
Revert the problematic part from e5f0dad2b38d2a3902a9cd6b9d434abc206590a4
"tdf#168452: support unicode-bidi in svg"
until a better solution is found

Change-Id: If21b0c38b5fd8bdade0538e4960353d156e17e2a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195307
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-12-10 09:22:37 +01:00
Jaume Pujantell f2736a8407 sd: pptx: fix footer moving places for MSO
In a pptx file with a slide master that has multiple slide layouts, the
footer would loose properties when saved in LO and opened in MSO.
This is due to the master de-duplicating logic that in trying to emulate
pptx's natural way of dealing with master and layout slide it treats
multiple Impress masters as equivalent. This is needed for most export
functions, but when exporting an element from an Impress slide that
references an Impress master (like a footer), we need to differentiate
exactly which one of the equivalent masters it comes from to make the
indices match.

Change-Id: I815c3db54256d934b69108c7268f6d7642c33cbb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194190
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
(cherry picked from commit 0f21756af8e74b0dd3f25fe4234feb067430838b)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195225
Tested-by: Jenkins
Reviewed-by: Jaume Pujantell <jaume.pujantell@collabora.com>
2025-12-10 09:02:49 +01:00
Noel Grandin 4bc4fc7681 add comment to skipValidation() call
for anyone else who wants to fix it.

Change-Id: I3481e8d6d24f640a3a294bf04f311010d018bade
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195079
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-12-10 08:36:02 +01:00
Stephan Bergmann 7bdd020783 Fix any2PyObject mapping of UNO exceptions
That

>             // the exception base functions want to have an "args" tuple,
>             // which contains the message

code is there ever since e80bdbafeb "initial
checkin for the pyuno-0.9.2 release" for reasons that are not clear to me, but
at least in the "TODO" scenarios from 3320b5fe2e
"Add exhaustive testing of PyUNO type mapping based on embindtest" and
1e2e9a20a4 "More exhaustive testing of PyUNO type
mapping based on embindtest" (which are hereby fixed), that
PyObject_SetAttrString would cause a Python exception, cf.

> info:pyuno.runtime:1489432:1489432:pyuno/source/module/pyuno_runtime.cxx:533: setting exception args raised Python exception <class 'AttributeError'>: AttributeError('args')

so at least catch that.  (And maybe that code is obsolete anyway it would make
even more sense to drop it altogether.)

Change-Id: Ic651d106f34e0b316cba59ae66d2402b8f86b0f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195340
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2025-12-10 07:58:18 +01:00
Heiko Tietze a6bc66ca8d Resolves tdf#160096 - Allow invalid values regardless the validation
Introduces a new compatibility option
Makes c869fb5ea2 optionally

Change-Id: I75c2a801f41a5e3d9688fdb1557f86506ed11697
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195288
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2025-12-10 07:39:03 +01:00
Jim Raykowski 8c3fc56d37 tdf#169851 sync color table with active color
commit 676892af95 was my first stab.
This second effort aims to provide the expected behavior of not
changing the last used palette when it does not have a color match of
the 'Active' color. Additionally this patch handles when the
'Custom', 'Theme colors', or 'Document colors' palette is the last
used palette.

Change-Id: Ibce078778d8cad483448837dbb6364acbf668a40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195265
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Tested-by: Jenkins
2025-12-10 02:23:32 +01:00
Stephan Bergmann d89051d184 Don't use OUStringBuffer::apendAscii with UTF-8
(Stumbled over this when while preparing
1e2e9a20a4 "More exhaustive testing of PyUNO type
mapping based on embindtest" I accidentally forgot the

> from org.libreoffice.embindtest import Exception

in pyuno/qa/pytests/embindtest.py and thus PythonTest_pyuno_pytests_embindtest
would SIGABRT with

> sal/rtl/strtmpl.hxx:122: auto rtl::str::Copy(sal_Unicode *, const char *, sal_Int32)::(anonymous class)::operator()(char) const: Assertion `rtl::isAscii(static_cast<unsigned char>(c))' failed.

from pyuno::lcl_ExceptionMessage (with reprString being "('error', None,
-123456, 100.5, 'hä')") while trying to report

> uno.com.sun.star.uno.RuntimeException: Couldn't convert ('error', None, -123456, 100.5, 'hä') to a UNO type; caught exception: <class 'AttributeError'>: 'Exception' object has no attribute 'getTypes', traceback follows

.)

Change-Id: I4581061dbfa190266fef98dc670a058d6c98eaaf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195304
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Tested-by: Jenkins
2025-12-09 23:56:38 +01:00
Xisco Fauli aba5f80169 nss: upgrade to 3.119
* external/nss/connectx.patch.0 has been fixed upstream

Downloaded from https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_119_RTM/src/nss-3.119-with-nspr-4.38.2.tar.gz

Change-Id: I0477965c9ab62f21684278e5ed7860360521b270
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195081
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-12-09 17:20:05 +01:00
Jean-Pierre Ledure a01eefb7b7 Update git submodules
* Update helpcontent2 from branch 'master'
  to 478b6583450eedc0adcf943089e37fb21122f392
  - ScriptForge (SF_Array) arrays and data arrays
    
    Page sf_array.xhp reviewed according to
       https://gerrit.libreoffice.org/c/core/+/177620
    
    Change-Id: Iacc285b4672d88b8763457e0592074edd2742a6a
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/195303
    Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2025-12-09 17:18:50 +01:00
Ilmari Lauhakangas 35e97e664f tdf#158289 Use consistent grammar for the labels of commands related to
tracked changes

Change-Id: I4861245a27f24421b1a774ddcc19407d066d5a70
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195268
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2025-12-09 17:13:37 +01:00
Justin Luth 442f92858d xlsx: export activeX control as transparent
Using Excel 2024, I saved the control
with a black, a blue, and a transparent background.
The only differences in the files
were in the activeX/activeX1.bin file,
and in the media/image1.emf file.

Currently we can't use LO to save different colours anyway,
so if we are only going to support one choice,
then the best choice is transparent - which is
the default of a new control.

make CppunitTest_sc_subsequent_export_test4 \
    CPPUNIT_TEST_NAME=testCheckboxFormControlXlsxExport

Change-Id: I6d4a24fa43d4c12ce412d5bf3abb02e7347d3efc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195263
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
2025-12-09 15:41:01 +01:00
Andrea Gelmini 29535cd1f3 Remove duplicated include
Change-Id: Id75ff7d7ea476d0123f07acb4a1f35c93eff5fe3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195292
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2025-12-09 15:05:39 +01:00
Andrea Gelmini 3ae52c31ad Remove duplicated include
Change-Id: Ib5f6bb12c3038ee277695fde85290540aa35ffbd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195291
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2025-12-09 15:05:12 +01:00
Andrea Gelmini dd83ba2f0d Fix typo
Change-Id: I0739c6878ec546ba61fa4a85665a5996865aff4d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195293
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2025-12-09 15:04:36 +01:00
Justin Luth df0792c6e2 xlsx: export activeX control's 3D/Flat style
make CppunitTest_sc_subsequent_export_test4 \
    CPPUNIT_TEST_NAME=testCheckboxFormControlXlsxExport

Change-Id: I2a059254e212eabf3a2d90d510167236154ac24b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195262
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2025-12-09 14:52:58 +01:00
Heiko Tietze 5e022dcb5c Data Validity: Disable controls depending on checkbox state
Change-Id: I48454f5ca0bc418c471768e672a6ad67027d68a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195281
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2025-12-09 14:40:36 +01:00
Noel Grandin bd84bd35e9 ubsan: fix downcast (2)
svx/source/svdraw/svdedtv1.cxx:1011:56: runtime error: downcast of address 0x7bd2deeea930 which does not point to an object of type 'const SfxUInt16Item'
0x7bd2deeea930: note: object is of type 'XFillTransparenceItem'
00 00 00 00 90 ee bd 84 a2 7b 00 00 00 00 00 00 fb 03 be be 17 02 00 00 89 be 00 00 00 00 00 00
^~~~~~~~~~~~~~~~~~~~~~~
vptr for 'XFillTransparenceItem'

after
  commit 953219b811
  Author: Noel Grandin <noelgrandin@gmail.com>
  Date:   Wed Dec 3 21:34:19 2025 +0200
  make XFillTransparenceItem extend SfxPoolItem

Change-Id: Id29305cf0a7b7431207aaa7f8ede639f035a630e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195276
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-12-09 14:18:28 +01:00
Stephan Bergmann 1e2e9a20a4 More exhaustive testing of PyUNO type mapping based on embindtest
...by implementing all the getAny... variants that were left out of
5f05929fd1498e418618d7570192877055de2c80 "Add exhaustive testing of PyUNO type
mapping based on embindtest".

Which revealed that the code in Adapter::invoke (in
pyuno/source/module/pyuno_adapter.cxx) was apparently broken, and would cause
the C++ call in doExecuteTest (in unotest/source/embindtest/embindtest.cxx) of
the Python

>     def getAnyByte(self):
>         return uno.Any('byte', -12)

(in pyuno/qa/pytests/embindtest.py) to fail with a nonsensical

> uno.com.sun.star.uno.RuntimeException: uno.Any instance not accepted during method call, use uno.invoke instead at pyuno/source/module/pyuno_runtime.cxx:785 at stoc/source/invocation_adapterfactory/iafactory.cxx:203

In addition, there's two new places marked with TODO comments:

For one, executing C++

>         bool const ok = test->isAnyException(val);

would cause an odd

> python.bin: Objects/typeobject.c:4745: PyObject *_PyType_Lookup(PyTypeObject *, PyObject *): Assertion `!PyErr_Occurred()' failed.

failure that needs further investigation.

And for another, executing Python

>         return value == self

would always return false.  It appears that PyUNO_cmp (in
pyuno/source/module/pyuno.cxx isn't yet prepared to be called with `that` being
a native Python UNO-implemenation object (`class Test(unohelper.Base, XTest)`)
instead of a proxy for a binary/C++ UNO object.

Change-Id: I0289e1f5ee6dab53b589af783c0c53302989394c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195287
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2025-12-09 14:00:54 +01:00
Aron Budea eb338daa90 tdf#169825 AutoLayout can be incorrectly exported to PPTX
...as vertTitleAndTxOverChart, if ODP layout was
AUTOLAYOUT_NOTES, causing corruption.

PPTX export code directly matched LO's AutoLayout IDs to
PPTX layout types (OOXML spec: 19.7.15 ST_SlideLayoutType
(Slide Layout Type)) without conversion, as some don't have
direct match, and need to be matched to blank layouts. This
could result in PPTXes that can't be opened in PowerPoint.

It could also result in PPTXes with wrong layout types when
using LO's own vertical layouts. The files could still be
opened in PP in this case.

In addition, import code imported vertical PPTX layouts
with wrong IDs, matching them to notes and handout autolayouts.

Part of the mentioned behavior happened since
bff76421e2.

Change-Id: Iba7a50795979c22bc566aa2cd6ea4d82f7f9477e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195049
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2025-12-09 09:56:29 +01:00
Ilmari Lauhakangas 3a855b3802 tdf#169649 Fix typo in static/README.wasm.md
Change-Id: I1304b0a3567a6a8a213bc163eb05c50b37f94d78
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195267
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
2025-12-09 09:25:59 +01:00
Xisco Fauli 50b39ceb42 libpng: upgrade to 1.6.53
Downloaded from
http://prdownloads.sourceforge.net/libpng/libpng-1.6.53.tar.xz?download

Change-Id: I09a817614658880cf1d4e0a162597b2d675bc4e0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195245
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-12-09 09:18:13 +01:00
Heiko Tietze b03fc7bb20 Resolves tdf#165225 - Correct theme color for disabled menu items on Windows
Change-Id: I18c6baf2b60feea1fe9098319c5f1c0778451b4a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195234
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2025-12-09 08:24:41 +01:00
Noel Grandin a608afdb68 ubsan: fix downcast
/svx/source/sidebar/area/AreaPropertyPanelBase.cxx:820:42: runtime error: downcast of address 0x5030003750d0 which does not point to an object of type 'const SfxUInt16Item'
0x5030003750d0: note: object is of type 'XFillTransparenceItem'
 00 00 00 00  d0 74 21 ac 12 7f 00 00  00 00 00 00 fb 03 be be  15 00 00 00 89 be 00 00  00 00 00 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'XFillTransparenceItem'
    #0 0x7f12b02722cf in svx::sidebar::AreaPropertyPanel

after
  commit 953219b811
  Author: Noel Grandin <noelgrandin@gmail.com>
  Date:   Wed Dec 3 21:34:19 2025 +0200
  make XFillTransparenceItem extend SfxPoolItem

Change-Id: Iaee48c5f5522cab8ec48cffd621cc866151429af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195235
Reviewed-by: Dan Williams <dcbw@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-12-09 08:20:00 +01:00
Xisco Fauli 72f548d039 mariadb-connector-c: upgrade to 3.4.8 (master only)
Downloaded from https://dlm.mariadb.com/4516944/Connectors/c/connector-c-3.4.8/mariadb-connector-c-3.4.8-src.tar.gz

Change-Id: I442ed091fc67a2820a965c7eefb73b958965a09b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194886
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-12-09 00:08:32 +01:00