Commit Graph

483285 Commits

Author SHA1 Message Date
8ca611b212 tdf#143148 Use pragma once instead of include guards
Change-Id: I5a88b699425a37b914a71400e918965a9f6116eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146730
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-02-13 11:26:27 +00:00
a047583f76 sc: avoid divide by zero in ScEEImport::GraphicSize
See https://crashreport.libreoffice.org/stats/signature/ScEEImport::GraphicSize(short,long,ScEEParseEntry%20*)

Change-Id: Ia5acccb1118aff2486d23eabd536053e67f346ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146746
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-02-13 11:05:43 +00:00
821f4d6f09 fix openssl build on aarch64 - _umul128 is not available on non x64
adding upstream patch that uses __umulh as a fallback

Change-Id: Ib95de30d3f7208c38421df0c63eb1ceafccd9354
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146839
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2023-02-13 11:05:18 +00:00
ac746702df Update git submodules
* Update helpcontent2 from branch 'master'
  to a295ef1fa2462d9a828341e7b947eae05ba14154
  - tdf#153417 Edit module options  Help page
    
    Change-Id: Iadc6b9b9be76d0f4c57336e43872d4ab3aa3f7f6
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/146823
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-02-13 09:58:56 +00:00
e411eeffad Update git submodules
* Update helpcontent2 from branch 'master'
  to 5b8658e58d02f8f3ec6a613f7c4edd32ca2e5d76
  - FormatPercent New Basic function / VBA
    
    Change-Id: I0ad4022394632f0d49417bb56ecda641af3b0b42
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/146519
    Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2023-02-13 09:57:34 +00:00
4f6d506e79 tdf#143148 Use pragma once instead of include guard in sw
Change-Id: I9b4d2ccb608ceaafb3ee71a34831ce9cb69db6f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146729
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-02-13 09:25:42 +00:00
69b9f50ee8 tdf#152722 tdf#153023 Add UITest
Test increment decimal places and negative in red for NatNum12 number
format
Test disable thousand separator and enable leading zeroes

Change-Id: Iff16be62cc7c52af91e04ed018f8cacc40e35568
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146550
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-02-13 09:20:59 +00:00
297c71c82b Mention that Emscripten 3.1.30 is known to work for COWASM
Change-Id: Id01004121a306dea953b908c32acc7f2c0e6841c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146857
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2023-02-13 09:05:21 +00:00
4277e37e65 Don't overload the word 'module' unnecessarily
Change-Id: I10fb7d16192ddfb0802c976419c00302d4688c4e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146856
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2023-02-13 08:59:40 +00:00
24f0e121b0 writerfilter: prefix members of DomainMapper, GraphicZOrderHelper, ...
... RTFSprms_compare and TagLogger

See tdf#94879 for motivation.

Change-Id: I94c432a3aa592f2deb32175938e19047cc65fa44
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146852
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2023-02-13 08:20:15 +00:00
ce3d8f7e08 Fix typo, improve code readability, fix comment
Change-Id: I7221222e8c84ee40e4edaec5325565dae4193aff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145825
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2023-02-13 07:58:38 +00:00
74501c5da1 tdf#143148 Use pragma once in vcl
Change-Id: Ib27eb3612f6c072d5c1b7a3588c9524920f86e6f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146831
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-02-13 07:40:04 +00:00
429cf15472 Update git submodules
* Update dictionaries from branch 'master'
  to bcf7f049315dee2001cc2f7c7eabfbcb0b8ef21a
  - Add .gitreview used by git-review tool
    
    Change-Id: I9b4415acbf0ec6de90280a259a1af7e33529f2c4
    Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/138340
    Tested-by: Michael Weghorn <m.weghorn@posteo.de>
    Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-02-13 07:08:50 +00:00
9fa9a510f9 Use startsWithIgnoreAsciiCase with last argument to simplify
Change-Id: Ifa1261ed76ec078a60fcdbd4ce806abe23e4c056
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146850
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-02-13 06:51:34 +00:00
30a215f3ce These const_casts are unneeded
Change-Id: I4b1d81665f9bfeb040530bac6bafa3ee2c85782f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146849
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-02-13 05:26:23 +00:00
14a36ad495 Update git submodules
* Update helpcontent2 from branch 'master'
  to 12f4174031afc80e9d6ac387336e0185646f6977
  - tdf#152605 update UI label changes
    
      - also adding missing control "Caption Order" in Autocaption
    
    Change-Id: I79f3a3416a465693be7bee98d6bdfa0a82f828da
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/146806
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-02-13 01:23:44 +00:00
12896c9ed6 tdf#153571: properly unquote (URL-decode) vnd.sun.star.expand payload
Similar to what is done in bootstrap_expandUri, expandUnoRcUrl,
UrlReference::expand, JavaLoader.expand_url, and is documented
in XVndSunStarExpandUrl interface.

Change-Id: I65349b52734f212e6a04e615d39fa2563f62d472
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146840
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-02-12 23:55:08 +00:00
1af3cb6cf2 .gitignore: /.vscode*
Some VS Code extensions create directories with this prefix.

Change-Id: Ie4a96a276970327d8da39bffd51eaf137e4163bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146728
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-02-12 21:37:18 +00:00
2dded7d07a Resolves: tdf#153566 set darkmode menubar background color
because we use it for custom menu titles backgrounds

Change-Id: I1ae679bc032d29c4901befc2f1b0cbb53d0a5d1e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146842
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-02-12 21:31:35 +00:00
7e1a4a518e Fix typos
Change-Id: I7c755b2099c3607fece3442269ff3a806b196f1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146836
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-02-12 21:27:13 +00:00
4cea7d8f56 Fix typo
Change-Id: I8ab5346e38b6eac508018aced86339d6342224a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146832
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-02-12 19:44:37 +00:00
60d7056184 Fix typo
Change-Id: Ia21de983bd4295f399e9753c29bc2a3cace2f250
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146835
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-02-12 19:36:03 +00:00
f1fddf8223 Fix typo
Change-Id: I28253e80065c690dca45658111a2cd54857b186a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146833
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-02-12 19:33:49 +00:00
393b55e442 Fix typo
Change-Id: I51b5c88e1d82c596b926e7074ee3a7e1395a21a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146834
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-02-12 19:32:15 +00:00
33ec31c240 Avoid LOKClipboard harder on iOS
Change-Id: I2710a7537594c486878a68c630f762a24ac81c49
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133017
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146739
(cherry picked from commit 069aae6be68d67b45222740de01467d11f15adfb)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146800
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2023-02-12 18:35:44 +00:00
43de98fb59 MCGR: Add/Provide GradientSteps to FillGradientAttribute
MCGR stands for MultiColorGRadient. This change allows/
prepares adding multiple color steps to gradient rendering.

This is preparation work to allow rendering MCGRs in the
future. All places are adapted in a way that currently
no change of behaviour will happen. It will be the base
to get MCGR rendering/decompose for Primitives and our
internal/existing gradients working.

Change-Id: I28bbd7d10b8670042343ada2a66b5909d3d31bbd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146748
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2023-02-12 10:54:06 +00:00
496b1b3179 tdf#152605 "heading level"->"outline level" and other tip corrections
Change-Id: I3751b8586ffe47233f3cd27602bcb5cad4d9ecb5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146797
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-02-12 02:40:14 +00:00
6f15382790 tdf#152605 change "heading level" to "outline level" in UI
This patch addresses extended tips in the UI that refer to a heading
    or chapter level, with the aim to remove this kind of terminology.
    In many cases, tooltips are added, and extended tips are corrected.
    Also, add "Outline" in front of "level" in the UI for Caption
    Options and AutoCaption.

Change-Id: Idcf16892599913af31372b89d180251c86945d21
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146622
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-02-11 23:31:44 +00:00
d8b72d2d84 sw wrtsh1: cleanup unused pointer
Having a separate pCurRule was made useless by
commit 3234a9deaa8db760bbd7dbb6414aa3e8f9993c34
Author: Vladimir Glazounov <vg@openoffice.org>
Date:   Mon Feb 21 15:07:41 2005 +0000

    INTEGRATION: CWS swqcore05 (1.40.82); FILE MERGED

Change-Id: I5fe0c7b09245acd9376d46b448708f29594a7266
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146824
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2023-02-11 23:24:21 +00:00
3c988ef450 Update liborcus to 0.18.1
Change-Id: I0439640789e59e4dd6e92d7f2975538de2f42f53
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146826
Tested-by: Jenkins
Reviewed-by: Kohei Yoshida <kohei@libreoffice.org>
2023-02-11 23:04:29 +00:00
a0165bb790 lo-pack-sources: Add support for pbzip2.
Use pbzip for compression if possible. Otherwise fallback to bzip2.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Change-Id: I9091c5dfe25ee00854b6938464af23b56cdcb31c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146814
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2023-02-11 22:45:27 +00:00
cb9883b1e9 lo-pack-sources: Use threaded compression for xz.
The xz utility can compress in parallel by using more CPU cores. The
more CPUs are available the quicker it gets.
The option -T0 automatically detects the number of available CPUs and
uses all of them.
Additional benefit is that xz starting with v5.4 can decompress the
archive using multiple CPUs as well.

The parallel compression works by splitting the input in multiple blocks
of equal size which are compressed in parallel. Since the state is not
preserved / reuse across blocks, the compression gets a little worse:

	-6 	255M (current default)
	-T0	261M
	-eT0	259M
	-7T0	251M
	-7eT0	249M

-7 uses larger blocks and dictionary which requires more memory on the
compressing and decompressing side vs the current default -6.
The -e option spends some extra cycles and improves the compression a
bit.

Use parallel compression and spend some extra cycles.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Change-Id: Ib69c4bc1996ddd52153b8ac27b653c21e3998a68
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146793
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2023-02-11 22:45:18 +00:00
30f49b56ba lo-pack-sources: Split archiver invocation away from tar.
Instead of passing --bzip2 or --xz invoke the compression program via a
pipe. This make the replacement of compressor as well its options
easier.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Change-Id: Ib69c4bc1996ddd52153b8ac27b653c21e3998a67
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146105
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2023-02-11 22:45:10 +00:00
bbdbe8ea2e tdf#142018 Properly create Pen width if style is COSMETIC
Change-Id: I6453058c4af352a3b0e14cbccbc1a67c73cd1426
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146551
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2023-02-11 21:24:18 +00:00
c96e1ec618 tdf#45705 Make SID_ZOOM_IN and SID_ZOOM_OUT smoother in Impress
As reported in the bug ticket, the commands SID_ZOOM_IN and SID_ZOOM_OUT are not smooth and increase/decrease zoom at too big steps.

This patch uses basegfx::zoomtools to zoom in and out, making it smoother.

Change-Id: I801fa6123bf0696046e5d45c7a6b309e7cc3312e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146825
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2023-02-11 21:07:31 +00:00
382892341a tdf#147892 DOCX: fix corrupt export at para marker revision history
OOXML export of tracked deletion of tracked paragraph insertion
resulted invalid document.xml, because change tracking history of
paragraph markers isn't supported by OOXML. Export the tracked deletion
of the last run of paragraphs without history (tracked insertion).
This way w:p/w:pPr/w:rPr contains only w:del or w:ins, not both of them
(with broken tag order).

Note: it's possible to optimize the fix to keep the change
tracking history of the characters of the last run of the paragraph,
except the paragraph marker.

Regression from commit eeee19b3fcf8b0374c361c7f6c285fd5c89b5a2f
"tdf#142387 DOCX track changes: export w:del in w:ins".

Minimal unit test document was created by Miklós Vajna.

Change-Id: I425f4d63c8c6ac29ccd807c1574748c7b9b39e80
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146782
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2023-02-11 21:06:21 +00:00
1f1a1f3786 Update git submodules
* Update helpcontent2 from branch 'master'
  to 7266a58cba3c89fdf9cd7100c00ef360e8d45e08
  - tdf#153122: Add missing controls to Caption and Caption Options help
    
      swriter/01/04060000.xhp
        + add Numbering Separator control and description
        * move position of "Caption" to correspond to order in dialog
        * refactor <h1>,<h2>,<h3>,<relatedtopics>
    
       swriter/01/04060100.xhp
        + add Caption section title
        + add Caption Ordering control and description
        * refactor <h1>,<h2>,<h3>,<relatedtopics>
    
    Change-Id: I0d97dfcc0ca9083e5eec20f679d5634764764872
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/146208
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2023-02-11 17:53:38 +00:00
a942e6e5ec assert commit looking for example document to test theory.
related tdf#125038 FORMTEXT/REF:fix spurious text outside IF field
speculated that this should always return false,
since the IF statement is not processed at all.
However, there are no documents that match this condition in the
existing unit tests, so a wider net is needed.

Change-Id: I8a5a0fd077cc141abc5438cacd0de77fcfe7c476
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145931
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2023-02-11 16:08:35 +00:00
f7afed99a8 sw: rename getFieldmarkFor() to getInnerFieldmarkFor()
The same change was made for getBookmarkFor()
in https://gerrit.libreoffice.org/c/core/+/145412

Because otherwise it's quite confusing
that we have a For() and an At()
which could only be differentiated by a code read.

Also improve getInnerFieldmarkFor() a tiny bit,
so we process the first hit only once.

Suggested at
<https://gerrit.libreoffice.org/c/core/+/145348/1#message-286262286f234823b390e8f962e3ba11f5fa71b2>.

Change-Id: I47e815eea0b8ac0df4957ac0d224acb6c5975b8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145486
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2023-02-11 12:10:55 +00:00
c217359b7b set the image in the .ui instead of the .cxx
Change-Id: Id6c30fa9cad6bbfbfb4e5c1363f637868884b345
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146792
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-02-11 07:44:36 +00:00
83eceff8e5 Related: tdf#153229 use 'System' instead of 'Automatic'
in the macOS desktop settings "Automatic" is used
to indicate that the theme changes automatically from
light to dark over time, "System" does seem a little
less ambigious as to its meaning here.

Change-Id: I38f6007cca1e8942d77066db200208ca463368d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146743
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-02-11 07:44:21 +00:00
d6b590feda ofz: Use-of-uninitialized-value
Change-Id: I033fab3ea016d3b57891a35602920b7de811ccb4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146784
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-02-11 00:10:51 +00:00
9788a565b3 tdf#153205 related: Improve selection mode control icon update
This patch makes the status bar selection mode control icon change to
adding selection when the mouse is used to select text while the ctrl
key is pressed and the mouse is moving, which is the behaviour when
the mouse is not moving and selection begins. It also makes the icon
show the correct mode when doing DnD.

Change-Id: I9aeb47301ab3c8b9be2159186bcc8c8ede7bf3de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146726
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2023-02-10 21:28:01 +00:00
44801e26e0 qt6 configure: Search for Qt 6 moc in more locations
This e.g. makes this find the correct moc on Arch Linux,
where the Qt 6 moc is provided under `/usr/lib/qt6/moc`
by package `qt6-base`.

Change-Id: Iefca23e6391a952eb79108260ae1417fc75ad0ef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146781
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-02-10 21:17:38 +00:00
9fbcf60c51 qt6 configure: Add moc version check
This way, it is determined at configure time
if the moc meant to be used for Qt 6 is actually a Qt 5
one, as happened e.g. on Arch Linux without
upcoming Change-Id Iefca23e6391a952eb79108260ae1417fc75ad0ef
("qt6 configure: Search for Qt 6 moc in more locations").

Fail at configure rather than build time in such cases.

Change-Id: I2ada2045f41f08bf339920d043226f9b36c335b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146780
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-02-10 21:16:34 +00:00
d367cefb02 tdf#139934: sc_subsequent_filters_test: Add unittest
Change-Id: Ib1540bb7058606c7629ce0459fd18bd463e99998
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146786
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-02-10 19:50:43 +00:00
88cee07ee0 Resolves: tdf#153497 update automatic icon-theme name on dark mode change
Change-Id: I6b41d04ad902d5b123a110b52426ea2c2de79e4c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146774
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-02-10 19:37:08 +00:00
e43062523b operator [] out of range assert
presumably since:

commit 0e45f8318ee73361fecb049b33b0662fabe295d3
Date:   Sat Nov 5 15:59:27 2022 +0100

    -Werror,-Wdeprecated-declarations (sprintf, macOS 13 SDK): hwpfilter

Change-Id: I1e93526d46d1357a8f11f7ff7ed4c3f2274b9c7a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146783
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-02-10 18:21:26 +00:00
5bc7cb77df tdf#153205 related: Fix selection problems caused by cursor shell
push pop during insert state update

This patch renames the SelectHiddenRange function to IsInHiddenRange
and modifies it to take a bool argument that when true selects the
hidden range if the current cursor position is in a hidden range.
When the argument is false, the hidden range is not selected if the
current cursor position is in a hidden range. This makes using cursor
push pop unnecessary when all that is wanted to know is if the
current cursor position is in a hidden range.

Change-Id: I622dfaf8e73c5b432bb74a48d36433ff755542b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146725
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2023-02-10 17:07:50 +00:00
208a4ecafa tdf#153510: STYLE: try harder to detect when there's nothing to do
1. Find the real style names early, to avoid re-triggering style
application when STYLE arguments use wrong case;
2. Also check a (rare) case when both immediate and delayed styles
are the same as currently applied.

Change-Id: Id8ab2e321ede6d0f8f05ac5d1e63ade0212e5865
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146775
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-02-10 16:33:20 +00:00