Commit graph

476326 commits

Author SHA1 Message Date
Caolán McNamara
e6b5c2dc0b drop stray space before full stop
Change-Id: I50013a672cc953822845a2e02d038e75f51ef457
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135431
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-05 17:05:53 +02:00
Caolán McNamara
7e2a8abf0c liststore used twice by different widgets
Change-Id: Id4577af678addbc984f35b8e35efc2841f5ff6c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135433
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-05 16:45:26 +02:00
Jan-Marek Glogowski
3f8d3fd464 tdf#137471 Qt return frame pos + client area size
My code comment about "drawable area" and Michaels bug comment
12 about the "frameGeometry()" usage were both half right. LO
expects the window's frame position and the drawable client area
size almost everywhere when "geometry" is involved. The frame's
border is stored in the decorations members of SalFrameGeometry.

Change-Id: Ic00ad1f1d74d7afadcaca0c01e1a41ea7f2833de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135434
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-06-05 12:17:45 +02:00
Noel Grandin
e0e944a420 no need to allocate this separately
Change-Id: I30df477cd708d021fc5b6fcfa9925e1c99be6650
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135429
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-05 08:23:36 +02:00
Caolán McNamara
c1898a4d1b Duplicate object ID 'altname-atkobject'
Change-Id: I47c488ef5c192d464ef2661c4ff5473e98bb2208
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135430
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-04 22:22:29 +02:00
Noel Grandin
6aaa3e6175 tdf#149304 Stylist does not show upper/lower case font effects
SvxFont has code to handle these extra features, we just need
to call that

Change-Id: I45691efeeead3ea60ab838eeb081fa5f19a76b90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135428
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-04 20:33:18 +02:00
Jan-Marek Glogowski
428cc8da98 WIN refactor geometry updating
Change-Id: I34e710c022e6362dc2381327eb896610c35bcbf0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135425
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-06-04 20:25:54 +02:00
Jan-Marek Glogowski
434d471e9b Rectangle: move inline definition into functions
... and add GetPos() as TopLeft() alias.

Change-Id: Ia2c169d40ed121e829802835011648281f48f585
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135424
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-06-04 19:30:10 +02:00
Caolán McNamara
a717b1a8b6 this should call the base class enable_notify_events
Change-Id: Icc26f3adcb3273426e6892aafd16da23176e23de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135373
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-04 17:25:41 +02:00
Noel Grandin
395b2ca9fd elide some makeStringAndClear() calls
when we are passing the result to a string_view, it is pointless.

Change-Id: If2532f998343b49a2966e0c704f6f789af936e1e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135371
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-04 17:18:03 +02:00
Caolán McNamara
8907b6a04e ofz#47759 Timeout
Change-Id: I8d6b1adb83963c229d71b9f593d39d8cd3e281e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135363
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-04 17:17:28 +02:00
Seth Chaiklin
9b211ff5e8 tdf#149242 more precise labels for left and right of paragraph text area
The existing labels refer to paragraph border, which is ambiguous
    about where the border is located. Meanwhile these labels refer to
    an area that is to the left and right of the paragraph text area,
    which is well-defined (and explained in help). The change is to
    indicate that these options position in relation to the regions
    that are to the left and right of the paragraph text area.

Change-Id: Ica033f8f48d47fb3f65a26f93ebede26b9cf80fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135161
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-06-04 15:59:39 +02:00
Seth Chaiklin
3a78fb5d75 tdf#148491 make Imagemap dialog consistent with Description
This patch is part of a general effort to use
  "Text Alternative" consistently in the UI.

  The control names in the Description dialog for
  Imagemap and the Imagemap dialog were both changed
  to "Text Alternative". Tooltips were also added
  for "Text Alternative" and "Description."

  No change was made to the extended tooltip for
  "Description", because this field is not exported
  to HTML at present (tdf#149013)

Change-Id: I2c5931efec93cff6b1ff1bf905de770d939b9b93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135155
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-06-04 15:58:30 +02:00
Seth Chaiklin
e1fd98e4d5 tdf#148941 add tooltips for “Text Alternative” and “Description”
Tooltips are added in the Options tab in the Properties dialog for
    images, frames, and OLE object. The extended tooltip for
    “Text Alternative” is corrected, and an extended tooltip for
    “Description” is added.

Change-Id: I8a14f3aa57aa7414ab2cf4251189d845269788d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135073
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-06-04 15:57:38 +02:00
Jean-Pierre Ledure
14c7bc1c90 ScriptForge - New 'UnitTest' service for Basic
The "UnitTest" service is implemented as a new
Basic library called 'SFUnitTests'.

ScriptForge unit tests (SF_UnitTest class module)
======================
Class providing a framework to execute and check sets of unit tests.

The UnitTest unit testing framework was originally
inspired by unittest.py in Python
and has a similar flavor as major unit testing
frameworks in other languages.

It supports
- test automation
- sharing of setupand shutdown code
- aggregation of tests into collections.

Both the
- code describing the unit tests
- code to be tested
must be written exclusively in Basic
(the code might call functions written in other languages).
The code to be tested may be released as an extension.
It does not need to make use of ScriptForge services.

The test reporting device is the Console.

Definitions:
- Test Case: each test case is a Basic Sub.
- Test Suite: a collection of test cases stored in 1 Basic module.
- Unit test: a set of test suites stored in 1 library.

Two modes:
- the normal mode ("full mode"), using test suites and test cases
  The UnitTest service is passed as argument to each test case.
- the "simple mode" limited to the use of the Assert...() methods.

Service invocation examples:
- In full mode, the service creation is external to test cases
        Dim myUnitTest As Variant
        myUnitTest = CreateScriptService("UnitTest", ThisComponent, "Tests")
            '    Test code is in the library "Tests"
            '    located in the current document
- In simple mode, the service creation is internal to every test case
        Dim myUnitTest As Variant
        myUnitTest = CreateScriptService("UnitTest")
        With myUnitTest
            If Not .AssertTrue(...) Then ...
            '    ...
            .Dispose()
        End With

Error handling
To support the debugging of the tested code, the UnitTest service, in cases of
- assertion failure
- Basic run-time error in the tested code
- Basic run-time error in the testing code (the unit tests)
will comment the error location and description in a message box and in the console log,
providing every test case (in either mode) implements an error handler
containing at least a call to the ReportError() method.

Change-Id: I9d9b889b148f172cd868af455493c8c696d1e953
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135365
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-06-04 12:08:36 +02:00
Rafael Lima
cfb5148b56 Update git submodules
* Update helpcontent2 from branch 'master'
  to 02043ac2c6e34f4ae96abe2bdc5737e35bc01e9e
  - Fix typo in AutoCorrect help page
    
    Currently the help page uses "Clear" for a checkbox option. However, "Uncheck" is more suitable here.
    
    Change-Id: If4a54e61ba96e5d9b4d76d175b165cb9a0cdbcbf
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135374
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-06-04 11:14:44 +02:00
Eike Rathke
5d47d2a493 Function Wizard: increase display length of array results
So if the dialog is widened the Structure tab can display more
details.

Change-Id: I857ca525fea8badc229328ab4c822b7de0b2cc0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135369
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-04 00:41:11 +02:00
Eike Rathke
198ceb02bc Function Wizard: use actual array separators to truncate result
... instead of hard coded ',' and ';'. And truncate / append "..."
after separator, not at.

Change-Id: I62f8c00f108165102d3b6a8b73b82774b8973a67
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135370
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-04 00:21:26 +02:00
Xisco Fauli
c2a4a7a948 tdf#149378: sc_uicalc: Add unittest, follow-up
This commit also tests

- 6079bf6879
"Add binary operators to ForceArrayReturn handling, tdf#149378
follow-up"

- a15ce15709
"Propagate ForceArrayReturn only for Value parameters, tdf#149378
follow-up"

- bac202275b
"Propagate inline array only for Value parameters, tdf#149378 follow-up"

based on their commit description

Change-Id: Ie69868460ae87a67b31e0bd30a66644e89ea60ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135368
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-06-03 23:09:00 +02:00
Noel Grandin
a3d4f7e8fb tdf#146988 Opening at cursor position doesn't work in large documents
regression from
    commit 07021596ac (HEAD)
    Date:   Sat Jun 12 18:57:51 2021 +0200
    tdf#142242 Forename imported with trailing space

Change-Id: I792fbe5955de464f41ac61c85f1ca651121b4a99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135372
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-03 23:03:07 +02:00
Aron Budea
08850dbead Related: tdf#147844 still log the discrepancy
Change-Id: Iaed261c5b85ce507fb30b572eb08f09c89dda3e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135367
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2022-06-03 21:10:42 +02:00
Caolán McNamara
3b5f43a823 ofz#47781 Out of memory
Change-Id: I6ebd284bb3fa2c220b6a09fa9875b97c79f4a239
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135364
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-03 20:48:12 +02:00
Xisco Fauli
b72c0abac1 tdf#149378: sc_uicalc: Add unittest
Change-Id: Ie92b22ce664d667892e864598158618a0ee4ae6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135362
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-06-03 19:32:23 +02:00
Noel Grandin
5a6b4b4f28 clang-tidy modernize-pass-by-value in svl
Change-Id: I184efd7aee2c3eb02399100a4a7500951255d423
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135357
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-03 18:32:32 +02:00
Andrea Gelmini
f0b7b388ae Fix typo in code
Change-Id: I2c1f14d033a733210dfee617ecaa7a9cea07c4f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135352
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-03 18:32:13 +02:00
Caolán McNamara
4c3b44fd1e upgrade libtiff to 4.4.0
dropping ubsan.patch which was fixed upstream in this release

Change-Id: Ic2e35b24f7a9c7c3e2a00da8bc5b5b7d500746fd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135359
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-03 18:03:12 +02:00
Eike Rathke
6079bf6879 Add binary operators to ForceArrayReturn handling, tdf#149378 follow-up
So ={1;2} or =-{1;2} or ={1;2}+3 or ={1;2}+{3;4} or ={1;2}+A1 are
propagated. But ={1;2}+A1:A2 is not because the range reference
should be implicit intersection not to be forced to array mode
unless user says so.

This also adds low level ocPush with svMatrix returning always
ParamClass::ForceArrayReturn in FormulaToken::GetInForceArray() so
any derived like ScMatrixToken inherit that.

Change-Id: Ida24414a795d6609bf01e361f96438f9e7f7f66c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135360
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-03 17:21:22 +02:00
Roman Kuznetsov
f30af7b351 tdf#147132 Flatten Basic function
Change-Id: I1e445a565dc9c45810e85b045e68db08a56207f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135271
Tested-by: Jenkins
Reviewed-by: Roman Kuznetsov <antilibreoffice@gmail.com>
2022-06-03 16:36:32 +02:00
Eike Rathke
a15ce15709 Propagate ForceArrayReturn only for Value parameters, tdf#149378 follow-up
So in SUM(MUNIT(3)) the SUM does not get ForceArrayReturn.

Same as in

    commit bac202275b
    CommitDate: Fri Jun 3 13:08:11 2022 +0200

        Propagate inline array only for Value parameters, tdf#149378 follow-up

Change-Id: I60b17352c6e2f4fe608070c07f538456ed863156
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135358
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-03 15:34:54 +02:00
Stephan Bergmann
ae5b06e346 Use o3tl::make_unsigned, nStrLen is known to be non-negative here
Change-Id: Ibb51c5b47edefe3f22a3d4335bc3136988c65486
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135355
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-03 15:11:05 +02:00
Stephan Bergmann
6af99a90d0 Use more appropriate type for MultiSelection::nCurSubSel et al
(In MultiSelection::LastSelected, there is no need to set nCurSubSel (to a
potentially negative value) before setting bCurValid to false, as nCurSubSel is
only ever used after checking that bCurValid is true.)

Change-Id: I3c23c89fbb7b4ef962436476f6576af9fe623fd0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135354
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-03 15:10:12 +02:00
Stephan Bergmann
628082158a Revert "Better use size_t for malloc_size"
This reverts commit 652e4ee372.  Turns out on
Windows read (aka _read) actually has a parameter of type unsigned, not size_t,
(<https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/posix-read?view=msvc-170>
"read"), so this started to cause

> C:/cygwin/home/tdf/jenkins/workspace/lo_tb_master_win64_dbg/soltools/mkdepend/main.c(504): error C2220: the following warning is treated as an error
> C:/cygwin/home/tdf/jenkins/workspace/lo_tb_master_win64_dbg/soltools/mkdepend/main.c(504): warning C4267: 'function': conversion from 'size_t' to 'unsigned int', possible loss of data

(<https://ci.libreoffice.org/job/lo_tb_master_win64_dbg/34368/>) for MSVC builds
targeting x64.

Change-Id: Ica821c8b32e225b7ebbfcbd33d8b7d55515ab3e0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135270
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-03 15:09:09 +02:00
Michael Stahl
ff525d0d70 tdf#148309 sw_redlinehide: fix mail merge performance regression
The problem is that in the call to pTargetShell->EndAllAction(), the
cursor is on the node before the newly appended one that has the page
break, and only this node is formatted (via GetFormatted()), so no new
page frames are inserted in the layout, which then creates massive
performance problems later, particularly since the bugdoc contains
multiple at-page anchored flys.

(regression from commit 42448f48bb)

Change-Id: I05cd2a515a7f67132ab1c8c6fa0d675252ea3a15
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135356
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-06-03 15:08:39 +02:00
Stephan Bergmann
9c130462fd Improve some C code mixing size_t and ssize_t
Change-Id: I9b6082f3e913a9bddcb3bd035b92e829f9b00c07
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135340
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-03 15:08:19 +02:00
Noel Grandin
613467237f clang-tidy modernize-pass-by-value in cui
Change-Id: If3d2717c22e33412f813673a93ccc56d23ab2fa5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135348
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-03 15:04:41 +02:00
Caolán McNamara
c8642c0ebe allow to dynamically show/hide notebook tabs
Change-Id: I19681d9bfcd91e205e684674d1ec8f0058c1eb91
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135350
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-03 14:53:34 +02:00
Andrea Gelmini
4199a1d0da Remove duplicated include
Change-Id: Ie59fb3c87bf614dce7288337ab270a31645ee845
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135351
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
2022-06-03 14:14:40 +02:00
Stephan Bergmann
949f2e0624 No need for a cast here when comparing against const int DATE_SIZE = 40
Change-Id: I2e9190ac08dc79fe624572ff3a96c32c18afce29
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135341
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-03 13:26:37 +02:00
Stephan Bergmann
652e4ee372 Better use size_t for malloc_size
...as both malloc and read, to which this is passed, take arguments of type
size_t, not unsigned

Change-Id: I2b114c4e67bc9317d908d613fda607a12cf22579
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135347
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-03 13:23:49 +02:00
Stephan Bergmann
95573221d0 Fix type of impl_getISO8601TimeToken etc. string index parameters
...after 6fc3dfd3f1 "use more string_view"

Change-Id: I0f4fb75e90d18ed3331f0c857dce1cfcb7482d65
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135335
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-03 13:22:33 +02:00
Eike Rathke
bac202275b Propagate inline array only for Value parameters, tdf#149378 follow-up
So in SUM({1;2}) the SUM does not inherit it, but in ABS({-1;-2})
the ABS still does. This was always off, but so far didn't matter.

Change-Id: I00dfcd4b71b8dea943475bb5a593224312258e31
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135349
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-03 13:08:11 +02:00
Caolán McNamara
6697257931 implement "show-tabs" for TabControl
defaults to the current status of "true"

Change-Id: Id4fa50d359e29fa3a7db845edbcb86a3b1caa790
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135345
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-03 12:27:48 +02:00
Seth Chaiklin
73dde4733f tdf#149437 "Equally" -> "Evenly" for Table Row Distribution
Change-Id: I4b7f8fa02d0e788ea62b07734c2fbcf3cc0a8ec3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135267
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-06-03 12:01:16 +02:00
Noel Grandin
c1965859c0 elide some makeStringAndClear() class
when we are passing the result to a string_view, it is pointless.

Change-Id: I4c780bd8dd356bd764b9f88400a41cca6d85f84b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135337
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-03 11:34:19 +02:00
Stephan Bergmann
1fc5b6c9bd Use more appropriate index variable type
Change-Id: I0d18657fe3565b07fb1de2f0704f62aaf8226f9d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135338
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-03 11:20:25 +02:00
Roman Kuznetsov
66fe1fa945 tdf#147132 Flatten Basic function
Change-Id: Ib2646bfbebdfb6d8e8a3cd1355db75b0405ccfe6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135268
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-06-03 10:17:02 +02:00
Gülşah Köse
a658129012 tdf#136787 Add control to create 1-bit B&W bitmap while creating mask.
Glow effect creates half transparent pixels on shadow. Creating 1-bit
B&W bitmap mask treates that half transparent pixels as black.
We control 1-bit B&W bitmap creation when we have half transparent
pixels.

Change-Id: Iaf298a0e5ffeeb6637fe5d3f56cf4f8e30a203e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134981
Tested-by: Jenkins
Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com>
2022-06-03 10:15:56 +02:00
Noel Grandin
e0b72bea05 elide some makeStringAndClear() class
when we are passing the result to a string_view, it is pointless.

Change-Id: I5af990cbe1a8f2d5b19fea9a031d7d64aeba1c37
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135329
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-03 10:11:38 +02:00
Stephan Bergmann
2e197356f8 Use more appropriate index variable types
Change-Id: I3c8985862aeccb350c4e8e04d3f71f9dc7018e43
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135334
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-03 10:08:57 +02:00
Noel Grandin
4f4e3f3aae elide some makeStringAndClear() class
when we are passing the result to a string_view, it is pointless.

Change-Id: Id5906bbd7315e80358d09a0d036e605c54ccbf93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135328
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-03 10:02:42 +02:00