Commit graph

499390 commits

Author SHA1 Message Date
Xisco Fauli
994834e072 ICU: upgrade to 75.1
Downloaded from https://github.com/unicode-org/icu/releases/tag/release-75-1

Change-Id: I882c57bf5ab613dc71f7ae1c31305596e1ca791f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168750
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-09-12 12:09:09 +02:00
Laurent Balland
8a978834e2 Update Yellow Idea Impress template
- simplify Header/Footer/Page/Date elements
- remove some unused styles

Change-Id: Ie8c75f9dd8dafe9ecf16ffc820832a88391b3507
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173048
Reviewed-by: Laurent Balland <laurent.balland@mailo.fr>
Tested-by: Jenkins
2024-09-12 12:04:01 +02:00
Mike Kaganski
976567aee3 Simplify a bit
Change-Id: Id46a5029ce86f20ffae34aa6495d7311044999a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173177
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-09-12 10:09:36 +02:00
Andras Timar
c4283c5309 tdf#162921 on this error dialog there is 'Abort' button, not 'Cancel'
Change-Id: I28b86fa7fa0175d5b9737854ad0ece4e3a00760e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173217
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2024-09-12 09:42:35 +02:00
Balazs Varga
b6775ce2b3 Temporarily skip unit tests on native arm64 build
which indicating unit test fails.

Change-Id: I2689b0dda888e15e52ca60cc18e1705a1aefe968
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173143
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Tested-by: Jenkins
2024-09-12 09:37:26 +02:00
Justin Luth
3fddae6812 tdf#162884 writerfilter: map to built-in footnote style name
This partial revert fixes a 24.2.4 regression from
commit 72ea1005b9
Author: Michael Stahl on Mon May 6 15:58:36 2024 +0200
    tdf#160402 writerfilter: extend StyleMap with all Word styles

Footnote anchor character formatting is controlled by
the character style set in Tools - Footnotes Settings.

The default name of that style is UI dependent,
so only the English UI was importing properly
when the localized name was used in the mapping.

"Footnote Symbol" is the internal name - both the internal name
and the localized name are find-able at the same time,
so the only things that will have a problem are things
that don't connect to the style, but just hold the string name.

The unit test change is also a revert from mstahl's commit.
make CppunitTest_sw_ooxmlexport9 \
    CPPUNIT_TEST_NAME=testTdf109310_endnoteStyleForMSO
and is an indication of another problem that this fixes,
namely that a new Footnote Characters style is added
with each round-trip.

Bug 162884 was only reproducible with a non-English UI.
To reproduce, I compiled with autogen.input
--with-lang=de

Thus no unit test...

Change-Id: I63d37f13f435ff7ec41d6b22d74db83dc495150a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173141
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-09-12 08:53:46 +02:00
Xisco Fauli
a7468f083f tdf#149865: reduce size of sample file
Change-Id: Ic0751f22f3158536dc5753db2ea9f133692e0d7f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173213
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-09-12 08:30:57 +02:00
Xisco Fauli
5c88efbcfa external: remove a couple of gcc9 patches
Baseline uses GCC 12 now

Change-Id: Id9a0f79aa801aa342fd943cebeb0f528f4964d84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173235
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-09-12 08:30:34 +02:00
Noel Grandin
d39e7878b3 use less dynamic_cast in svx table stuff
we already statically know the types of all these objects

Change-Id: I976dbf2b150fcd2176df18a07c2e9f21b1d2fe65
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173214
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-12 08:09:27 +02:00
Noel Grandin
5ba893dfb8 use more concrete UNO type in editeng
Change-Id: I5cad4808a1e5f10022f8a0441eb81a279d9b6386
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173196
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-12 08:09:16 +02:00
Stephan Bergmann
294b4cc545 These bogus -Wdangling-reference still hit with current GCC 15 trunk
Change-Id: Ice2be2156474cf486ad1c461d65e2711ebf43d2f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173232
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-09-12 08:03:43 +02:00
Michael Weghorn
e94a352756 tdf#161256 gtk4 a11y: Don't crash on missing context or invalid child index
If an `XAccessible` doesn't have a context or
`XAccessibleContext::getAccessibleIndexInParent()` returns
an invalid index of -1, don't crash/assert, but
let `lo_accessible_get_next_accessible_sibling` return
`nullptr`.

This works around potential bugs in underlying
`XAccessible`/`XAccessibleContext` implementations for now.

This is meant to fix the assert/crash seen in the backtraces
attachment 196363 and attachment 196383 from tdf#161256
which I cannot reproduce locally on Debian testing.

Change-Id: Ic1779d875161469bf296c558039e19f1d426a259
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173216
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-12 07:08:14 +02:00
Michael Weghorn
071b626079 tdf#91739 wina11y: Create AccObject for parent as necessary
In `AccObjectWinManager::InsertAccObj`, when no HWND
was explicitly passed, it is attempted to retrieve the
HWND from the parent's `AccObject`.

If no parent AccObject exists yet, create/insert that
one first.

This fixes the following assert seen when using NVDA's SayAll
feature to read the whole document with sample document mentioned in NVDA
issue [1], also attached as attachment 196385 in tdf#91739
for reference:

    Assertion failed: pIAccessible && "Couldn't retrieve IAccessible object for relation target.", file C:/tools/cygwin/home/user/development/git/libreoffice/winaccessibility/source/UAccCOM/MAccessible.cxx, line 2755

It's also reproducible when manually trying to get the next
flows-to relation target via NVDA's Python console when the
first cell in the table has focus:

    >>> focus.flowsTo

The issue is not reproducible when focus had been in the
second cell before, as an accessible object has already
been created otherwise in that case.

Backtrace:

    1  abort                                   ucrtbase             0x7fff3b72286e
    2  get_wpgmptr                             ucrtbase             0x7fff3b7241b5
    3  wassert                                 ucrtbase             0x7fff3b7244f1
    4  CMAccessible::get_relationTargetsOfType MAccessible.cxx 2755 0x7fff1e028729
    5  NdrSendReceive                          RPCRT4               0x7fff3d4ca2d3
    6  NdrStubCall2                            RPCRT4               0x7fff3d4625a7
    7  CStdStubBuffer_Invoke                   combase              0x7fff3cfbc4ac
    8  RoGetAgileReference                     combase              0x7fff3cf669c3
    9  RoGetAgileReference                     combase              0x7fff3cf6674e
    10 HSTRING_UserSize                        combase              0x7fff3cfbefb6
    11 DllGetClassObject                       combase              0x7fff3cf470b3
    12 CoWaitForMultipleHandles                combase              0x7fff3cf6774d
    13 RoGetActivatableClassRegistration       combase              0x7fff3cf2eb26
    14 CoGetMarshalSizeMax                     combase              0x7fff3cf5cfba
    15 CallWindowProcW                         USER32               0x7fff3ccbef5c
    16 DispatchMessageW                        USER32               0x7fff3ccbe684
    17 ImplSalDispatchMessage                  salinst.cxx     475  0x7ffed452d378
    18 ImplSalYield                            salinst.cxx     552  0x7ffed452da9d
    19 WinSalInstance::DoYield                 salinst.cxx     581  0x7ffed452cfa1
    20 ImplYield                               svapp.cxx       385  0x7ffed78befc4
    21 Application::Yield                      svapp.cxx       474  0x7ffed78c2cd2
    22 Application::Execute                    svapp.cxx       361  0x7ffed78bc656
    23 desktop::Desktop::Main                  app.cxx         1691 0x7ffeecf689b7
    24 ImplSVMain                              svmain.cxx      228  0x7ffed78d3d4c
    25 SVMain                                  svmain.cxx      261  0x7ffed78d45a2
    26 soffice_main                            sofficemain.cxx 121  0x7ffeecfb9064
    27 sal_main                                main.c          51   0x7ff782681013
    28 main                                    main.c          49   0x7ff78268105a
    29 __scrt_common_main_seh                  exe_common.inl  288  0x7ff782681344
    30 BaseThreadInitThunk                     KERNEL32             0x7fff3bb07374
    31 RtlUserThreadStart                      ntdll                0x7fff3d85cc91

[1] https://github.com/nvaccess/nvda/issues/8152#issuecomment-2342167620

Change-Id: I246251f06d1885e0da96600ffc7dd0549854382f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173224
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-12 07:07:49 +02:00
Michael Weghorn
e6965d0328 wina11y: Drop superfluous AccObject::m_pIMAcc null checks
The `AccObject` ctor already asserts it's non-null,
so there's no need to check again in various places.

Change-Id: Ibba363d326198a89e391a4da54cff25c95eef776
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173223
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-12 07:07:42 +02:00
Michael Weghorn
07a7551f60 wina11y: Move var decl to first assignment
... and rename to use the "x" prefix for this uno::Reference.

Change-Id: Ibf422aa48d6fbada49975fa8c5f43ad6c4c3ddee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173222
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-12 07:07:36 +02:00
Michael Weghorn
0792cf256f wina11y: Move var declaration to where it's assigned
... and rename the variable to use the "x" prefix
in line with naming conventions.

Change-Id: Ife49161162654efdf1d543909218e31e464d2fc3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173221
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-12 07:07:29 +02:00
Jonathan Clark
3d9b8701cb tdf#107184 sw: Added base text group feature to Asian Phonetic Guide
This change adds a new button, Group, to the Asian Phonetic Guide.
Clicking on this button will automatically merge all base text runs into
a single base text run.

Change-Id: I8bc2881f0c31d501f8a347156145a483bb4c96cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173241
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
Tested-by: Jenkins
2024-09-12 05:04:53 +02:00
Olivier Hallot
e0a5b29f65 Update git submodules
* Update helpcontent2 from branch 'master'
  to 4a1a76e6b7c74f0903b7695f137160e4c7e622f7
  - tdf#162607 Remove dup's in hid2file.js Standard filter
    
    + Deleted shared/02/12090000.xhp because 12090100.xhp has much more info and duplicates contents
    + rebuild links to reach 12090100.xhp
    + renamed references to Default filter to Standard filter.
    + add section to standard filter icon for embed purposes
    + refactor
    
    Change-Id: Ib88b7574fa12910c4cf9c8af9cbf79577b600e4b
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/173237
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-09-12 01:08:01 +02:00
Olivier Hallot
22d3de16dc Update git submodules
* Update helpcontent2 from branch 'master'
  to f0cce1baf94f2645e5eac9bd3dbc72de359179b5
  - tdf#162607 Remove dup's in hid2file.js, NewTableDialog
    
    + Removed bookmarks not appropriate
    + moved some <ahelp> to UI and deleted here
    
    Change-Id: Ic85a4c43cd4861cefa1bf67348d386464234ed65
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/173236
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-09-11 22:40:10 +02:00
Caolán McNamara
1c5de2934d cid#1608244 Overflowed constant
Change-Id: I0af85988e04b479b7dae5d68a97bdc41332e9d7e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173227
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-11 22:03:42 +02:00
Olivier Hallot
f3bf4d62d5 Add extended tips to newtabledialog.ui
Change-Id: I3ef67bfb5989ce12cb4d64ebff555d7b5fe8c8ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173226
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Jenkins
2024-09-11 22:03:21 +02:00
Olivier Hallot
77cbb62a7b Bump to latest Glade - no changes
Change-Id: Ia447b0322b270915c1865f2d93473bc6b2a32291
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173225
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-09-11 21:54:49 +02:00
Laurent Balland
53537bc415 Update Growing Liberty Impress template
- remove duplicate picture (add a rotation)
- simplify Header/Footer/Date/Page elements in Handout, Notes and Master
  slides

Change-Id: I933294fce99614448317ef572552f57bb585bc9d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173047
Tested-by: Jenkins
Reviewed-by: Laurent Balland <laurent.balland@mailo.fr>
2024-09-11 20:41:21 +02:00
Noel Grandin
a2ee9929c8 use more concrete UNO type in svl
Change-Id: I794fba1f111709e0469812d48eb81cc4dc1f11d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173195
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-11 20:40:47 +02:00
Rafael Lima
2c57183536 tdf#162899 Accept BYTE and SHORT types in the Solver Options dialog
ScSolverUtil::GetDefaults should also accept values of types BYTE and SHORT. It currently only accepts LONG.

As described in the bug ticket, this is important when creating Solver extensions using Python, since pyObject2Any forces small integer numbers to be either BYTE or SHORT instead of LONG.

Change-Id: I17c7a344777c31ea333a4d21a2543d2de0b448fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173093
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-09-11 19:44:05 +02:00
Jaume Pujantell
26754f3c85 lok: sw: restrict deletions on comment only mode
On Writer, when in readonly mode with comments activated restrict
the hability to delete comments to only those made by the same user.

Change-Id: Iaefb1166c680726c9c73a305ef67be812d3b97d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172596
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit f93d46429c68770dd432fa6e7edcfc876891f8e1)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172890
Reviewed-by: Andreas Mantke <andreas.mantke@googlemail.com>
Tested-by: Jenkins
Reviewed-by: Jaume Pujantell <jaume.pujantell@collabora.com>
2024-09-11 19:18:44 +02:00
Caolán McNamara
e7da2b370c cid#1607469 Data race condition
Change-Id: Id9d55ce38c9348c5f8da3ce65af0cd1e0da96196
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173187
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-09-11 18:13:35 +02:00
Caolán McNamara
3789644976 cid#1607383 silence Overflowed constant
Change-Id: I61b233714e613128d84bb19539727ac5a620a425
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173192
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-11 17:17:20 +02:00
Caolán McNamara
8bf1abfdc6 cid#1607403 silence Overflowed constant
Change-Id: I5edaf48b4d6fb42d73bc34c2a028f5372ecbdc45
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173190
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-11 17:17:04 +02:00
Caolán McNamara
b2f6da2431 cid#1607412 silence Overflowed constant
Change-Id: Ie4ca362c936c8cbb4850d438e0bd6c2ed91f95d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173189
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-11 17:16:40 +02:00
Caolán McNamara
1f59a5d590 cid#1607446 silence Overflowed constant
Change-Id: I175a7b4808641797efec33151353d0164921aa86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173188
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-11 17:16:19 +02:00
Xisco Fauli
f44c334a3e tdf#159032: minimize sample file
it still crashes if the fix is reverted.
Also rename it since the filename is confusing

See https://gerrit.libreoffice.org/c/core/+/161652/comments/14d0a095_4e005629

Change-Id: I1a629b8be171d17600024ebdc4ab0584af2342f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173197
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-09-11 17:15:55 +02:00
Mike Kaganski
f24cf13f0e Related: tdf#158092 add a comment to avoid symbols localization
The localizable string is to allow different position/precision of the
components; but the localization of the symbols themselves (decimal
and thousand separator, currency) happens in code.

This comment is shown in Weblate UI.

Change-Id: Ib2f62fc8edf12ad3b182b40e3a8981c43b7ed67f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173104
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-09-11 17:01:09 +02:00
Xisco Fauli
c95229bf8e curl: upgrade to 8.10.0
Downloaded from https://curl.se/download/curl-8.10.0.tar.xz

Change-Id: I1eb9506a73162ce2e2adf1fe1e02267c34bc78ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173194
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-09-11 16:47:08 +02:00
Noel Grandin
ca8c59c7e6 use more concrete UNO type in framework
Change-Id: I3ee54f3967339ab52c04f48a047bc29fc5161680
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173159
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-11 16:14:54 +02:00
Noel Grandin
4f86862b8a use more concrete UNO type in toolkit
Change-Id: I3527b51948e6b23cc9448a2c98dbe2765cef48b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173158
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-11 16:14:47 +02:00
Caolán McNamara
d0d45b3736 cid#1607478 Overflowed constant
aFormMap is std::pair<SwPosition, sal_uInt32> and GetTabIndex returns
sal_uInt32, so change nCurTabIndex to sal_uInt32 and continue use of
SAL_MAX_UINT32

Change-Id: Ie404e8b649f37f753f943f90a648114f080ed6b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173185
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-11 16:05:43 +02:00
Mike Kaganski
7cfff4751b Related: tdf#129061 Avoid formula import and use fallback for now
Until we support the correct inline formulas, their import fails badly
in Impress, because we completely lose them in boxes with other content,
and even where they are the sole content, they stretch to the size of
the box incorrectly.

Commit 4038d6c393 (tdf#117658 PPTX import:
fix duplicated math object handling, 2019-11-13) opted to enable the
Choice variant from the AlternateContent representing formula boxes.
This change switches to Fallback graphic, losing the option to edit
standalone imported formulas, but instead, allowing to see the formulas
as they were created in PowerPoint.

Unit test in sd/qa/unit/export-tests-ooxml2.cxx, created in commit
331a0a347e (starmath: fix OOXML export
of non-BMP Unicode, 2016-01-21) was changed, because it depended on
importing the formula from PPTX, which is disabled here. Since it
was fixing the export part, the FODP source seems to be a reasonable
replacement.

Change-Id: Ibd0e2bcd68296020c3bc057cb6a563918926cf2f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173163
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-09-11 15:50:01 +02:00
Caolán McNamara
f7c6394bf2 cid#1607652 Overflowed constant
Change-Id: I624949cf61caa1f4448375208a3d3db2315c43cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173162
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-09-11 15:44:53 +02:00
Julien Nabet
a42270bb4d tdf#161007: Report Builder Wizard fails
See https://bugs.documentfoundation.org/show_bug.cgi?id=161007#c7

Change-Id: Ide92b70f9006e229b59fab0c3eacfb37e0625ae6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173186
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-09-11 15:20:30 +02:00
Caolán McNamara
0420602f80 cid#1607586 Overflowed return value
doesn't make sense to compare to
std::numeric_limits<sal_Int64>::max
here, while sal_Int32 does

Change-Id: Ic19beb6c2a0a46c5b45d37e833d566d91ddc10cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173161
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-09-11 15:12:04 +02:00
Noel Grandin
cd88ea52af use more concrete UNO type in package
Change-Id: I95283bf49b8966d73035dd718fbcfcbdcacc78c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173157
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-11 14:34:13 +02:00
Caolán McNamara
1bbf42240e cid#1607928 silence Overflowed constant
Change-Id: I0e2fafbde9e311177f42a4db3477760749021f56
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173148
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-11 14:14:44 +02:00
Tomaž Vajngerl
43c8ec415a lok: test for getPresentationInfo LOK API function
Also fix getting the slides, so we don't rely that a WeakReference
is set, as it is not set (yet) when running the test.

Change-Id: Icd338e31fbd0bb7c45a06357b955b85081ed38c9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172868
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-09-11 13:55:24 +02:00
Miklos Vajna
482c7c5851 cool#9992 lok doc sign: async read-write DigitalSignaturesDialog
This finally allows removing the hack for the LOK case in
SfxObjectShell::CheckIsReadonly() to show the signatures dialog
read-only.

Also fix a case while signing PDFs where the file stream was on the
stack, but now that we finish signing in an async callback, signing
crashed due to a use-after-free.

Fix that by giving the std::unique_ptr to the utl::OStreamWrapper ctor,
which knows to take over ownership in this case, and that wrapper is
reference-counted.

Next problem is that the add/remove buttons in the dialog are still
hidden in the LOK case, that's not yet fixed here.

Change-Id: I71ee50ae55d4e62f5d265a35e3810e3b2b63a9b9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173155
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-09-11 12:34:13 +02:00
Balazs Varga
0706828548 tdf#149865 - FILEOPEN PPTX: fix table lacks border
Fix wrong border line styles if we have merged cells.

Change-Id: I238aa08c65b9aefd7b77b0f4ae3c3df979a7171d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173109
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Tested-by: Jenkins
2024-09-11 12:28:06 +02:00
Heiko Tietze
b4c52eb467 Revert "Resolves tdf#162732 - Donate label not vertical centered"
This reverts commit 91f0b84675.

Reason for revert:

commit 6ca8cf32d2
Author: Caolán McNamara <caolan.mcnamara@collabora.com>
Date:   Mon Sep 9 13:33:47 2024 +0100

tdf#162732 force centered alignment for donate button text

bit of a bodge, gtk defaults to baseline alignment here, so force
what we want instead in a separate "Donate" button.

Change-Id: I6301d158e97c279a86f8fe541ce336bdd3535645
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173094
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-09-11 10:15:55 +02:00
Caolán McNamara
94a4d30494 cid#1606920 Overflowed integer argument
Change-Id: I04bf4e51c64d09b3e8e15d2b3fc98c8ff4c3f6ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173147
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-09-11 09:38:16 +02:00
Caolán McNamara
e53df700aa cid#1619294 Dereference null return value
Change-Id: I07246237df3ebd6040353938984622e530b9ce2e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173146
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-11 09:37:52 +02:00
Caolán McNamara
b14a6c9e8d ImplFillExchangeData always derefs its first arg
Change-Id: If5afecc8c0e821a6abe98ededad2e0ea8b98ccbe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173145
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-11 09:37:28 +02:00