Commit graph

468322 commits

Author SHA1 Message Date
Caolán McNamara
53daeb9a7b Resolves: tdf#145297 assert on Docking3DEffects launch
(git show -w is your friend on commits like this)

Change-Id: Ie3a11986f98d196b6134fdc69e76a627e87d137b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124161
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-25 22:04:17 +02:00
Xisco Fauli
03f4bd06bd tdf#138531: sw: Add UItest
Change-Id: I953948a5d10e8fbb6610ea0bf49ae7e8308e83eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124157
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-10-25 21:03:54 +02:00
Caolán McNamara
79d27b6d6e bsd (as used by macOS) ar does not support '@' option
so gb_LinkTarget__command_staticlink should use the same workaround
for that as gb_LinkTarget__command_dynamiclink does

Change-Id: Ied9d8a3b99f09d6ea1b705e0c1ce3ef3b2d14190
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124156
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-25 20:13:32 +02:00
Caolán McNamara
3e9da1e271 ofz#40305 Divide-by-zero
Change-Id: Ib865d880d51d5beef1f235e4a8d5d0c17adf8499
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124153
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-25 20:13:00 +02:00
Luboš Luňák
4bb6533d39 use pull model also for LOK text selection
Make LOK_CALLBACK_TEXT_SELECTION, LOK_CALLBACK_TEXT_SELECTION_START,
LOK_CALLBACK_TEXT_SELECTION_END and LOK_CALLBACK_TEXT_VIEW_SELECTION
also use pull model, i.e. LO core will only set a flag and when
CallbackFlushHandler needs the actual data it'll use getLOKPayload().
This again avoids a large number of messages passed to
CallbackFlushHandler only for them to be sooner or later discarded.

Change-Id: Ia7528039be996a6e9e8491b4eba3f4133582fa56
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124146
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-10-25 19:30:34 +02:00
Olivier Hallot
9e3ec1b500 Update git submodules
* Update helpcontent2 from branch 'master'
  to 56638af603a79cd9330752fab99a7769ace9ffaa
  - tdf#140779, tdf#140780 filter params for CSV, lotus...
    
    Change-Id: Ie439889bd8dc4bd630187e253d3689c8e644b2a7
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/123901
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-25 19:18:10 +02:00
Eike Rathke
97e63ff537 Fix toolbar button's currency list's number format for default locale
Always resulted in the currency's LCID being omitted in the number
format for the default locale, which doesn't immediately harm but
loses the context (what currency a $ sign is actually), and also
lead to the "real" default currency format never matching the one
being generated for the list so no entry was selected if that
format was applied.

Change-Id: I7963e4d3701092d6e227705fc0e8282448f075b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124152
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2021-10-25 18:15:40 +02:00
Xisco Fauli
02bd6074b0 uitest: execute setActiveFrame in load_file first
In 4839b7ca3b
< Fix UITests that use File Open dialog to load documents >
the order of execution of load_file method was changed,
making the code after the yield keyword to be executed
after the test code is run, which is not what the original code did.
We need to execute that code before running the test code,
specially setActiveFrame

Change-Id: I4ba436cbdf4fe2261589527f8d38a916d47b94aa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124154
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-10-25 17:54:39 +02:00
Luboš Luňák
5dc3bc1e95 replace friend access with functions
Change-Id: I11cb916285c72f7cd85ea5d5c943f23d0a4f6bc9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124148
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-10-25 16:55:02 +02:00
Stephan Bergmann
ece8937267 loplugin:indentation (macOS)
Change-Id: I7a180a79dff11816e1504bdd1803102325aa365d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124149
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-10-25 15:58:24 +02:00
Eike Rathke
9c364847d6 Restore behaviour SvNumberFormatterServiceObj keep LANGUAGE_SYSTEM unresolved
Semantics were temporarily changed with

    commit bba6a4ed92
    CommitDate: Mon Oct 25 11:18:31 2021 +0200

        Get rid of fuzziness in MsLangId::Conversion::convertIsoNamesToLanguage()

Change-Id: I8bbf77998bea81c5691ba518c7ae25093b0df421
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124141
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2021-10-25 14:46:35 +02:00
Christian Lohmaier
21bbccee8b Update git submodules
* Update translations from branch 'master'
  to 41974fc7ebdc4d8d6d8d017a6e68753fd5a049e3
  - update translations for master
    
    and force-fix errors using pocheck
    
    Change-Id: Ic6888555f22c4e961c0734fa685969b43f89c02e
2021-10-25 14:11:29 +02:00
Szymon Kłos
97b15bcc2d tdf#145312 xmlsecurity: prevent from crash when cannot receive pdfium annotation
Change-Id: I6adc2cb0a07eb08a50c610958983493f4f8031ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124021
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2021-10-25 14:04:56 +02:00
Xisco Fauli
d267e5a0b1 uitest: fix indent
Change-Id: I7034ab2b7933f248a0d6929bd11497ff3098dd3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124138
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-10-25 13:22:29 +02:00
Andreas Heinisch
f9ce4b2d04 tdf#57308 - Basic IDE: Watching of a variable does not work
Watching a variable which returns a value from a function always shows
"out of scope" in the watch window of the Basic IDE. In order to resolve
this issue, the name of the variable being watched will be searched also
in the current method instance.

Change-Id: Id383e03925956056931d199fe86d1b352cf8e4eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124075
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2021-10-25 13:22:09 +02:00
Alain Romedenne
3d7fcf663c Update git submodules
* Update helpcontent2 from branch 'master'
  to cae1ccb6137d03cada0e187756e9197a897ba94b
  - tdf#131563 VBA color constants
    
    - VBA color constants addition
    - Aggregation of spreaded constant definitions in this page
    
    Change-Id: I5f4045256e5e03c6b11247c9bb0442e9e63d738d
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124013
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-25 13:11:12 +02:00
Eike Rathke
a6baab25b5 Introduce LanguageTag::convertToLanguageTypeWithFallback(Locale)
... with keeping LANGUAGE_SYSTEM not resolved or falling back.

Change-Id: I10211c2b2140a9822f1403dc00af3ee9ded08f69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124140
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2021-10-25 13:07:50 +02:00
Stephan Bergmann
98eb119fed Adapt to Clang 14 trunk diagnostic output change
<aee4925507>
"Recommit: Compress formatting of array type names (int [4] -> int[4])"

Change-Id: I911934a778fddde0d0022f2e2601d1f9c371fe69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124142
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-10-25 13:05:40 +02:00
Stephan Bergmann
eba4b90d2e Missing test dependency
> oox/qa/unit/drawingml.cxx:162:testPresetAdjustValue::TestBody
> equality assertion failed
> - Expected: 1
> - Actual  : 0

Change-Id: I3ff0707db485dce1e43c14b8d1a5828da8e14923
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124139
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-10-25 12:03:03 +02:00
Stephan Bergmann
6bc8a1ba51 Missing static
...from aa2064c5c5 "Improve
loplugin:stringliteralvar", similar to 8b32a3edad
"Fix stack-use-after-scope" (though this case doesn't appear to have caused any
actual issues).

(After manual inspection, there appear to be no further missing `static` at
least in aa2064c5c5 "Improve
loplugin:stringliteralvar".)

Change-Id: I2b3d0d8d2af1d65f0c5bef8a858107020a620974
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124137
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-10-25 11:32:02 +02:00
Hossein
68f3bf3946 Converting pointer to reference in svgwriter
Previously, pElementId (old name) was either nullptr or a pointer to
OUString created from sPlaceholderTag literal.  In the methods that
consumed it, it was checked for being nullptr. Now, this is checked
with if the aElementId (new name) is empty or not.
If the variable is an empty string, it implies that it should not
be used.

Change-Id: I560fd479f428341c834ee99b0f8a34e95862e3e0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123439
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-25 11:22:47 +02:00
Eike Rathke
bba6a4ed92 Get rid of fuzziness in MsLangId::Conversion::convertIsoNamesToLanguage()
With on-the-fly LanguageTag the fuzzy fallbacks for a few
languages aren't needed anymore. Proper fallbacks should be
obtained when needed, like when configuring default locales, or
configured values used after.

Change-Id: I8b85b8099e085508435036ac846db6c3e516dc23
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124127
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2021-10-25 11:18:31 +02:00
Bjoern Michaelsen
98247b039b tdf#138531: Also update DDE tables, not only fields
Change-Id: I0cbf8ce355b460b2f7ea73c8fae653641c980979
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124129
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2021-10-25 11:17:34 +02:00
Jean-Pierre Ledure
6a1feb2644 ScriptForge - (SF_Calc) new A1Style() method
Returns a range expressed in A1-style as defined by its coordinates
If only one pair of coordinates is given, the range will embrace only a single cell

Arguments:
   Row1 : the row number of the first coordinate
   Column1 : the column number of the first coordinates
   Row2 : optional, the row number of the second coordinate
   Column2 : optional, the column number of the second coordinates
   SheetName: Default = the current sheet. If present, the sheet must exist

Is complementary to the Offset() method to compute ranges easily

Available both from Basic and Python user scripts

Change-Id: Ib9323441bbd579beb867329c8b0930653462d00e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124093
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-10-25 11:06:54 +02:00
Tomoyuki Kubota
bbd21f4069 expanding macro SCSTR
Change-Id: If497954b4e70e0a4dbd7268a25727a2478b95184
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124018
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-25 11:02:55 +02:00
Stephan Bergmann
8b32a3edad Fix stack-use-after-scope
...during CppunitTest_svl_qa_cppunit, after
df42cb6552 "Optimize assignment from
OUStringLiteral to OUString",

> ==918==ERROR: AddressSanitizer: stack-use-after-scope on address 0x2b2e203b5900 at pc 0x2b2e1b9004f8 bp 0x7ffc06726270 sp 0x7ffc06726268
> READ of size 4 at 0x2b2e203b5900 thread T0
>     #0 0x2b2e1b9004f7 in void rtl::str::release<_rtl_uString>(_rtl_uString*) /sal/rtl/strtmpl.hxx:1064:9
>     #1 0x2b2e1b8d916c in rtl_uString_release /sal/rtl/ustring.cxx:1785:12
>     #2 0x2b2e36263ec5 in rtl::OUString::~OUString() /include/rtl/ustring.hxx:493:9
>     #3 0x2b2e3622c5ff in (anonymous namespace)::Test::testTdf103060() /svl/qa/unit/svl.cxx:553:1
[...]
>     [2304, 2320) 'EXPECTED_G3' (line 550) <== Memory access at offset 2304 is inside this variable

(<https://ci.libreoffice.org/job/lo_ubsan/2176/>).
(aa2064c5c5 "Improve loplugin:stringliteralvar"
had failed to introduce those OUStringLiteral variables as static.)

Change-Id: I59168979fcc4b055d17d1d4f315577eef1027505
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124134
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-10-25 10:38:59 +02:00
Luboš Luňák
95a9567051 show properly gcc version in configure output
$ gcc -dumpversion
7
$ gcc -dumpfullversion
7.5.0

Change-Id: If4f528b3ea732e405507d7563e743ba48e96f523
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124094
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-10-25 09:15:51 +02:00
Hossein
1fd620d06d Replacing std::unique_ptr<char[]>
* Replacing std::unique_ptr<char[]> with std::vector<char>
  * The data bytes are read into the vector internal storage
  * Modification of the internal storage of the vector using the
    pointer returned by data() is allowed by the standard
    C++ Standard, revision n4830, section 2.3.11.4 Data [vector.data]
     Returns: A pointer such that [data(), data() + size()) is a valid
       range. For a non-emptyvector, data() == addressof(front()).
     https://github.com/cplusplus/draft/blob/main/papers/n4835.pdf
  * It could be replaced with std::string when data is not modified
      Example: 6c13e5a92e
  * std::vector<char> is useful when working with C functions that
    get "char *" for writing data. In this case, std::string is not
    usable, because data() method for it returns "const char *".

Change-Id: Ife6013b16a1803c3ad7b0c64aa0cb4c8cf4373ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123764
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-25 09:08:37 +02:00
Hossein
4a8aed2940 Cleanup DocumentLoader C++ SDK example
* Remove unncessary C-style cast from DocumentLoader.cxx
* Remove trailing whitespaces from Makefile

Change-Id: I7cff589353d3e40301cf45ce0a76e0c75beddf13
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124115
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-25 09:05:23 +02:00
Jim Raykowski
39bffe9ba6 tdf#145132 SwNavigator: Add tracking option for all categories
and make the setting for each category persist

Change-Id: I3ca41cb860734d31fd93d0d30b37c0301bc2f7dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123960
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2021-10-25 06:05:21 +02:00
Eike Rathke
542a38de1a Return LANGUAGE_ENGLISH_US for AppleLanguageId::ENGLISH
Most likely was an oversight when using LANGUAGE_ENGLISH as other
LANGUAGE_FRENCH and LANGUAGE_GERMAN are locales already.

Change-Id: Ie16395340cef9939a5397e3d10d6df6b13ac8d99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124124
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2021-10-24 22:44:46 +02:00
Caolán McNamara
f2ed9655b9 cid#1493243 silence Copy-paste error
Change-Id: I6eeb4e2213aa5dcbae94ec7c3a14a18a986f9975
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124121
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-24 20:48:01 +02:00
Caolán McNamara
9efc7e6980 cid#1460971 Unchecked return value
Change-Id: Ic60242072a0ba7037cd8094ae98633b038c6f1eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124120
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-24 18:53:54 +02:00
Martin Srebotnjak
8dfa16a715 Update git submodules
* Update translations from branch 'master'
  to 26c743b6e210606f1d10d34439d2073ca2140ed6
  - Update Slovenian translation
    
    Change-Id: Ic92f48c0e8b021b0e7c1a8fb01b553bb739df2f0
2021-10-24 18:49:21 +02:00
Caolán McNamara
a7f6d0b699 cid#1493242 silence Copy-paste error
Change-Id: Id95cab7b70a9f97dadadb8d0cff64674ec3711b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124119
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-24 18:30:08 +02:00
Caolán McNamara
2f0e8176de cid#1493239 silence bogus Use after free
code was perturbed by

commit 5f9ffc31cd
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date:   Tue Oct 19 09:08:35 2021 +0200

    introduce SwNodeOffset strong typedef

so coverity has seen in afresh

Change-Id: I200f8f40e193f8725ccc1fa5fbb06e3d182bec67
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124118
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-24 18:23:59 +02:00
Caolán McNamara
b7c8e4f8ae cid#1493240 silence Unchecked return value
Change-Id: I3847647221cf365146c8a5f418e65e3e5798303c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124117
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-24 18:23:43 +02:00
Johnny_M
1b33c023f3 Update git submodules
* Update helpcontent2 from branch 'master'
  to 2592de88d4e0f7c15526f08c3abab1475d697f70
  - tdf#132643 Translate German section IDs
    
    Change-Id: Ib2c5e06d6f23c7897a69a0613035a593ee3701d5
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124112
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-24 17:28:28 +02:00
Johnny_M
56a6b8eca5 Update git submodules
* Update helpcontent2 from branch 'master'
  to e4fb1b1412a0f1cf7626feca09881f6f630f45d2
  - tdf#132643 Translate German section IDs
    
    Change-Id: I96c6d66f3d030e2881ddff0f0f35833f65b85cc4
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124111
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-24 17:27:54 +02:00
Johnny_M
f12ceb71f2 Update git submodules
* Update helpcontent2 from branch 'master'
  to 005ab5fa0c87135a3e5b8f7150c67d1c47ed490b
  - tdf#132643 Translate German section IDs
    
    Change-Id: I51c35619cc80d3c7e0dce3ea805e5afc486c8daf
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124110
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-24 17:25:19 +02:00
Johnny_M
b1fda2d047 Update git submodules
* Update helpcontent2 from branch 'master'
  to b425e5428d61fb534a6fc02e948f7b246aaaec8f
  - tdf#132643 Translate German section IDs
    
    Change-Id: Ib099bf8474d272cbf10fad79c80b5164b5d11717
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124109
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-24 17:24:42 +02:00
Johnny_M
756ea53c65 Update git submodules
* Update helpcontent2 from branch 'master'
  to 1d2f50f0de3075da42af1725f0061180c7ce89c0
  - tdf#132643 Translate German section IDs
    
    Change-Id: I3dc05a302194a7eff7e0776776c309afabbc731f
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124108
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-24 17:23:53 +02:00
Johnny_M
61ec73e55e Update git submodules
* Update helpcontent2 from branch 'master'
  to 21500a71de051f1a2046e97c7cbd1f344bb82431
  - tdf#132643 Translate German section IDs
    
    Change-Id: I59cec2f60abf1251edfc865932ace953008c57d4
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124107
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-24 17:22:30 +02:00
Johnny_M
9d8432452f Update git submodules
* Update helpcontent2 from branch 'master'
  to 6422afb3a6ac4ce1d5d0658f24f9cfd3d19e7d07
  - tdf#132643 Translate German section IDs
    
    Change-Id: I3bc212d560b2838daca117bf29d5bce0293ffcb5
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124106
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-24 17:21:54 +02:00
Johnny_M
da02e9bc02 Update git submodules
* Update helpcontent2 from branch 'master'
  to bee3e08d0957c12c92934fd46d3c1ae40f564911
  - tdf#132643 Translate German section IDs
    
    Remove unused.
    
    Change-Id: Ifddc735398087a7fbd39136a9bcbf5fda5c457f0
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124105
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-24 17:21:14 +02:00
Johnny_M
3d18f306e2 Update git submodules
* Update helpcontent2 from branch 'master'
  to 9ae706191bf26ed27da4fc8ddd9ceee8c49af848
  - tdf#132643 Translate German section IDs
    
    Change-Id: I9b32ddd9a754764d3798fadeb9c323dd1694aace
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124103
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-24 17:19:08 +02:00
Johnny_M
5efc12c7d1 Update git submodules
* Update helpcontent2 from branch 'master'
  to 49c732f50cc787aa1c713934a4002d5cc4186cb2
  - tdf#132643 Translate German section IDs
    
    Change-Id: Icc84282d95c3003577bec75d130099d027d2545b
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124104
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-24 17:16:42 +02:00
4k5h1t
0776e75fbc tdf#42982: improve UNO API error reporting
Change-Id: I9300b4e6eb9ee3ff2b9bfd32efdf0c8ceedc9d3c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124113
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2021-10-24 16:46:07 +02:00
Luboš Luňák
273a25c796 change some LOK internal updates to be pull model instead of push
Some LOK messages may get called very often, such as updates about
cursor position. And since only the last one matters, they get
generated every time, which costs some time, and then later except
for one they get all discard again from CallbackFlushHandler queue,
which again costs time.

Change the model to instead only set an 'updated' flag, and
CallbackFlushHandler will request the actual message payload only
before flushing.

This commit changes LOK_CALLBACK_INVALIDATE_VISIBLE_CURSOR and
LOK_CALLBACK_INVALIDATE_VIEW_CURSOR to work this way.

Change-Id: I376be63176c0b4b5cb492fbf529c21ed01b35481
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124083
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-10-24 01:40:45 +02:00
Mike Kaganski
667c2499d8 Use std::transform instead of loop
Change-Id: I1fa2eaec67bd5e85d09d4d662deede34d3388176
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124016
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-24 00:04:58 +02:00