Commit graph

475170 commits

Author SHA1 Message Date
Noel Grandin
cdf8e971d5 osl::Mutex->std::mutex in SaxExpatParser
Change-Id: I9d99497dfbc67cd4dd690da9db58aab0db114d36
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134021
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-08 20:50:34 +02:00
Noel Grandin
34948e6777 osl::Mutex->std::mutex in Pump
Change-Id: Idb25603ba5659b3d8cabbdddb00df60e43045b52
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134020
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-08 20:50:12 +02:00
Noel Grandin
cb65f89db8 osl::Mutex->std::mutex in OMarkableInputStream
Change-Id: I935573e63471e5f38e719df51b3510992347fe09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134019
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-08 20:49:47 +02:00
Noel Grandin
0daeb60f4f osl::Mutex->std::mutex in OMarkableOutputStream
Change-Id: Ie39f8cd7f8de8dfe647d006d0fd0c62fddc72a8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134018
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-08 20:49:22 +02:00
Caolán McNamara
fd4a089df6 ofz#46607 Integer-overflow
Change-Id: Id759423176b2e47fc00b8e7babd936b480956617
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134025
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-08 20:33:58 +02:00
Noel Grandin
e8b38f7700 osl::Mutex->std::mutex in OAcceptor
Change-Id: I0fa5628ff601a89ed9c74212b4986689957eab1e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134017
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-08 19:56:03 +02:00
Mike Kaganski
5393dbec55 No need to use std::optional here
Change-Id: I7129178ca4639aafabe7401dd6e3dc831e7e9562
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133873
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-05-08 17:51:52 +02:00
Caolán McNamara
233b1409f5 drop special fuzzing path
Change-Id: Ifa47253b1122f6f84f2c082b2f71b04451ec5162
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134026
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-08 17:45:27 +02:00
Martin Srebotnjak
1fae699cc5 Update git submodules
* Update translations from branch 'master'
  to d317ea9b3412438e83f716001d7fda3a62516855
  - Updated Slovenian translation
    
    Change-Id: I2edec53223e0c5c09cff8fc58265f32d6aa3da8e
2022-05-08 17:41:41 +02:00
Stephan Bergmann
7e1ff1cee5 external/firebird: Implicit int in configure check
...so that with Clang 15 trunk after
<2cb2cd242c>
"Change the behavior of implicit int diagnostics" the check now failed to
compile with

> configure:21471: checking alignment of long
[...]
> conftest.c:166:2: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]

with consequences the same as in f6be6cd82b
"external/firebird: Missing include in configure check" (so rename the existing
configure-include.patch, as it now covers various kinds of C99 violations)

Change-Id: I64e7c13945a3ede3900cc6a84da575e35bdce953
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133994
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-08 16:45:13 +02:00
Noel Grandin
9974ed792a osl::Mutex->std::mutex in slideshow::EventQueue
Change-Id: Ie9e53e5dc2c842e11457846b5f177fc55683e0d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134016
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-08 16:38:52 +02:00
Noel Grandin
40b0cf86c2 osl::Mutex->std::mutex in sfx2::PreventDuplicateInteraction
Change-Id: I4abc1462b4d691dc699a9716573d23824897176b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134015
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-08 16:38:31 +02:00
Noel Grandin
df63d1aa9c osl::Mutex->std::mutex in framework::ToolBarManager
Change-Id: I6908dc61cbd6e6e4d11c52dfface1d863cd7e5c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133977
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-08 12:34:40 +02:00
xuenhua
e92536bac2 Delete CJK-style mnemonics on macOS
Delete CJK-style mnemonics for the dropdown menu of the 'New button' and lower menu of 'File > New' on macOS

Change-Id: Idd0ab671cd75151095c92b37e5b6b5e81ddae7e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133973
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-08 10:57:11 +02:00
Stephan Bergmann
ed977f0b6c external/openldap: Implicit int in configure check
...causing

> checking for compatible POSIX regex... no
> configure: error: broken POSIX regex!
> make[1]: *** [external/openldap/ExternalProject_openldap.mk:40: workdir/ExternalProject/openldap/build] Error 1

due to

> conftest.c:88:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]

with Clang 15 trunk after
<2cb2cd242c>
"Change the behavior of implicit int diagnostics"

Change-Id: I8fb70ce21a73293e20bbc5b09c133141aa9b0ca1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133995
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-08 10:37:32 +02:00
Seth Chaiklin
93d0c905fe tdf#127294 add new ToD about deleting arrow styles
Change-Id: I5e6c3878f2c73f7136baf9a1cfaa6ac8aa1030d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133479
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-05-08 08:53:54 +02:00
Michael Weghorn
1bb9036e90 android: Don't use res Id in switch-case (ToolbarController)
Like Change-Id I9d563b6ad4ed70a891c583a82331dd80db5956dc,
"android: Avoid using res ID in switch-case (FormattingController)",
but for `TollbarController`.

Change-Id: I40f23b6a91ddf0bb7e90c3b3b690fe332cd874ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133999
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-05-08 08:29:20 +02:00
Michael Weghorn
dcc6b286ea android: Don't use res ID in switch-case (SearchController)
Addresses this Lint warning:

> ../../src/java/org/libreoffice/SearchController.java:73: Resource IDs
> will be non-final by default in Android Gradle Plugin version 8.0, avoid
> using them in switch case statements

There's no need to explicitly set `SearchDirection.DOWN`
for `R.id.button_search_down` since it has previously been
set as default value anyway.

Change-Id: I283c00b97e1417f5dc3a48922238df7a29032137
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133998
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-05-08 08:28:38 +02:00
Michael Weghorn
1c5a8b5eaf android: Avoid using res ID in switch-case (FormattingController)
Adresses Lint warnings like this in FormattingController:

> ../../src/java/org/libreoffice/FormattingController.java:89: Resource
> IDs will be non-final by default in Android Gradle Plugin version 8.0,
> avoid using them in switch case statements
>
>   86
>   87      switch(button.getId()) {
>   88
>   89          case R.id.button_insertFormatListBullets:
>   90              LOKitShell.sendEvent(new LOEvent(LOEvent.UNO_COMMAND, ".uno:DefaultBullet"));
>   91              break;

Change-Id: I9d563b6ad4ed70a891c583a82331dd80db5956dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133997
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-05-08 08:27:52 +02:00
Michael Weghorn
e1381521c5 android: Allow setting auto font/bg color
Add a button in the color palette UI
(that can be found in the bottom toolbar
under "Styles" -> "Font Color"/"Highlight Color"
when experimental editing mode is enabled) which
allows setting auto color for the font
or the highlighting/background.
This allows to unset any explicitly set color and
use the automatic color.

This is equivalent to the "Automatic"/"No fill color"
items in the font color and character highlighting
color popups in the desktop version.

Add a `boolean keepAlpha` param to
`sendFont{,Back}ColorChange` to be able
to distinguish between "auto color" and white
when -1/0xFFFFFFFF is passed as color.
See also previous commit
Change-Id I2e6512f32e671f92c8d31b2780c350dd74fb0747,
"android: Handle auto color as such", for some more
context.

Change-Id: I05182a2adbc00e64b1925ff52861a51ba8dcc21f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133996
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-05-08 08:27:05 +02:00
Michael Weghorn
5c50d8f7ee android: Handle auto color as such
When no color is explicitly set for the font/background
(i.e. automatic color is used which would e.g. be black
for the font if no background color is set or white
if a black highlight color is set in Writer), the value
for the color sent in the ".uno:Color" event for the font
color and similarly for the background/highlight color
(".uno:BackgroundColor" in Calc, ".uno:CharBackColor"
in Impress, ".uno:BackColor" in Writer) is -1.

The previous handling of that special value was problematic:

1) Where handled specifically, -1 was interpreted as "black color"
rather than "auto/no color".

2) The color handled by the above-mentioned UNO events
does not contain/handle the alpha channel, while Android
does, so a conversion happens to add/remove the alpha
layer.
However, the anonymous `ColorPaletteListener`s that handle font
and background color updates in their `updateColorPickerPosition`
methods were not doing a logical or to add an alpha channel to
the LO-provided color, but *adding* 0xFF000000 instead, which is
the same for actual colors without an alpha channel set, but
the actual special value of -1 (0xFFFFFFFF) would then
be converted to 0xFEFFFFFF and no longer be treated as
special.

The way of treating -1 as black would also have the
side effect that an explicit white color (0x00FFFFFF) would
be converted to 0xFFFFFFFF, which is -1, and
would therefore be treated as black.
(So setting font color to white would result in black
being shown as font color in the font color UI in experimental
mode instead...)

In order to actually handle auto color as such, handle
the special value of -1 right in the `updateColorPickerPosition`
methods: In that case, unselect any explicitly selected color
(and set color to transparent for the buttons in the "Style"
tab of the toolbar, `font_color_picker_button`
and `font_back_color_picker_button` in `toolbar_bottom.xml`).
Also, do a logical or to add the alpha layer instead
of adding 0xFF000000.

While at it, unify the code in the two
`updateColorPickerPosition` methods a bit.

Change-Id: I2e6512f32e671f92c8d31b2780c350dd74fb0747
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133992
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-05-08 08:25:36 +02:00
Michael Weghorn
bc762b702d android: Don't show any color in palette as selected if none matches
In Android Viewer with experimental editing mode enabled,
doing the following resulted in black still being marked as
the current font color in the "Style" -> "Font Color" UI.

1) create a new Writer doc in the desktop version with one
   paragraph that has the font color explicitly set to black
   and one with "Dark Brick 2"
2) open the doc in Android Viewer with experimental mode enabled
3) tap on the first paragraph with font color explicitly set to
   black
4) open the "Style" -> "Font Color" UI where the color could be
   changed (layout file: `toolbar_color_picker.xml`)
-> black is marked as current font color (OK)
5) tap on the paragraph which has font color "Dark Brick 2" set
-> black is still marked as current font color (NOK)

This is because the indices of the previously set
color would just remain set if the new color
was not found in any of the palettes which contain
a set of predefined colors.

Change that to set the index for the `upperSelectedBox`
palette to 0 (i.e. switch to the first palette), and the
index of the `selectedBox` (i.e. color within the palette)
to the special value of '-1' and don't mark any palette
or color as selected in that case.

The newly introduced `ColorPickerAdapter#unselectColors`
will be used from elsewhere in a follow-up commit, so
make it public right away.

The two `ImageButton`s right in the "Style" tab
in the toolbar (i.e. `font_color_picker_button` and
 `font_back_color_picker_button` in `toolbar_bottom.xml`)
remain unchanged and keep showing the actual color, since
those are not restricted to predefined colors in the
palettes.

For the case where no explicit font color is set
(i.e. use of automatic font color, e.g. black if no background
is set, but white if the background is set to black), the
value '-1' is sent from the C++ side, and no color should
be marked as selected in Android Viewer, which also works
with this change in place in general.
However, the current handling for the "automatic color" case
on Android Viewer side looks suspicious in more ways that will
be addressed in a follow-up commit.

Change-Id: I228d57ace5341bd311761f40c477441d1e511d5d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133989
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-05-08 08:24:20 +02:00
Michael Weghorn
9a249103de android: Switch order of these if/else statements
I find

    if (a == b) {
        // statement 1
    } else {
        // statement 2
    }

more straightforward than

    if ( a != b) {
        // statement 2
    } else {
        // statement 1
    }

since it doesn't require logically negating twice
(else block is for `!(a != b)`) in the second form), and this
also prepares for a follow-up commit where one of the conditions
will be extended further.

Change-Id: I1d2177bdcf662994e757b626983a9f9626c66aa1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133988
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-05-08 08:23:29 +02:00
Michael Weghorn
5c452ad4c3 android: Don't store selected pos in ColorPickerAdapter
The position is already set and used in `ColorPaletteAdapter`
as its `upperSelectedBox` member, so stop doing the
double bookkeeping in both classes and retrieve it
from there instead.

Change-Id: I59896b85f5d5a0285076f61599be64638fa71121
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133987
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-05-08 08:22:26 +02:00
Michael Weghorn
fd50cbbc41 android: Make Color{Palette,Picker}Adapter members private
... and make some `final` as well.

Change-Id: Ib50ff32788edaea753cc25f119f91a93e936b2ef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133986
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-05-08 08:21:37 +02:00
Michael Weghorn
87d0037d75 android: Drop explicit type arguments when calling ctors
Addresses these suggestions shown in Android Studio:

* "Explicit type argument String can be replaced with <>"
* "Explicit type argument String, ArrayList<String> can be replaced with <>"

Change-Id: Ibc78364cf5b246d8c1e1d32d755c3e8dcf0e32aa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133985
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-05-08 08:21:04 +02:00
Michael Weghorn
621db9bfac android: Move assignment to existing loop
There is already a loop just before this one,
so just move that assignment there as well.

Change-Id: Ie93a0275c0940b7932973264352bad64d0489b03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133984
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-05-08 08:20:22 +02:00
Michael Weghorn
4c2d7e2386 android: Use existing Color.WHITE constant
... instead of creating the color from the RGB
values manually.

Change-Id: I2058de553e2e744440e7d856ca9bfaf5f9041b49
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133983
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-05-08 08:19:23 +02:00
Caolán McNamara
50b89a53ff use VCL_FLOAT_DEVICE_PIXEL for fuzzers
Change-Id: Id657d45a00c60e281891791dd7e2f178c7857a71
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133990
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-07 22:54:32 +02:00
Caolán McNamara
441889318f ofz#46070 Out-of-memory
Change-Id: Ibc242ae6b267d989997162d9a4dac9a409f172be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133993
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-07 22:53:21 +02:00
Caolán McNamara
cf80459421 ofz#47289 attempt to allocate negative len
a problem since...

commit e9c50fbbc3
Date:   Sat Apr 2 15:49:32 2022 +0300

    tdf#103954: Z compressed graphic formats support for EMF/WMF

which added an unconditional seek to 0 of the stream which isn't
desirable when done on the original stream which is deliberately
seeked to the start of the graphic data, seeking to 0 just skips
back to the start of the enclosing file, e.g. a word document stream.

Presumably this should just happen in the case of the replacement
decompressed stream.

Change-Id: Ifb67fb265c70d5728a74dc3499f275eb5d69ddbb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133991
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-07 22:53:01 +02:00
Caolán McNamara
6a5ebe0766 cid#1504313 Uninitialized pointer read
Change-Id: I0a5fa033a54d8f3b8b0248cf67e252c640b33e82
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133974
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-07 21:23:59 +02:00
Noel Grandin
e35d97c961 osl::Mutex->std::mutex in framework::StatusBarManager
Change-Id: I34cdb5ce7e9e5b3c3d8f985057bb7ff09f2b7f68
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133978
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-07 20:55:33 +02:00
Noel Grandin
825066456e osl::Mutex->std::mutex in filter::config::CacheUpdateListener
Change-Id: Ib791be8495f2ad2855cceb94d45f2bd0995e3710
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133975
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-07 18:00:56 +02:00
Stephan Bergmann
4e7f7a799e This condition is apparently fatal
...as mnPoints is the size of mxPointAry (see also
323df76698 "Revert 'tdf#147919 PPTX export: fix
curved and bent connector shape'")

Change-Id: I10b9c6bd25bc88754d2d52e851c3871621b0d517
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133980
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-07 17:23:53 +02:00
Stephan Bergmann
ea2386b7ca Drop excess +1
...as identified by Noel in the comment at
<https://gerrit.libreoffice.org/c/core/+/133841/3#message-e2b2c6daa41983c25d6fc758235b993d04e1c055>
"tdf#148299 Don't unmotivatedly mess with spaces in file names"

Change-Id: Ie118191ceb731ceef3ca92869a4fa8c05f5835e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133981
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-07 17:19:47 +02:00
Stephan Bergmann
7d1511cfd8 GCC 12 is still just as broken
Change-Id: Ic2e151eb78512388150492b6dff0c39046d4d3c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133979
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-07 16:54:52 +02:00
Kohei Yoshida
ce911276b8 tdf#107765: Use the correct sheet index.
This is a follow-up to f15e6293cf.

Change-Id: I3f1e6bbb1fe83fab48a0c3889fb53c6919f6351d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133967
Tested-by: Jenkins
Reviewed-by: Kohei Yoshida <kohei@libreoffice.org>
2022-05-07 16:48:12 +02:00
Andreas Heinisch
90d33f5945 tdf#148358 - Compare Non-ASCII variable names case-insensitive
Change-Id: I761eb27b16c92d58df1be8e6011fc9b94db2a59c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133774
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2022-05-07 16:00:50 +02:00
Stephan Bergmann
323df76698 Revert "tdf#147919 PPTX export: fix curved and bent connector shape"
This reverts commit 1f8c6efbfe, as it caues

> warn:legacy.tools:12871:12871:tools/source/generic/poly.cxx:1581: Polygon::[]: nPos >= nPoints
> =================================================================
> ==12871==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x603000445080 at pc 0x7f6303ec7854 bp 0x7ffd23271600 sp 0x7ffd232715f8
> READ of size 8 at 0x603000445080 thread T0
>     #0 0x7f6303ec7853 in Point::X() const /include/tools/gen.hxx:83:51
>     #1 0x7f63045baaa1 in oox::drawingml::lcl_GetConnectorAdjustValue(com::sun::uno::Reference<com::sun::drawing::XShape> const&, tools::Polygon, com::sun::drawing::ConnectorType, std::__debug::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >&) /oox/source/export/shapes.cxx:1556:27
>     #2 0x7f63045b731f in oox::drawingml::ShapeExport::WriteConnectorShape(com::sun::uno::Reference<com::sun::drawing::XShape> const&) /oox/source/export/shapes.cxx:1701:13
>     #3 0x7f63045984e7 in oox::drawingml::ShapeExport::WriteShape(com::sun::uno::Reference<com::sun::drawing::XShape> const&) /oox/source/export/shapes.cxx:1956:5
>     #4 0x7f62b399ad3b in oox::core::PowerPointExport::WriteShapeTree(std::shared_ptr<sax_fastparser::FastSerializerHelper> const&, PageType, bool) /sd/source/filter/eppt/pptx-epptooxml.cxx:1658:22

during CppunitTest_sd_export_tests-ooxml3
CPPUNIT_TEST_NAME=SdOOXMLExportTest3::testTdf114848
(<https://ci.libreoffice.org/job/lo_ubsan/2388/consoleFull#-1714579836d893063f-7f3d-4b7e-b56f-4e0f225817cd>)

Change-Id: I7eab9d3ef8e6604a57d3e59a77905edf6ce6e6ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133870
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-07 15:40:49 +02:00
Noel Grandin
a5af08b3ed tdf#121740 fast path in cancelCommandExecution
skip the cost of constructing a SimpleIOErrorRequest in the common case

Change-Id: Ib0a8989a9ffa76e6b71f984e0f32be94ec5cb8ff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133959
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-07 15:26:06 +02:00
Noel Grandin
e855dc5226 osl::Mutex->std::mutex in TimeContainerEnumeration
Change-Id: I44e054a6db59cbeae03b50cb0df4bcfdc8f293da
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133969
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-07 14:24:10 +02:00
Noel Grandin
09122ed302 remove dead item cleanup from NumberedCollection::impl_searchFreeNumber
which speeds it up a little, because WeakReferences are a little slow

Change-Id: I76226b180ae4e11c4beb9e2f4ae12b05f980dcad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133960
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-07 14:23:51 +02:00
Noel Grandin
a93220b79f osl::Mutex->std::mutex in VDevBuffer
Change-Id: I64b48e60f178574a0e0382e72a002a87320bbf39
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133972
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-07 14:21:58 +02:00
Noel Grandin
2a8401f616 osl::Mutex->std::mutex in comphelper::GenericPropertySet
Change-Id: Ifbb8e2f7e8923d7bdc333097d6f415f10670e0df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133970
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-07 12:51:02 +02:00
Noel Grandin
6e8f63f772 osl::Mutex->std::mutex in librdf_NamedGraph
Change-Id: If28bef2bd44dc469e6534b166d4c25c0a7c3b2eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133968
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-07 12:50:20 +02:00
Andreas Heinisch
9313b6c02c tdf#62776 - Add tooltip for folder location shortcuts
Change-Id: I326fd3c3695e5467a49688fc2164fe591aef2397
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133709
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2022-05-07 11:09:32 +02:00
Noel Grandin
1fe08ae6b3 tdf#121740 increase DrawingEngine::OLE_Objects cache limit
shaves 5% off the load time for me

Change-Id: Ia0ed8caa9300bfe5bcf71cfe844b8c4fdaf0fef6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133962
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-07 08:10:49 +02:00
Kohei Yoshida
f15e6293cf tdf#107765: Check the updated language and apply it to the cell.
During the normal spell-checking in Calc, the user may change the
language on the string segment with a spelling error, which is supposed
to be applied back to that segment in the cell, but was not. This change
should fix it.

In case the new language is applied to the entire cell string, we will
set the new lanuage to the cell as a cell attribute and keep the string
as a simple string.  Otherwise, the new language gets applied to the
edit engine string.

This commit also changes the return value of EditEngine::GetLanguage()
to include the string span information in addition to the language
value.

Change-Id: I713ec7aefe571f721321cd8ea687f616ab4dd61a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133966
Tested-by: Jenkins
Reviewed-by: Kohei Yoshida <kohei@libreoffice.org>
2022-05-07 04:52:50 +02:00
Chris Sherlock
431c692e4e vcl: add some basic Animation unit tests
Change-Id: Ib8e33fe5f4360b298d2be02fcb5777c21e71fd0c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/76400
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-05-07 02:54:13 +02:00