Commit graph

476053 commits

Author SHA1 Message Date
Noel Grandin
7ac26ea039 tdf#148087 assert editing a cell with OnSelectionChange macro breakpoint
assert was introduced in
    commit e1972743d6
    Author: Noel Grandin <noelgrandin@gmail.com>
    Date:   Sun Sep 5 15:01:44 2021 +0200
    be more disciplined with SetUpdateLayout on editengine

We want to restore UpdateLayout when we're done doing layout, we should
not just leave it FALSE

Change-Id: Ic0431ffc3c66d0d02bfd10c323b18383f52dbc95
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132209
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-02 15:01:16 +02:00
Olivier Hallot
6ec923eee1 Update git submodules
* Update helpcontent2 from branch 'master'
  to 73968565bfdc77c58423f41c8f98be019aa9f446
  - Fix broken links in CEILING functions help page
    
    Address comments from https://gerrit.libreoffice.org/c/help/+/92097
    
    Change-Id: Id4ad0b4ed3d609f9e1ddb2482afd00f318d813bc
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135306
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-06-02 14:26:40 +02:00
Noel Grandin
30703dbe59 tdf#143964 insert/overwrite cursor shape lags in formula editing
Revert "tdf#132740 bypass work if selection has not changed"

This reverts commit 865641047b.

Change-Id: I69244a1e57ce979bf21946e31df7165f8791423c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135302
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-02 14:23:27 +02:00
Noel Grandin
0030fa0d51 tdf#145603 Drag-n-drop in formula bar creates mismatch
Revert
    commit 60d35f7677
    tdf#132740 don't broadcast if modified status has not changed

Change-Id: I5a0292499522e21708a2d5607966e4c2b3a18ba0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135301
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-02 14:22:43 +02:00
Stephan Bergmann
bee7a82ae5 A simpler way to avoid MSVC warning C4018 "signed/unsigned mismatch"
Change-Id: I0e6418598cd446dd541708fc91145e5f47d14a46
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135289
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-02 14:11:14 +02:00
Luboš Luňák
620cf04907 fix handling of XTransferable2 if the type is only XTransferable
Apparently some selections provide only XTransferable and not
XTransferable2, making this entire call think that there's no
selection at all. Handle that properly, and if XTransferable2
is not provided, then presumably it's not important to check
for isComplex().

Change-Id: I3bbafe46a6b9ac8552c62e524137e1691b54895a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135300
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-06-02 13:07:37 +02:00
Noel Grandin
733a6b4f8e elide some makeStringAndClear() class
when we are passing the result to a string_view, it is pointless.

Change-Id: I1e11d2610d70ed49c0b00d0c908829e8f1252bab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135298
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-02 13:06:27 +02:00
Mike Kaganski
d79c527c2a Use IconView in SmElementsControl
Allows to send individual images over the wire in lok case,
instead of sending full canvas at every scroll operation.

The control's horizontal and vertical modes (when it's docked to a
vertical or a horizontal parent window side) are now identical.

Some TODOs:
* Re-implement a11y - that needs to be implemented on IconView level;
* Make sure that sub-pixel positioning is not used when creating the
  elements icons (makes elements look a bit slim on Windows);
* Maybe restore mouse hover indication; in non-GTK case, a call to
  m_xIconView->SetHoverSelection would suffice in SalInstanceIconView.

Change-Id: Idbc35f4e38e2b49fd0848a96da557fa2c1a1f6e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134761
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-06-02 12:51:41 +02:00
Xisco Fauli
f6fbdb87a1 tdf#149418: vcl_filters_test: Add unittest
Change-Id: I643175f077723b0a865270691f3b50cc817e572d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135295
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-06-02 12:37:51 +02:00
Noel Grandin
c60ad041e8 clang-tidy modernize-pass-by-value in framework
Change-Id: I024653154c51389bb27f3e94b422ff7fc1c9b46b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135296
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-02 12:12:15 +02:00
Caolán McNamara
826b0fc9aa cid#1504597 Dereference null return value
Change-Id: I6b1b34375a70c3081d7f6d90766cb0df053de355
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135294
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-02 11:42:32 +02:00
Caolán McNamara
6eb1f2c45c cid#1504591 Uninitialized scalar field
Change-Id: I647888f13fc18010efc5ff6023790e91fa11611a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135293
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-02 11:42:19 +02:00
Stephan Bergmann
aa1004c04b Use o3tl::make_unsigned, nPolygonIndex is already clamped to non-negative here
Change-Id: Ib174df281389b334396905a94fc395900e7d9eb9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135290
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-02 11:26:47 +02:00
Stephan Bergmann
beb19b0a60 There should be no need for a cast here
...presumably added back in the day to avoid warnings about signed vs. unsigned
comparisons with old compiler versions

Change-Id: Id95e272949e48adf0e75883368cbcd421e289b33
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135292
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-02 11:22:41 +02:00
Stephan Bergmann
470bc86279 Use o3tl::make_unsigned, nPolygonIndex is already clamped to non-negative here
Change-Id: Idaf80e28f177c84faaec2c047db2b4435b9e7e15
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135291
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-02 11:21:53 +02:00
Noel Grandin
e6de84d46c std::move SfxPoolItem into SfxItemSet where possible
found with the help of a temporary loplugin (which i have put into the
store/ folder)

Change-Id: Ide40d09bef6993ace50039a8fd0439b7e29c09a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135288
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-02 10:45:44 +02:00
Caolán McNamara
1577c0dc30 tdf#149418 the expectation is on success the tiff stream pos is at EOF
which is what the old one did, so do that here as well, libtiff will
leave the stream some other pos by default, presumably the directory.

which explains the testTdf138818 mystery

Change-Id: I574700f81a21ee164d9911e05e2023aa48d10370
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135279
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-02 10:01:14 +02:00
László Németh
7a1d4b7d1d tdf#149420 sw offapi xmloff: add hyphenation zone
Add hyphenation zone support, i.e. allow the specified
amount of extra space in lines instead of forcing hyphenation.
It's for limiting hyphenation, used especially with
not justified paragraph alignment.

Note: this is an OOXML interoperability feature,
used also in DTP software and CSS.

* Add checkbox to Text Flow in paragraph dialog
* Store property in paragraph model (com::sun::style::ParagraphProperties::ParaHyphenationZone)
* Add ODF import/export
* Add ODF unit test
* Add layout test

Note: extend SvxHyphenZoneItem::GetPresentation() with
missing No CAPS and No last word hyphenation options.

Note: fix OSL_ENSURE condition in SwTextFormatInfo::GetHyphValues().

Follow-up to commit 29359fc15c
"tdf#149324 sw offapi xmloff: add option to not hyphenate short words".

Change-Id: Ib8eff6ea98a9aa5ca6cb9d17faa0bbb789687ce9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135247
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2022-06-02 09:57:39 +02:00
Noel Grandin
6585fe3fc1 elide some unnecessary null checks
getSvxBrushItemFromSourceSet never returns nullptr, and
therefore neither does SwFormat::makeBackgroundBrushItem

Change-Id: I618e45c5e336f93a7bde3172f4a349b9672d0ff0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135277
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-02 09:45:32 +02:00
Stephan Bergmann
51572f6024 Suppress false positive cid#1504594
Change-Id: I9a4a20a2725a050b7e3d0aa38cb4568e7462926c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135287
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-02 09:36:09 +02:00
Miklos Vajna
f23b0d206e sw content controls, checkbox: add properties dialog
- add a new m_xCheckboxFrame to SwContentControlDlg that contains all
  the checkbox-related widgets

- hide this frame for non-checkbox content controls

- load the checked & unchecked states into entries to show their current
  value

- provide buttons to easily pick special characters using SvxCharacterMap

Change-Id: I8f2ad862d1102bac0198360d40cfe8b653ce4ccd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135286
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-06-02 09:22:50 +02:00
Noel Grandin
294fe615e1 remove dead allocation in getSvxBrushItemFromSourceSet
Change-Id: Iffd60c6cac753807f5f400d13a655400562ba076
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135276
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-02 09:09:33 +02:00
Miklos Vajna
147da06324 sw: document SwContentFrame
I.e. the layout side of images is not a fly frame, but a no-text frame,
with a fly frame parent.

Change-Id: If76029d02ea2cd583effb31230f5e2d9edc9f237
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135275
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-06-02 08:17:28 +02:00
Stephan Bergmann
c387bc7dd1 The elements of XInvocation::invoke aOutParamIndex are non-negative
..so use o3tl::make_unsigned when comparing them against an expression of
unsigned integer type, instead of casting that expression to a signed type

Change-Id: I4fc0bd4447f55d5fd9bf893a4b22d6d2c2cfe3d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135280
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-02 08:07:08 +02:00
Andrea Gelmini
f3b5cb5a17 Update git submodules
* Update helpcontent2 from branch 'master'
  to 6edfe34b94d0639b0184aee99b3fbff23217c7a6
  - Fix typos
    
    Change-Id: I2606fd452bce8cda26345efd301c4c572690ee52
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135207
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-06-02 00:34:33 +02:00
Alain Romedenne
1c16e8075b Update git submodules
* Update helpcontent2 from branch 'master'
  to 36303145afbcf57edf4a45129bd5a8b222dfec74
  - Base form properties Sort dialog name is case sensitive
    
    Selecting Base form properties data Tab Sort dialog help button caused 'page not found'
    
    Change-Id: If91a478964304893527ac8c03d417dcee445a4ee
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134072
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-06-02 00:33:38 +02:00
Eike Rathke
dad1d7182e Resolves: tdf#149378 Force array input if outer function returns array/matrix
So the result will actually display as full matrix, or in the cell
range marked prior to input, instead of just the top left element
in one cell, without having to close the input with
Shift+Ctrl+Enter to force array mode. The previous behaviour can
be forced by pre-selecting/marking one cell, which also worked
previously when closing as array input.

Change-Id: I81c079ce02e0c8d0536617ca6882fb470a352441
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135278
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-02 00:33:15 +02:00
Laurent BP
b760b2f743 Update git submodules
* Update helpcontent2 from branch 'master'
  to 6cad3f7596e2296adda304ab1c613a429bb6ae93
  - tdf#129674 New command Go to Sheet
    
    Add help to "Go to Sheet" dialog
    
    Change-Id: Iede0523d0272b32b9b87489129bca0136d601a65
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134951
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-06-02 00:31:21 +02:00
Rene Engelhard
197a28ae50 fix build
add #include <optional>, since:
[build CXX] comphelper/source/property/ChainablePropertySetInfo.cxx
/home/rene/LibreOffice/git/master/comphelper/source/property/ChainablePropertySet.cxx: In member function 'virtual void comphelper::ChainablePropertySet::setPropertyValue(const rtl::OUString&, const com::sun::uno::Any&)':
/home/rene/LibreOffice/git/master/comphelper/source/property/ChainablePropertySet.cxx:54:10: error: 'optional' is not a member of 'std'
   54 |     std::optional< osl::Guard< comphelper::SolarMutex > > xMutexGuard;
      |          ^~~~~~~~
/home/rene/LibreOffice/git/master/comphelper/source/property/ChainablePropertySet.cxx:23:1: note: 'std::optional' is defined in header '<optional>'; did you forget to '#include <optional>'?
   22 | #include <comphelper/solarmutex.hxx>
  +++ |+#include <optional>
   23 |

happens since 49b9401465

Change-Id: I643e7811f1ec7588ccde5453303cd57675c6165e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135252
Tested-by: Jenkins
Tested-by: René Engelhard <rene@debian.org>
Reviewed-by: René Engelhard <rene@debian.org>
2022-06-01 22:30:12 +02:00
Xisco Fauli
9ed78f1be7 tdf#149417: vcl_filters_test: Add unittest
Change-Id: I1c575027d53b93c5d08c7e4fdf6da9d34654bc4a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135249
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-06-01 21:39:06 +02:00
Xisco Fauli
7c2f826b4a tdf#90579: sc_uicalc: Add unittest
Change-Id: I96b1b639c766664e14a50ab8a267eb490d7239a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135274
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-06-01 21:32:21 +02:00
Stephan Bergmann
0af4324c57 Use more appropriate type for SbiImage::GetString nId param
Change-Id: I4207830e3923ce9b4f7c0f59cf5880dfcf89979b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135243
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-01 21:20:29 +02:00
Caolán McNamara
da250c36d4 Related: tdf#149408 inspector crash with a writer OLE inside calc
also on *leaving* the OLE mode

Change-Id: I97e9cd7cd4dc1803c4bc40865a08a194819c9ff2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135244
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-01 21:04:04 +02:00
Eike Rathke
89f4737ab7 Remove nonsense comment, function *is* used
Change-Id: I514b38c0770deb85ca995aed1e8e454eb4f23e81
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135251
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-01 20:53:26 +02:00
Michael Stahl
f2dc0bedeb nss: remove nss-3.13.5-zlib-werror.patch
The zlib module should be used instead of NSS' bundled zlib since
commit 1c748fefc3

Change-Id: I0d820cdd795712a7dbe27ef114f0efddd3f436ef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135235
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-06-01 19:51:39 +02:00
Noel Grandin
6b252b6adb clang-tidy modernize-pass-by-value in filter
Change-Id: Id55c90665eaa29ee2ece07606429411549e06b8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135242
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-01 18:52:21 +02:00
Noel Grandin
dabd26614d pass ScRange around by value
it's a very small object, and trivially movable. No need to allocate it
separately

Change-Id: I0adf947433e73a425f39004297c450a93ac4e5f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135216
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-01 18:12:09 +02:00
Noel Grandin
49b9401465 no need to allocate guards on the heap
Change-Id: I66491a057f082a970158504474b678dbb4decf50
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135228
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-01 18:11:49 +02:00
Stephan Bergmann
754eb1541a No need to call resume() on all already running thread
(This was there ever since the beginning in
85c2477a94 "INTEGRATION: CWS bunoexttm", while for
the similar OuterThread it was always absent.)

Change-Id: I3c43f0e35435b6035f6a1f2a1ca9f104bd639689
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135240
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-01 16:43:29 +02:00
Mike Kaganski
c2253f587b Introduce weld::IconView::insert_separator
Needed to eventual re-implementation of starmath's SmElementsControl
using IconView.

This required re-implementation of IconViewImpl, to layout entries
by iteration, because now it's impossible to find an entry position
just based on its index.

This coincidentally fixed some visual glitches in non-gtk IconView
implementation from commit 5813660e7b
  Author Szymon Kłos <eszkadev@gmail.com>
  Date   Tue Feb 16 16:03:30 2016 +0100
    icon view for RemoteFilesDialog

where any selected element could become first in row when scrolling.

SvTreeListBox::SetEntryHeight taking a SvTreeListEntry const* had to
be renamed to CalcEntryHeight, to avoid both virtual and non-virtual
overloads, additionally having different accessibility.

A TODO is implement separators in GtkInstanceIconView. I couldn't
find a GTK API for separators in IconView, so possibly a workaround
would be needed with some non-selectable narrow elements.

Change-Id: Ie8dc35d94049a1c48e4eb49697681ffbe93c17f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135112
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-06-01 16:30:11 +02:00
Mike Kaganski
1dbf0f53e2 Don't resize to parent window
The parent may contain other controls (e.g. Fontworks dialog's grid
contains also a label above the icon view). The control already has
the correct size; just use it.

Fixes vertical scrollbar being partially hidden behind control's
bottom in non-GTK Fontworks dialog.

Change-Id: I424999777f24bbb28619d07a9de782057f0257a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135003
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-06-01 16:29:57 +02:00
Mike Kaganski
a130f0f406 Implement weld::IconView::[gs]et_item_width
Change-Id: I211e3c21b4e0148c4ff6fc9931838e37ccd0cc41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134897
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-06-01 16:29:42 +02:00
Mike Kaganski
1c2d3b0698 Implement weld::IconView::connect_query_tooltip
Change-Id: I8a8540e240d6a7046f564404c7c3b6bff8c2f04d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134806
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-06-01 16:29:28 +02:00
Caolán McNamara
c90db9e43d Resolves: tdf#149417 allow one short read in tiff import as not a failure
Change-Id: I77bff41abd51cfd3050836fff04e9644b0828c09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135239
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-01 16:03:32 +02:00
Stephan Bergmann
3483df9971 Avoid -Werror,-Wdeprecated-declarations when building Library_vclplug_qt6
> vcl/qt6/../qt5/QtFontFace.cxx:132:19: error: 'QFontDatabase' is deprecated: Call the static functions instead [-Werror,-Wdeprecated-declarations]
>     QFontDatabase aFDB;
>                   ^
> /usr/include/qt6/QtGui/qfontdatabase.h:113:5: note: 'QFontDatabase' has been explicitly marked deprecated here
>     QT_DEPRECATED_VERSION_X_6_0("Call the static functions instead") explicit QFontDatabase() = default;
>     ^
> /usr/include/qt6/QtCore/qglobal.h:382:44: note: expanded from macro 'QT_DEPRECATED_VERSION_X_6_0'
> # define QT_DEPRECATED_VERSION_X_6_0(text) QT_DEPRECATED_X(text)
>                                            ^
> /usr/include/qt6/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
> #  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
>                                 ^
> /usr/include/qt6/QtCore/qcompilerdetection.h:1146:36: note: expanded from macro 'Q_DECL_DEPRECATED_X'
> #  define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]]
>                                    ^

etc.

Change-Id: Icc6a5f2f78af9b287b71bdd347f396928a100b25
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135225
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-01 16:03:18 +02:00
Caolán McNamara
fc5833b860 Related: tdf#149408 various crashes seen in redline panel
with this writer in calc ole case

Change-Id: I1ecd7725703674cc1bcfc9b3d411ec890bfe4bcc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135237
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-01 16:02:52 +02:00
Caolán McNamara
1fe266c22f Resolves: tdf#149408 inspector crash with a writer OLE inside calc
toplevel isn't a SwDocShell at this point, its a ScDocShell

Change-Id: I3aa3c72e494cf6c0ceff1286a7026ca01385ab8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135236
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-01 16:02:34 +02:00
Stephan Bergmann
7d8d65d850 The return value of XConnection::read is guaranteed to be non-negative
...so use o3tl::make_unsigned when comparing it against an expression of
unsigned integer type, instead of casting that expression to a signed type

Change-Id: Id2bea3010bf67bdaeb0766b20baecba195bf0181
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135227
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-01 16:02:19 +02:00
Michael Stahl
9b453e699f nss: upgrade to release 3.79
Fixes CVE-2022-1097 and moz#1767590 "memory safety violations"

Change-Id: I6895f066ad943402231b616dae0d7ed6f5678b5e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135234
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-06-01 15:38:14 +02:00
Mike Kaganski
7e1108f6ec Fix domain
Change-Id: I0391fb3d4b913967ed4f8459d6b30f7f39bf4b40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135055
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-06-01 14:51:10 +02:00