Commit graph

489958 commits

Author SHA1 Message Date
Miklos Vajna
65f508b44e tdf#157573 sw floattable: add missing testcase
Fails with commit 626fe9ab5e (tdf#157573
sw floattable: fix incorrect lack of left margin after table,
2023-10-18) reverted.

Change-Id: I6a3bd69dc109e6df195d00c33118218eeaa00ce5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158179
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2023-10-19 18:36:52 +02:00
Xisco Fauli
0a0c5a5b05 UITest_sw_navigator: avoid oneprocess
This is just a test to see whether this is reason why
UITest_sw_navigator is failing some much recently.
if it's not the case, I'll revert this patch later on

This patch reverts
- 1775b0c25a "disable unreliable navigator UITest"
- f2ba17fecb "disable more flakey
  navigator UITest"
- 2e49ec0eaa "disable more flakey
  navigator UITest"
- d097856913 "disable more flakey
  navigator test"
- 6347dcbd3a "disable more unreliable navigator UITest"

Change-Id: I6e3dde9ad412b0769edee551f7e0ee026586bf8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158184
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-10-19 18:31:27 +02:00
Patrick Luby
5d347c3d72 tdf#157680 scale down size and adjust size and scale factor for /BBox
The size of an embedded PDF files is multiplied by
PDF_INSERT_MAGIC_SCALE_FACTOR for platforms like macOS so undo that
by adjusting the size and scale factor.

For some unknown reason, when exporting the following PDF, the
estimated size of embedded PDF charts are 20x larger than expected.
This only occurs on macOS so possibly there is some special conversion
from MapUnit::MapPoint to MapUnit::MapTwip elsewhere in the code:

  https://bugs.documentfoundation.org/attachment.cgi?id=190109

Change-Id: Id0563466fea3d7a3a0419787ec9da45f0c1d2e0a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157852
Tested-by: Jenkins
Reviewed-by: Patrick Luby <plubius@neooffice.org>
2023-10-19 18:25:14 +02:00
Julien Nabet
7f3ab74eb6 Related tdf#144256: missing removePropertyChangeListener calls in AppController
Compare and use same order as in dbaccess/source/core/dataaccess/datasource.cxx

Change-Id: Id025e6e801387c2c377af88d2816c68ed9183e55
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158171
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-10-19 18:20:12 +02:00
Stephan Bergmann
e6ca379bcb Clean up some C++20 TODOs
Change-Id: I8baece4349683c7a83a283b85e24f33874b47ba3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158177
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 17:16:29 +02:00
Michael Stahl
7cb283cf0e tdf#157703 sw: PDF/UA export: fix headings with labels
The problem is that the new Lbl/LBody elements are produced even for
outline nodes, but those aren't represented as lists at all, but as
headings H1..H10.

Plausible representation of the heading label could be in a Lbl element
inside H1, or simply as plain text; i can't find any recommendation
either way.

Let's try Lbl inside H1, neither veraPDF nor PAC3 complain about it.

(regression from commit 9b38beadf9)

Change-Id: I691957d0c4a80d1339cb2b87c72c9aa652abfb9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158127
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-10-19 17:15:48 +02:00
Noel Grandin
3a1cf7a24c use png_set_keep_unknown_chunks
so we don't see unnecessary warnings about the exIf chunks we use

Change-Id: Iac02591be8a239b6077fa05826fdd8e76bcc2236
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158174
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-19 16:19:24 +02:00
Noel Grandin
d8b7558d8a SAL_WARN->SAL_INFO in XMLShapeImportHelper::CreateGroupChildContext
Change-Id: Ia4bdbfdf6d85999e4cf8fa78131aec2dc776f41a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158175
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-19 16:03:34 +02:00
Stephan Bergmann
8c230395bc Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: basctl
Change-Id: I771d90376e3497cd28abeda2c8c794c049a80d84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158143
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 15:29:04 +02:00
Stephan Bergmann
9d850743c2 Link Library_localedata_en against sal
<https://ci.libreoffice.org/job/lo_daily_tb_win_arm64/1037/> recently started to
fail with

> localedata_en_AU.o : error LNK2001: unresolved external symbol __imp_rtl_uString_release
> C:\cygwin\home\tdf\jenkins\dly\b_master\instdir\program\localedata_en.dll : fatal error LNK1120: 1 unresolved externals
> touch: failed to get attributes of 'C:/cygwin/home/tdf/jenkins/dly/b_master/instdir/program/localedata_en.dll': No such file or directory
> make[1]: *** [C:/cygwin/home/tdf/jenkins/dly/s_master/i18npool/Library_localedata_en.mk:10: C:/cygwin/home/tdf/jenkins/dly/b_master/instdir/program/localedata_en.dll] Error 96

Change-Id: I62f2580dfbd91c2c74873c70ce2781bd49ed28b0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158173
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 15:27:07 +02:00
Noel Grandin
f5c4635c8b tdf#155410 small optimisation
Change-Id: I736b5959d52c57ee5e05e349d0c421896229e554
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158172
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-19 15:20:57 +02:00
Stephan Bergmann
625705f10e Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: basic
Change-Id: Ic82e02ff43db09174a74f4e584e2ce50e8983556
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158145
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 15:17:53 +02:00
Stephan Bergmann
15b86648f0 Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: cppuhelper
Change-Id: I4c221461c60c5e96b738bb902253984a9b0b312b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158170
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 14:41:21 +02:00
Stephan Bergmann
4f66ce572b Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: connectivity
Change-Id: I8220cf4e83a59aa55394d01f29a6af108dcc0619
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158149
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 14:25:14 +02:00
Willian Pessoa
fec4d0fb99 tdf#147021 Use std::size() in editeng
Change-Id: Id6496b34a3601fb021af2894fbf7f876b444145f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157895
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-10-19 14:18:59 +02:00
Balazs Varga
87e1a77a9a tdf#156336 - sc ods: fix can't remove Calc comment metadata
Remove Calc comment metadata (author, date) during ods export
if the Remove personal information option is enable.

Change-Id: I814aabb734cff4160dccf1913a33aa270c2edbf6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158116
Tested-by: Jenkins
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
2023-10-19 14:16:09 +02:00
Balazs Varga
9f9e195dba tdf#157484 UI: Add UI controls for personal information to be kept
or removed upon save.

With the new options button we can keep the security infos upon save
such as (even if we set the remove personal infos):

- RedLine Info
- Document User Info
- Author and date of notes
- Document version infos

Also on the infobar, if we have a warning, clicking on the infobar button
the security option dialog will open where we can set/modify these options.

follow-up of: 1f440348eb
(tdf#157482 UI: Turn Security Warnings popup windows into infobars)

Change-Id: I8d5d944d76dbdd31653401246113de097ca6d57b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158112
Tested-by: Jenkins
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
2023-10-19 14:15:52 +02:00
Stephan Bergmann
27aea4de84 Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: chart2
Change-Id: Ifcb57548a594cbbaf70df8d9da17cf94a96667db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158146
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 14:05:52 +02:00
Xisco Fauli
fee44aa4d5 sc: return earlier if there is no pActiveViewSh
See https://gerrit.libreoffice.org/c/core/+/158123

Change-Id: Id9a27ca657377ba0a81009cdd2d27ce6aa4e2aa0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158140
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-10-19 14:01:24 +02:00
Stephan Bergmann
826d673ac8 Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: configmgr
Change-Id: Id95245a309b3baa80d7cca63d980aa0657fb9eb2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158148
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 13:54:29 +02:00
Stephan Bergmann
f680e7998c Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: basegfx
Change-Id: If228639806c49d77d1c1a36a8d536992e1402896
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158144
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 13:37:47 +02:00
Stephan Bergmann
7cd27b4461 Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: comphelper
Change-Id: I2a422f921739adf81131082d57ab7601dfb46d8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158147
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 13:22:15 +02:00
khushishikhu
baf677e2f1 tdf#42982: Improve UNO API error reporting
Change-Id: I16bd4bb935d02ff03422cb48d21a63e3d994d0b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157993
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2023-10-19 13:13:38 +02:00
Stephan Bergmann
c12df614ad Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: avmedia
Change-Id: Ib56a05e171f485ad01cb54ed87e01c3536ea733d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158142
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 13:07:58 +02:00
Stephan Bergmann
ce35697469 Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: UnoControls
Change-Id: Ib8b380be99ae23f314f226be6c81bc62a08c13b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158141
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 13:00:38 +02:00
Mike Kaganski
2969136100 Use std::span instead of sentinel elements
Change-Id: Idcde4728f4db5b878c126c29c1953dff7c47f05a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158139
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-10-19 12:31:16 +02:00
Michael Weghorn
2bf88c172c tdf#157696 wina11y: Switch from custom to IA2 text attributes
So far, reporting text attributes on the a11y layer on
Windows did not follow any standard/specification, but
LibreOffice's custom attribute values were mostly reported
as is (i.e. using the LibreOffice-internal attribute names
and values), and assistive tooling had to interpret those in order
to support reporting them to the user in a useful way.

For example, NVDA has custom code in the LibreOffice-specific
app module to do so. [1]

Stop using our custom attributes and switch to the
use of attributes according to the IAccessible2 text
attributes specification [2] instead, which is the applicable
specification for `IAccessibleText::get_attributes` that
is implemented here.

This implies that by reporting more IAccessible2 text attributes,
those should "automatically" work if assistive tooling handles
those, as is e.g. the case for NVDA and the the "invalid:spelling;"
attribute for spelling errors, for which bridging to IA2 has
been iplemented in

    Change-Id I54e5bcbb4bef4c73068243f91a3ee69c10326460
    tdf#157696 a11y: Report spelling error via IA2 "invalid:spelling" attr

(See also the other tdf#135922 commits preparing for this
change.)

A change in NVDA is still needed in addition to switch from only
handling the custom values for LO to use the existing code
path for handling IA2 text attrs instead.
Pending pull request that implents this: [3]

[1] 9878248c21/source/appModules/soffice.py (L35-L137)
[2] https://wiki.linuxfoundation.org/accessibility/iaccessible2/textattributes
[3] https://github.com/nvaccess/nvda/pull/15649

Change-Id: I11492bb5d09d64fd153db1b73d97a331a98ee535
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158090
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-10-19 10:11:23 +02:00
Stephan Bergmann
d1d5900ca4 Use OUString instead of OUStringLiteral
Change-Id: I0d49fa6c70c41b39b85f860ad648889be3613295
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158136
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 10:00:20 +02:00
Stephan Bergmann
6359969e23 Presumed loplugin:cppunitassertequals
Change-Id: I8acd32ff2cf3bd1b72136fd40e93ce047909f677
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158138
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 09:33:37 +02:00
Stephan Bergmann
7a349aa4f3 Suppress some upcoming loplugin:ostr OUStringLiteral -> OUString rewrites
...which would not work, as calling constexpr SbxVariable::MakeHashCode on those
vars would no longer be constant expressions

Change-Id: Ib848a6405dc270a1a5b9a92084fa2d063ea37892
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158134
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 09:09:33 +02:00
Noel Grandin
358b480be5 use more SdrObjList::begin/end in various
Change-Id: If054626a10d3cbd3b168dd4e66ec7f08344d2c2d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158131
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-19 09:06:06 +02:00
Noel Grandin
b1311dff66 use more SdrObjList::begin/end in sc
Change-Id: I6b8614e4e8917f71308cda4caaeb714ae18885f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158130
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-19 09:05:56 +02:00
Stephan Bergmann
37298c29e7 Use std::u16string_view instead of OUStringLiteral
Change-Id: I0a0a7badb25eea99632f734aa52231a9f3df67e0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158137
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-19 08:47:14 +02:00
Miklos Vajna
322044e128 uitest oneprocess mode: explicitly avoid this in the remaining tests
These 11 suites depended on the UITest default to not use oneprocess
mode. Explicitly avoid that mode in these suites, because they currently
fail that way. This allows changing the default in the future, so new
suites automatically benefit from the oneprocess mode (it runs faster,
somewhat similar to cppunit).

Change-Id: I8c493ca63310815c1364bb6182c3285a9c7fbd63
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158128
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2023-10-19 08:21:51 +02:00
Noel Grandin
f3e010829a use more SdrObjList::begin/end in sd
Change-Id: If39b6c561525bbf66d34edfbff0f1a3ef4531f85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158129
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-19 08:09:38 +02:00
Julien Nabet
1c15934170 Related tdf#144256: remove m_pSharedConnectionManager
to only use "m_xSharedConnectionManager".
For this, it required some refactoring but except the removing, logic hasn't been changed.

Change-Id: Iccfe5c45381f31019a0751a61cea6661c88188f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158107
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-10-19 07:45:34 +02:00
Aml-Hassan-Abd-El-hamid
e0fd924cb3 tdf#143148 Use pragma once instead of include guards
Change-Id: I6f6f69cc97fada3ca3bbdead24c10f9099ff28b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158068
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-10-19 06:39:35 +02:00
Pranam Lashkari
b83f069101 LOK: send state of protected cells
Change-Id: I432a3af50b6089faa80a28804d95d816af6cd278
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154936
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
(cherry picked from commit 5f13751cefd725cb2a38e66c9484046e6141c6c2)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158150
Tested-by: Jenkins
2023-10-18 23:57:18 +02:00
Caolán McNamara
e7e5b43c49 crashreporting: svx::SentenceEditWindow_Impl::CreateSpellPortions()
cui/source/dialogs/SpellDialog.cxx:2005
aRet[ aRet.size() - 1 ].sText += aLeftOverText;

presumably aRet is empty() here

a) don't bother appending if aLeftOverText is empty()
b) don't crah if aRet is empty() and aLeftOverText is not

Change-Id: Ie9a9585f572d8afb17183b479fb6f2cce5952aa7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158124
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-18 22:02:37 +02:00
Andrea Gelmini
fdad35d096 Fix typo
Change-Id: Ie54bc5f012d2de46363da9d19278736a732a1a25
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158125
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-10-18 21:11:17 +02:00
Michael Stahl
adef72f841 sw: fix stack overflow on kde45196-1.html
Previously, the shell cursor was put onto a SwGrfNode in the top left
corner, which is invalid, but didn't crash immediately.

With commit b20ca8d951 the cursor is
instead put onto the first SwTextNode in the body, which happens to be
in a table, and the entire table is hidden; this causes an infinite
recursion in SwCursorShell::UpdateCursorPos() because
GetModelPositionForViewPoint() no longer moves it to SwGrfNode.

So try to move the cursor out of a hidden node, which requires an
additional change in SwCursor::IsSelOvr() to allow moving from a node
without a frame to another node without a frame.

Change-Id: Ia33c7b558755f7e8b65ea3ff2c46aea20be577dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158119
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-10-18 20:18:03 +02:00
Xisco Fauli
51678d9cf5 fix crash in ScInputHandler::ImplCreateEditEngine()
See https://crashreport.libreoffice.org/stats/crash_details/1b2c45b0-6053-4628-94cc-f639899ceb39

Regression from 5484657d2b
"tdf#156209 Font size increases when copying from cell in edit mode"

Change-Id: I84cac26087b0c8908c22bbb45056e309cd66a016
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158123
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-18 20:08:47 +02:00
Noel Grandin
6dc53be7d2 use more SdrObjList::begin/end in sw
Change-Id: If882c1c7863618a313b2e06abacdbfa756dfff3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158114
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-18 20:08:31 +02:00
Noel Grandin
baa67b2d70 use more SdrObjList::begin/end in svx
Change-Id: I362a2e12492391338b63708e4b329fc77ac363c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158113
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-18 20:08:21 +02:00
Stephan Bergmann
ca58f64919 Extend /clr /std:c++20 char8_t workaround to old versions of VS 2022
On IRC, pppregin now reported that she ran into the issue addressed by
3c6de7e20e "Fix build against VS 2022 17.7.5" when
using (a presumably old version of) VS 2022.  And
<https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B#Internal_version_numbering>
suggests that older versions of VS 2022 used _MSV_VER values 1930...1936, so
cover those too here.

Change-Id: Ifee80114c5cd39aeabc31907adafb03eb2f388e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158122
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-18 19:33:52 +02:00
Stephan Bergmann
f8ad36a2ec loplugin:stringstatic
Change-Id: I008c48a315841a2fb642410f210d770bd14bfef5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158121
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-18 18:56:16 +02:00
Noel Grandin
c546b33dde cool#6893 cache the EditEngine for rendering
to avoid re-allocating one constantly

Change-Id: I7d6c97a7f68126979bd8a5c12cfd6e680a789d3b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157906
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-18 18:52:08 +02:00
Stephan Bergmann
871c37f782 loplugin:indentation
Change-Id: If81844107209c3fb04d39c9f2b826b623068fc30
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158120
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-18 18:34:01 +02:00
Hossein
e94cbd7dbf Remove obsolete comments in basctl
First comment was last updated with USHORT -> sal_uInt16 in
a2242be9c3 but with the newer commit
68ec95b3f8 there is no remaining sal_uInt16
left, and thus the comment is no longer relevant.

Second comment was added in 1fac87f847,
but with changes in 444c242c51 it is no
longer relevant.

Third comment was also last updated with USHORT -> sal_uInt16 in
a2242be9c3 but with the newer commit
444c242c51 it is no longer relevant.

Change-Id: I9ed383f15a5b403740c0b8bcdd153d04bb1a2b0c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158111
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2023-10-18 17:41:52 +02:00
Laurent Balland
9a0018a356 Replace $baz by %foo for sanity checks
Tools for sanity-checks like
https://docs.weblate.org/en/latest/user/checks.html#percent-placeholders
looks for percent instead of dollar
Try to align with %1 as suggested by Chistian Lohmaier

Change-Id: I97d353f452316b939f2eaf7d30e68b9aab9f83e5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147493
Tested-by: Jenkins
Reviewed-by: Laurent Balland <laurent.balland@mailo.fr>
2023-10-18 17:03:07 +02:00