Commit graph

501980 commits

Author SHA1 Message Date
Tomaž Vajngerl
dee760e92c comphelper: put each Crypto impl. in own file - minimize ifdefs
This puts NSS and OpenSSL implementations into own classes and
adds an interface to make this possible. The implementation is
now determined in Library_comphelper.

Change-Id: I4918f19bca0adfd2f9180fb418d1bd57bb83982d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177383
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-11-28 09:50:08 +01:00
Xisco Fauli
4908455dc5 PVS: V612 An unconditional 'return' within a loop
Change-Id: Id7f54dd27a33cb4979e4d2594002ace25e65b34f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177441
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-28 09:29:05 +01:00
Mike Kaganski
211389c2d3 Flatten
Change-Id: I68a38cd7b2bf2dd966b357d81b6831790a229392
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177457
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-11-28 09:14:10 +01:00
Mike Kaganski
8bb3778952 Only sort if had a chance to add something
Change-Id: I54ec1368ab64d422de13217e877076a3ee41de94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177456
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-11-28 09:14:03 +01:00
Michael Weghorn
70825e677f tdf#130857 qt weld: Notify about spinbox combined value+text change
While QtInstanceEntry generally takes care of handling signals
for the spinbox's QLineEdit, this doesn't work when the value
is changed as a result of setting a new spinbox value (e.g.
by using the spinbox buttons), as the QLineEdit signals are blocked
then, see QAbstractSpinBoxPrivate::updateEdit in qtbase [1].
Therefore, connect the QDoubleSpinBox::textChanged signal
to the slot that calls signal_changed() instead to ensure
it gets called nonetheless, and disconnect from the other signal.

While at it, also add a SolarMutexGuard when calling the
signal.

This fixes the issue noticed with the "Go to Page"
dialog mentioned in previous commit

    Change-Id: I1f24cf3925e945ae78a9f1646535e08736cd8786

    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Wed Nov 27 23:53:58 2024 +0100

        tdf#130857 qt weld: Support "Go to Page" dialog

as:

> One issue seen with the dialog is that by using the
> up arrow of the spinbox to increase the value, it
> is currently possible to increase the value
> beyond the maximum value (last page number),
> while this is not the case when typing a number
> into the box manually.
>
> This is because the GotoPageDlg::PageModifiedHdl
> handler currently only gets called for the
> latter case, not the former one, despite
>
>     Change-Id: Ie19bc852f4ceed0fa79565302975376db7126ea4
>     Author: Michael Weghorn <m.weghorn@posteo.de>
>     Date:   Wed Nov 27 22:53:55 2024 +0100
>
>         tdf#130857 qt weld: Also notify about programmatic text changes
>
> and will be addressed in a separate commit.

[1] https://code.qt.io/cgit/qt/qtbase.git/tree/src/widgets/widgets/qabstractspinbox.cpp?id=ced47a590aeb85953a16eaf362887f14c2815c45#n1790

Change-Id: Ifba9a0877442f9e84f0103d8aab202ae3583c5cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177451
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-11-28 08:38:26 +01:00
Michael Weghorn
d765cdc515 tdf#130857 qt weld: Support "Go to Page" dialog
Declare support for the "Edit" -> "Go to Page" dialog
available in e.g. Writer.

This means that native Qt widgets are used for that dialog
now when using the qt5 or qt6 VCL plugin and starting LO with
environment variable SAL_VCL_QT_USE_WELDED_WIDGETS=1 set.

One issue seen with the dialog is that by using the
up arrow of the spinbox to increase the value, it
is currently possible to increase the value
beyond the maximum value (last page number),
while this is not the case when typing a number
into the box manually.

This is because the GotoPageDlg::PageModifiedHdl
handler currently only gets called for the
latter case, not the former one, despite

    Change-Id: Ie19bc852f4ceed0fa79565302975376db7126ea4
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Wed Nov 27 22:53:55 2024 +0100

        tdf#130857 qt weld: Also notify about programmatic text changes

and will be addressed in a separate commit.

Change-Id: I1f24cf3925e945ae78a9f1646535e08736cd8786
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177450
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-11-28 08:38:17 +01:00
Michael Weghorn
12fb40fd7b tdf#130857 qt weld: Let SpinButton derive from Entry
As weld::SpinButton derives from weld::Entry,
also let QtInstanceSpinButton derive from
QtInstanceEntry, instead of duplicating code
by reimplementing all of the weld::Entry methods
anew.

As the QtDoubleSpinBox derived from QDoubleSpinBox
itself is not a subclass of QLineEdit, it cannot
itself be passed down as the widget to the
QtInstanceEntry ctor.
Pass the spin box's QLineEdit instead. Make it
available by adding a new QtDoubleSpinBox::lineEdit
method which overrides the base class method of the same
name that is protected.

With this in place, QtInstanceSpinButton is now
the only QtInstanceWidget subclass where the
widget passed down to QtInstanceWidget is not
the same as passed by QtInstanceBuilder in
the QtInstanceSpinButton ctor, i.e.
QtInstanceWidget::getQWidget does not return
the QtDoubleSpinBox, but it's line edit.
Therefore, make QtInstanceWidget::getQWidget
virtual and override it in QtInstanceSpinButton
to return the spin box.

Drop the QtInstanceSpinButton methods of all
methods already implemented in QtInstanceEntry.

Change-Id: Ide2e1fe91216a5ec7f90a4f72ae34e3f63f624d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177449
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-11-28 08:38:10 +01:00
Michael Weghorn
68203597e1 tdf#130857 qt weld: Handle special value -1 for cursor pos
Implement special handling for cursor position value
of -1 according to the comment above weld::Entry::set_position
in include/vcl/weld.hxx:

    // nCursorPos can be -1 to set to the end

Change-Id: I078d2123f391cf1fcab6f40d26309e2a2eb2315f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177448
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-11-28 08:38:02 +01:00
Michael Weghorn
83ec1e7230 tdf#130857 qt weld: Also notify about programmatic text changes
Connect to the QLineEdit::textChanged [1] signal instead
of QLineEdit::textEdited [2].

As the doc of the latter says:

> Unlike textChanged(), this signal is not emitted when the text is
> changed programmatically, for example, by calling setText().

Programmatic changes are of interest, however, e.g.
GotoPageDlg::GotoPageDlg connects to the changed signal
of the weld::SpinButton and expects to be notified
when the text is changed by using the spin button
buttons to change the value (and thus the text).

[1] https://doc.qt.io/qt-6/qlineedit.html#textChanged
[2] https://doc.qt.io/qt-6/qlineedit.html#textEdited

Change-Id: Ie19bc852f4ceed0fa79565302975376db7126ea4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177447
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-11-28 08:37:56 +01:00
Michael Weghorn
df32eb6023 tdf#130857 qt weld: Call spinbutton value changed handler
Change-Id: I435ed112469b58cec191badaf98e7f019381707b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177446
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-11-28 08:37:49 +01:00
Mike Kaganski
669c839a61 Simplify ScSubTotalParam
Change-Id: I4c1840e377711ad065c3042bddacb2028481b88d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177433
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-11-28 05:36:59 +01:00
Justin Luth
2310b7c854 tdf#126533 vml gradient export: fix radial color swapping
This fixes my 24.8 regression 6dd6891a3d
related tdf#126533 tdf#159824 VML: don't export: negative angles

So far I really haven't touched radial gradient code,
but the above patch swapped the colors around for linear/axials,
and (while the import for radials is probably wrong)
that also changed round-tripped radials - swapping colors each time.

Note that on the unit test, the initial focus is 100,
so on the first import the colors are NOT swapped.
But since we don't write a focus, re-imports will start swapping.

See FillModel::pushToPropMap in oox/source/vml/vmlformatting.cxx

make CppunitTest_sw_ooxmlexport21 \
    CPPUNIT_TEST_NAME=testTdf126533_pageGradient

Change-Id: I469fe7fba520e338df90e2eb0d8bdf96709d2ecc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177452
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2024-11-28 02:35:47 +01:00
Rafael Lima
ec958b578b tdf#164069 Make line in Find sidebar respect dark mode
Change-Id: Ie75cb0a581447e7f247be6b6d2bf1860ec74c8eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177415
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2024-11-28 01:41:55 +01:00
Michael Weghorn
fe7fe79fee tdf#130857 qt weld: Implement spinbutton cursor/sel methods
Implement QtInstanceSpinButton methods related to
the text cursor and selection.

The QDoubleSpinBox base class QAbstractSpinBox
has a method QAbstractSpinBox::lineEdit [1]
that provides access to the spin box's QLineEdit.
However, that method is protected, and can therefore
not be accessed from QtInstanceBuilder.
Therefore, add corresponding methods to
QtDoubleSpinBox and forward calls to the line edit
from there.

The methods implemented in this commit are
very similar to the corresponding ones in
QtInstanceEntry (which however has has direct access to
the QLineEdit).

[1] https://doc.qt.io/qt-6/qabstractspinbox.html#lineEdit

Change-Id: Ib5d2b55478f88618ed58adc2353824c59015a039
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177436
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-11-27 23:29:09 +01:00
Michael Weghorn
6ab6dcf920 tdf#130857 qt weld: Introduce custom QDoubleSpinBox subclass
Introduce a new QtDoubleSpinBox subclass for the
stock QDoubleSpinBox and use it for the native Qt
weld::SpinButton implementation.

Initially, the new subclass doesn't add any
additional functionality, but that will be
added in future commits to provide functionality
needed to implement more of the QtInstanceSpinButton
methods.

Change-Id: Icebbf6485172b065d6a6d2c1c8ef87be9d3d244e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177435
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-11-27 23:29:00 +01:00
Michael Weghorn
24b5ec3184 tdf#130857 gotopagedialog.ui: Resave with glade 3.40
This is the .ui file for the "Edit" -> "Go to page"
dialog in Writer.

This luckily also moves the "page_value" GtkAdjustment
to the top of the file, which (at least for now, in
order to support that dialog) avoids the need to
extend QtBuilder to implement handling of GtkAdjustments
that are referenced in the .ui file before they are
defined.

(If it's still needed in the future, extracting
some of the current logic from VclBuilder into
the BuilderBase or WidgetBuilder base classes for
reuse also by QtBuilder might be an idea.)

Change-Id: Ic03acc1d514d412cd609543754829a370a5678e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177434
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-11-27 23:28:54 +01:00
Caolán McNamara
88431fff42 cid#1607688 Check of thread-shared field evades lock acquisition
Change-Id: I89042693b8844b4769be79fa854722fe3d7babf6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177426
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-11-27 21:45:21 +01:00
Xisco Fauli
c251a8cfe6 PVS: V547 Expression '!bNeedAction' is always false.
Since
commit 9859528a0e
Author: Ingrid Halama <iha@openoffice.org>
Date:   Thu Mar 22 15:48:03 2001 +0000

    #84921# smart propagation of fetchsize and direction from stub to possibly underlyingCachedContentResultSet

Change-Id: I6d1c2ef916d3e5b43f4cc896ef202acd69e2a2fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177431
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-27 20:17:32 +01:00
Xisco Fauli
3b39c887e9 PVS: V547 Expression '!bNoPrtLine' is always false
Since at least
commit a2a922c273
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date:   Wed Dec 5 10:59:41 2018 +0200

    loplugin:singlevalfields in sw

Change-Id: I54ce5a9ca4571de26c4c25448e58abc361a6a121
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177430
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-27 20:17:21 +01:00
Sakura286
d17a495c5c tdf#152943: Add configure option to disable NaN payload related tests
Because some architecture(such as riscv64) does not support NaN
  payload (NaN propagation), skipping the related tests might be a
  good choice for builders who has already known the risk of lacking
  NaN payload support.

  Currently the tests that could be skipped via --disable-nan-tests are:

  - rtl_math: test_payloadNaN
  - sc_ucalc_formula2: testExternalRefFunctions
  - sc_ucalc_formula2: testFuncGCD
  - sc_ucalc_formula2: testFuncLCM
  - sc_ucalc_nanpayload: testNanPayload

Change-Id: Ia8834595a8b469d8c542809b3e580a3f6316ef20
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174801
Reviewed-by: René Engelhard <rene@debian.org>
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: René Engelhard <rene@debian.org>
2024-11-27 20:06:40 +01:00
Miklos Vajna
8d7272141f sw: add stub Title impl for SwPostItField
It is advertised as a property, but it's not implemented: just avoid the
assert fail on inspecting the UNO wrapper.

Similar to commit eb3fccbd86 (sw: add stub
Title impl for SwAuthorField, 2022-05-25).

Change-Id: Idd49f8c23e2d66616346b30e1f0e04eda9da7725
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177429
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-11-27 17:45:42 +01:00
Xisco Fauli
71be29d7f5 PVS: V560 A part of conditional expression is always false:
!bDoDirectCairoStroke.

Since
commit 9c9f76dd5b
Author: Armin Le Grand <Armin.Le.Grand@me.com>
Date:   Sat Feb 8 12:14:09 2020 +0100

    tdf#130478 add direct dash paint in cairo

Change-Id: I31cc48d7757048a4ea985a2de2c7c8380114acb1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177423
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-27 17:38:31 +01:00
Xisco Fauli
d29348f2da PVS: V547 Expression '!bFoundCert' is always true
Since
commit 4b399dbfc4
Author: Sarper Akdemir <sarper.akdemir@allotropia.de>
Date:   Tue Sep 10 11:19:08 2024 +0200

    tdf#162405: check if there's a matching singing cert only when saving

Change-Id: I4f70843660f4feca12135ddeaa0452d5c57b20c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177427
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-27 17:37:06 +01:00
Michael Weghorn
aea7c6a013 sd: Drop unnecessary non-zero check
The second part of the condition already
makes sure that the mark count is non-zero.

Change-Id: I174bfc2ff3112616a63dda64f4435cd3d235343c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177424
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-11-27 17:23:49 +01:00
Caolán McNamara
4f7cdf40de drop a TODO
I don't think anyone is getting around to changing this after 13
years, and an int worth of config layers looks safe enough to me.

Change-Id: Iecf00a4d342e60d8f56a27978c40fa8d861ecd7e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177428
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-11-27 17:16:36 +01:00
Caolán McNamara
8e08e1c77c cid#1635586 Explicit null dereferenced
presumably since:

commit c969795bab
CommitDate: Mon Nov 25 08:25:53 2024 +0100

    pdf: Introduce a IPDFEncryptor and use it in PDFWriterImpl

Change-Id: I07958613a546443f10883f36daf6f306f19358ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177425
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-11-27 17:16:07 +01:00
Regina Henschel
7cec59402d tdf#131862 No table:cell-range-address in ODF 1.4
ODF 1.4 has removed the attribute table:cell-range-address from the
chart:plot-area element. So we may write it only in versions < 1.4.
The attribute was used to distinguish whether a chart has internal data.
The same information is given by the href attribute of the chart:chart
element.
The actual used cell-range-address values are already given in the
chart:axis and chart:series child elements and evaluated from there.
A global setting is not needed.

The attributes chart:data-source-has-labels, chart:column-mapping and
chart:row-mapping are related to the table:cell-range-address attribute.
These three attributes are deprecated already in ODF 1.2. Thus we will
not write them in ODF 1.4. Their information is given in the chart:axis
and chart:series child elements. The order of series is given by the
order of the chart:series child elements.

Change-Id: I08886723b1c8eb27489a7f44b5f8321572defdff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177323
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2024-11-27 17:10:40 +01:00
Michael Weghorn
36b69c4525 tdf#94147 svx a11y: Honor animation setting in OverlayRectangle
Base the decision to disable animation of the
overlay rectangle on whether animations are disabled
(either explicitly in LibreOffice itself or when
LibreOffice uses the default value of "System" for
animations and animations are disabled in the OS/desktop
environment) instead of on the fact whether
or not high contrast mode is enabled.

This is the same criterion as used for Calc's
"marching ants" animation, see

    commit ef7429f867
    Date:   Mon Jul 29 11:36:29 2024 +0200

        tdf#161765, tdf#115688 Let user choose which animation settings to use

Change-Id: If14b05006b1b04be9c2da9089dfbfbca70e88f79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177417
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-11-27 16:27:23 +01:00
Bogdan Buzea
03b1e988b1 Update git submodules
* Update helpcontent2 from branch 'master'
  to 9b423c924ba73aab8b885304822fd92b00ee562d
  - tdf#131332: Replace custom date formats with ISO 8601
    
    Change-Id: I79b7a4953c49590afd96cc13efad8598285b03a3
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/177296
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-11-27 15:22:21 +01:00
Xisco Fauli
ec68e9884a PVS: V560 A part of conditional expression is always true: bEqual
Since
commit d0484bcdcb
Author: Jens-Heiner Rechtien <hr@openoffice.org>
Date:   Mon Sep 18 23:16:46 2000 +0000

    initial import

Change-Id: Ib1cf69ecf70bf9d866308892562a2d9080e1350f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177413
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-27 14:23:29 +01:00
Xisco Fauli
b54e905ce6 PVS: V560 A part of conditional expression is always true
Since
commit 9b538afc29
Author: Vladimir Glazounov <vg@openoffice.org>
Date:   Tue May 22 17:46:33 2007 +0000

    INTEGRATION: CWS chart2mst3 (1.10.4); FILE MERGED

Change-Id: I1ed040165018d38770f7438a7f64436c7aa4873f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177412
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-27 14:13:39 +01:00
Xisco Fauli
9da32329f0 PVS: V560 A part of conditional expression is always true: bRotate90
Since
commit fd069bee7e
Author: Jens-Heiner Rechtien <hr@openoffice.org>
Date:   Mon Sep 18 16:07:07 2000 +0000

    initial import

Change-Id: Ie2aeabafb1ff2a73b1c8cb90ee1a4d03a7482ab5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177410
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-27 14:10:25 +01:00
Xisco Fauli
d9920fe89a PVS: V560 A part of conditional expression is always true: bOk
Since
commit 4e2453022f
Author: Rüdiger Timm <rt@openoffice.org>
Date:   Mon Jan 31 07:53:46 2005 +0000

    INTEGRATION: CWS fwkbugfix05 (1.145.34); FILE MERGED

Change-Id: I707fd1b1f7d315542b6afecbe19739a34033d9a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177409
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-27 14:05:03 +01:00
Xisco Fauli
45a7c21ed8 PVS: V560 A part of conditional expression is always true: bSuccess
Since
commit 217ef2ed9b
Author: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Date:   Mon Jan 23 12:32:25 2023 +0900

    pdfimport: refactor pdf and hybrid format detection code

Change-Id: Ib8bd09417eb07bd395b38a04245de30e8abda5a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177408
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-27 14:02:00 +01:00
Mike Kaganski
785a56b6be D2DWriteTextOutRenderer: use grayscale AA for file output
It makes no sense to use ClearType for file output - because it, by
definition, depends on the device and scale; and the file output is
for display on unknown device and scale.

Change-Id: Icf032b1fecc1a4a7f0a4be53797728c9f9505fdb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177402
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-11-27 13:49:43 +01:00
Xisco Fauli
6b08b34d3d PVS: V560 A part of conditional expression is always true: !bReturn.
Since
commit eff3f82033
Author: Miklos Vajna <vmiklos@collabora.co.uk>
Date:   Thu Mar 10 17:41:04 2016 +0100

    sd: handle classification during copy&paste

Change-Id: Ia65e34cbd9e7dc688eeae09a77105bf22fc17857
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177406
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-27 13:41:35 +01:00
Xisco Fauli
75c9b78b07 PVS: V560 A part of conditional expression is always true: !bSelection.
Since
commit c6fc14a42e
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date:   Tue Jun 30 12:21:20 2020 +0200

    loplugin:singlevalfields

Change-Id: If5242fd47d550c905b480d848d926da37c57766e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177407
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-27 13:38:32 +01:00
Bogdan Buzea
85951fbfc6 Update git submodules
* Update helpcontent2 from branch 'master'
  to c73747f8fb95caee2f4bd5095b886e305bd7d684
  - tdf#131332: Replace custom date formats with ISO 8601
    
    Change-Id: I46c451df1f3b957a3129f167e0a8d45726ef78c4
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/177295
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-11-27 13:25:02 +01:00
Bogdan Buzea
102ff62a40 Update git submodules
* Update helpcontent2 from branch 'master'
  to 0ecc00617e7b93d3869ea7d77c777ebe47db9896
  - tdf#131332: Replace custom date formats with ISO 8601
    
    Change-Id: I350334e689e6116465bbca4821e21a3046c0ce9c
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/177293
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2024-11-27 13:22:44 +01:00
Xisco Fauli
3be6d3182d PVS: V560 A part of conditional expression is always true: !bReadOnly
Since
commit a39a3f1ad1
Author: Caolán McNamara <caolanm@redhat.com>
Date:   Tue Feb 9 12:07:27 2021 +0000

    weld impress annotation window

Change-Id: I63855a609d5de49a0c810994fccf240695605456
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177405
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-27 13:22:12 +01:00
Xisco Fauli
e196718795 PVS: V560 A part of conditional expression is always true: !bSingle
Since
commit 5a725d1fde
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date:   Tue Mar 28 15:27:36 2017 +0200

    loplugin:singlevalfields

Change-Id: I5fabc0537f385531fedb34a0becf69e480d39394
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177404
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-27 13:22:00 +01:00
Xisco Fauli
69a020c19a PVS: V547 Expression 'bDouble' is always true
Added in
commit 96928bb74a
Author: Marco Cecchetti <marco.cecchetti@collabora.com>
Date:   Thu May 10 23:13:12 2018 +0200

    lok: sc: ctrl-clicking links doesn't work

and became always true after
commit 142d3e1591
Author: Jan Holesovsky <kendy@collabora.com>
Date:   Mon Oct 24 16:27:17 2022 +0200

    sc lok: Double-click should behave more like on desktop

Change-Id: I5e36fe835088865a9caede88b8a690f070a3da9d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177403
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-27 13:11:25 +01:00
Hubert Figuière
d244399270 LOKit/impress: Send click actions for slideshow
This will allow to implement the Interaction between slides
in the slideshow.

Change-Id: I0c4ca1858ab9935fd4926b776e96ba5b7a386e0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177398
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-11-27 13:06:53 +01:00
Xisco Fauli
95563e7347 PVS: V595 The 'mpDoc' pointer was utilized before it was...
... verified against nullptr
And some other related cases

Change-Id: If07cad3286afbc6e3058ed951128f501b11d79b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177395
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-27 13:03:43 +01:00
Caolán McNamara
127659cda6 make calc Grid config listen for changes
Change-Id: I1015adf6f8a270569e48b8e66b141ef37f217a1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177400
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-11-27 12:50:33 +01:00
Bogdan Buzea
86341e2ae9 Update git submodules
* Update helpcontent2 from branch 'master'
  to ce42a420ae28518aae72e72e06a8d3d8a3f33cc8
  - tdf#131332: Replace custom date formats with ISO 8601
    
    Change-Id: I2f17cb9ffc9704c229f4c2f6dd9c6fb8e0531f42
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/177297
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-11-27 12:49:33 +01:00
Xisco Fauli
e73b5b0afa openldap: upgrade to 2.6.9
Downloaded from https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.6.9.tgz

Change-Id: Ie26290f4443d92cb9f0801548782c0f10a518984
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177401
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-27 12:47:44 +01:00
Caolán McNamara
55baaa526c for --without-templates still generate the template/common/presnt dir
but leave it empty

Change-Id: Ie7f95f6d01c669598305e24472c357c1b92ad1f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177353
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Rashesh Padia <rashesh.padia@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
(cherry picked from commit e393a739fa890aeb77f189b62de4356043211490)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177392
Tested-by: Jenkins
2024-11-27 12:33:43 +01:00
Caolán McNamara
7dfa6d794d disable autotext atevent.xml in kit mode
Change-Id: Ie6e3e38768124e256a31c343a10cbc30262708e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176492
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
(cherry picked from commit afc7f61f6a87f2daf3b9e3cba2ecd4a70578793d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177394
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-11-27 12:33:30 +01:00
Xisco Fauli
91abc314b7 sc: use SAL_RET_MAYBENULL in GetDocument()
mpDoc can be nullptr
while at it, prefix it as a member

Change-Id: I48233bc4bfcd87a382e29ba9b9ee053612ba6bd8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177258
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-27 12:13:41 +01:00