Commit Graph
478549 Commits
Author SHA1 Message Date
Noel Grandin 91c5e7a924 no need to use unique_ptr for this map in chart::CommandDispatch
map is already a node based data structure, so the values will stay
in the same place in memory

Change-Id: I255d99cd2014f33524480e218d2d9cd5ca812375
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139235
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-09-02 09:01:50 +02:00
Stephan Bergmann ae3965f6cc external/cairo: Remove dead code from cairo.RGB24_888.patch
...now that ab157ab93e "move part of sanitizer
patch to the patch that introduced the problem" unilaterally folded in here the
content of f5e1314ffa "external/cairo: Fix
previous -fsanitize=alignment fix", about which that commit's message had
stated:  "The following line

>       pixel &= 0x00ffffff; /* ignore next pixel bits */

should no longer be necessary now, and it is probably better to directly fix the
original code in external/cairo/cairo/cairo-1.10.2.patch, but I'll leave that
for a potential follow-up fix, once the provenance and assumed quality of that
original CAIRO_FORMAT_RGB24_888 code is clarified."  (The provenance and quality
of that code is still not clarified though, see the still unanswered question in
the comment at
<https://gerrit.libreoffice.org/c/core/+/116637/2#message-407ec72875fcb015a3024f9a7ebf8480513b1e5e>
"external/cairo: Fix previous -fsanitize=alignment fix".)

Change-Id: Ic729bff238a35fac69d048b7c3912dd706a5b601
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139211
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-09-02 08:37:40 +02:00
Miklos Vajna 255d208501 CppunitTest_sw_ooxmlimport: use more SwParaPortion::dumpAsXml()
See commit feeed3e762
(CppunitTest_sw_layoutwriter: avoid some a11y-based layout testing,
2022-04-07) for motivation.

Change-Id: I93878ccb1d754f1e9a8cfc93557b6d5fa6fa9fca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139231
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-09-02 08:26:42 +02:00
Stephan Bergmann 21229c2f45 Filter out unwanted command URIs
Change-Id: I0b7e5329af8cc053d14d5c60ec14fe7f364ef993
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139225
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-09-01 22:47:35 +02:00
Olivier Hallot cba119c2a4 Update git submodules
* Update helpcontent2 from branch 'master'
  to f7e717277963bd80b80a6f4b947e79cc97eea0e2
  - tdf#150689 Fix Calc contents tree
    
    Change-Id: If23ba66db8806ff88e67dc0485c5cf6376ccd0e7
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/139227
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-09-01 21:18:22 +02:00
Noel Grandin 3a2f60a92e Revert "cid#513473 Division or modulo by zero"
This reverts commit 18a0c0c690.

already fixed by a9aea4bb0d

Change-Id: I6ca69b1e56fd7a2fafe51eadfcc057b44c30ebcd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139176
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-09-01 20:50:46 +02:00
Vasily Melenchuk 57d9cc81b0 tdf#127806: RTF import: use shape dimensions for pib picture
If RTF shape contains pib (embedded picture) we should override
any picture sizes by values from shape. Values provided inside
\pict are ignored by MS Word; only shape values matter.

To achieve this we need to know shape dimensions so it's
calculation is moved to earlier step before internal picture
eval.

Change-Id: I99c1af7ba62c343b64b3db734b837ff101483ad8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139043
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-09-01 20:35:28 +02:00
Michael Weghorn c1fe2b6da6 qt: Add include needed with qtbase dev branch
`qVersion()` has been moved to a different header in
qtbase commit [1]:

    commit 50b05e3e2ad969abf4b939d5db2253380e47d775 (gerrit/dev)
    Author: Sona Kurazyan <sona.kurazyan@qt.io>
    Date:   Tue Aug 30 10:37:00 2022 +0200

        Move qVersion() from qglobal.h to qlibraryinfo.h

        Since qVersion() might be called also from C code, disable the parts of
        qlibraryinfo.h that are relevant only for C++ code if __cplusplus is not
        defined.

        [ChangeLog][Potentially Source-Incompatible Changes] qVersion() is
        moved from qglobal.h to qlibraryinfo.h, '#include <QtCore/QLibraryInfo>'
        needs to be added where it's used.

        Task-number: QTBUG-99313
        Change-Id: I3363ef3fa4073114e5151cb3a2a1e8282ad42a4d
        Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
        Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>

[1] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=50b05e3e2ad969abf4b939d5db2253380e47d775

Change-Id: Iafeb0ed6a77420f9a303d8ec4d3c5ba29c6f4b19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139221
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-09-01 20:26:01 +02:00
Michael Weghorn 9b140c1619 wina11y: Drop CEnumVariant::m_lLBound that's always 0
... and doesn't increase readability.

Change-Id: I62f3b37e8b8b948600e4d5e721c67a575628f1d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139217
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-09-01 20:17:35 +02:00
Noel Grandin bb7747f627 tdf#150712 use more string_view
Change-Id: I3a9022a7f99653ca8ecc00908558b14ac5ff278c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139209
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-09-01 19:51:22 +02:00
Noel Grandin 153b51da38 reduce cost of B2DHomMatrix::isIdentity
often the matrix is still default

Change-Id: Ieacf19c375e9988487047309187fce6b5b8c9561
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139213
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-09-01 19:31:07 +02:00
Noel Grandin a2977b5bd4 cid#1513472 Dereference null return value
coverity can't see that pCNd cannot be nullptr here, so add assert to
keep it happy

Change-Id: I51915fce2d2e14f33e0ed4c640420491a9a01e3f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139166
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-09-01 18:36:47 +02:00
Noel Grandin a86c829b48 cid#1513471 Dereference null return value
coverity can't see that pCNd cannot be nullptr here, so add assert to
keep it happy

Change-Id: I9d834511b1fd29147a653525134f5617ae6698a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139167
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-09-01 18:36:26 +02:00
Eike Rathke 033e98dbe6 Related: tdf#142293 Have ScCompiler::GetOpCodeMap() overwrite
... FormulaCompiler::GetOpCodeMap() forwarding to
GetFinalOpCodeMap() as that is what we want from ScCompiler (and
always had), eliminating the now possible temporariness of
FormulaCompiler::GetOpCodeMap().

Change-Id: Ia87fb0e911e4f7995bfb5df07dcd1fde3713d006
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139205
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-09-01 18:01:51 +02:00
Eike Rathke 15acaddb54 Related: tdf#142293 Remove temporariness now implemented at GetOpCodeMap()
Change-Id: Ic61f45b1da286e2f4890bbc81dc5cd18c0d5bbe5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139202
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-09-01 18:01:29 +02:00
Eike Rathke 5aaa0cda74 Resolves: tdf#142293 Implement the temporariness of GetOpCodeMap()
Change-Id: I7c587a68dbdeab9a8c8ed324ecae2eb5dd75b9df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139201
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-09-01 17:42:18 +02:00
Eike Rathke b8a83c5c63 Related: tdf#142293 Use FormulaCompiler::GetFinalOpCodeMap() in ScCompiler
Change-Id: I65bf11fca11acfbc372c99a5210e0f79b61f2be4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139171
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-09-01 16:29:49 +02:00
Luboš Luňák 372c7b231c use forced Calc calculation type even for single rows
It's for testing/debugging, so this should not get optimized.

Change-Id: Ib72eaa8ddb2c49ceee051856d977e2393bbb6966
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139173
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-09-01 16:22:23 +02:00
Luboš Luňák 2dc0e72f41 improve inheriting from std::num_put
These function in the base class are protected, and apparently some
GCC versions warn about other overloads being hidden.

Change-Id: I9d2e674b4fc9eedc97f586bbe4e4f21a6954b8a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139161
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-09-01 16:16:33 +02:00
Noel Grandin 5763e9eab8 cid#1513468 Dereference null return value
add assert to keep coverity happy

Change-Id: I9d9acb3883c4ed8950a018a3ed9a2ac7d591ca60
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139170
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-09-01 16:04:26 +02:00
Noel Grandin 18a0c0c690 cid#513473 Division or modulo by zero
I can't see how nGraphemeCount could be zero, so add an assert to help
coverity out

Change-Id: I324cc9819b401e5c1ab984446174ed2e96796eec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139165
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-09-01 15:45:52 +02:00
Noel Grandin e4b2f7c048 cid#1513474 Explicit null dereferenced
coverity can't see that the logic is such that nullptr is impossible
here, so add an assert to make it happy

Change-Id: I666dde47851d468c0b9e282c389fe07e640028fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139164
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-09-01 15:45:00 +02:00
Michael Weghorn 1dbf4a1114 tdf#150683 qt a11y: Avoid using 32-bit child index here
Passing the `QObject` of the child directly in the
`QAccessibleEvent` ctor generally has the same effect
as setting the parent in the ctor and then passing the
child index via `QAccessibleEvent::setChild`. In both
cases, `QAccessibleEvent::accessibleInterface` will
return the `QAccessibleInterface*` for the child
afterwards.

However, the latter only works correctly with child
indices that fit into 32 bit, which isn't the case
for all cells in a Calc spreadsheet with 16k column
support.

Change-Id: Iaa7b936df237f82dc21a00d3ac419a1519a95226
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139147
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-09-01 15:26:43 +02:00
Eike Rathke 603f9ce4f3 Related: tdf#142293 Introduce a protected FormulaCompiler::GetFinalOpCodeMap()
... to prepare having GetOpCodeMap() return a temporary if a final
doesn't exist yet. Currently just an alias.

Change-Id: I6fc100ae6223010e149e4af01fc7c17630930de7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139162
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-09-01 15:17:20 +02:00
Caolán McNamara 418beb68f0 tdf#150688 return atk_noop_object_wrapper_new() instead of null on failure
Change-Id: I20fd190a36649193ee2a1e536f520344c5f6c89a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139160
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-09-01 15:02:04 +02:00
Caolán McNamara c097c2ff10 cid#1509261 Dereference after null check
Change-Id: Ib6dd69e4610ee6df76cde8446677e0f68bed3e0e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139157
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-09-01 15:01:49 +02:00
Caolán McNamara f5ce2df24a cid#1500537 silence Dereference after null check
CreateView never return a null/empty

Change-Id: I55829aff18f6ea3d508cfbd101ebcbf09ff37295
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139156
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-09-01 15:01:20 +02:00
Caolán McNamara 526c7c72fa cid#1500519 Using a moved object
make this more clear, expected to be null at this point

Change-Id: I85531e0df4e43e59b178dbab8cede1d0de1927d1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139155
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-09-01 15:01:04 +02:00
Caolán McNamara 98d70f1ed9 cid#1513470 Unused value
since...

commit b692eb6680
Date:   Tue Aug 30 10:05:23 2022 +0200

    use more SwPosition::Assign

- rPaM.GetMark()->nNode = rPos.GetNodeIndex()-SwNodeOffset(1);
- rPaM.GetMark()->nContent.Assign( pTNd, nMkContent );
+ rPaM.GetMark()->Assign( rPos.GetNodeIndex() - SwNodeOffset(1) );
+ rPaM.GetMark()->SetContent( nMkContent );

which presumably is ok

Change-Id: I202ee9b7ea3554bd6c2399b8304db15e99af76f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139154
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-09-01 15:00:51 +02:00
Caolán McNamara 7d31ca5772 cid#1513469 silence Dereference null return value
Change-Id: Iaddf5aa526438757195d60dcb255d6928128cf9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139153
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-09-01 14:59:42 +02:00
Caolán McNamara a9aea4bb0d cid#1513473 Division or modulo by zero
Change-Id: Ia08d3d8cb0942bfea6a28e178fcb843d2c74f1f3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139151
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-09-01 14:59:20 +02:00
Julien Nabet e4d9d522fe Revert "tdf#150712: Format->Conditional->Condition 100% CPU"
This reverts commit 076be52655.

Reason for revert: I misread and we replaced "xa" "xd" by empty but it's a space.

Change-Id: I0246f6a3c667b4336f21ffd61fd86574009b7956
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139175
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-09-01 14:17:12 +02:00
Julien Nabet 076be52655 tdf#150712: Format->Conditional->Condition 100% CPU
Flamegraph showed this part, see:
https://bugs.documentfoundation.org/attachment.cgi?id=182121

Change-Id: Id14ea4f95d8912847f77eed561b14d3edee2f67f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139152
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-09-01 13:42:39 +02:00
Tor Lillqvist 63f7765c1d Use more idiomatic C++
Change-Id: I0e9460f2500b76bec049c12413fbbee5dcb239c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139149
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2022-09-01 13:41:43 +02:00
Caolán McNamara cff37ecf6b cid#1513474 silence Explicit null dereferenced
Change-Id: Ifd33ce24ca4cc351a0a68c87b463baf556001c20
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139150
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-09-01 13:32:13 +02:00
Caolán McNamara bc500f802d we have one CJK text test that explicitly attempts to use not bundled fonts
add "allow" to NON_APPLICATION_FONT_USE=

=abort to crash and burn if there is font/glyph fallback, and
=deny to just restrict to the bundled fonts for the test
=allow to explictly denote a tests want to attempt to search for
       and use some specific system-side installed font.

note: currently this only affects fontconfig using platforms

Change-Id: Iadc8a70531ac363b4c3f0c52d9f7bd79191b0139
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139148
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-09-01 13:17:51 +02:00
Noel Grandin fe8dfdf6da use more SwPosition::Assign
part of hiding the internals of SwPosition

Change-Id: Ia832fec32146c0d323a9a6ee1d8645f713e0371f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139146
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-09-01 13:00:20 +02:00
Andrea Gelmini 5dd22c7fe8 Fix typo
Change-Id: Id912bf46e9c9b2aa02f58124cc8ee63a7cd3322b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139137
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-09-01 12:50:43 +02:00
Armin Le Grand (allotropia) 08e62dfbc1 Added BufferedDecompositionGroupPrimitive2D
...and adapted GlowPrimitive2D to it as a preparation to
use similar to BufferedDecompositionPrimitive2D, but for
primitives based on GroupPrimitive2D.

Change-Id: Ia1f9a09d4db09238ebbf6ad1303a4cdbdb8baedf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139099
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2022-09-01 12:39:27 +02:00
Luboš Luňák 256086fc9b check parameter count in various opencl functions
Change-Id: I896331287ac5f7705f9fdfdb8e0786a894bc6eb9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139077
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-09-01 12:21:53 +02:00
Luboš Luňák 0f44a1c044 error checking in opencl BIT* functions
Change-Id: Icf76d5d656226de8f96caf59be1d64cf13d07bbe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139076
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-09-01 12:21:37 +02:00
Luboš Luňák 1e3cf15e2d do not return "random" values from opencl FTEST if it can't handle something
Change-Id: I539d184b015b79ce0511656ab5140bce8698397d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139075
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-09-01 12:21:24 +02:00
Luboš Luňák e306e86ac7 opencl LogNormDist cannot handle less than 4 arguments
Change-Id: I0669aed4b0cac5fc2165becb9bc8861a688272c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139074
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-09-01 12:21:05 +02:00
Luboš Luňák ea6ce6cb6a opencl, don't use GetBottom() as value for empty cells
I'm not quite sure what this GetBottom() thing is, but e.g. acosh()
treating empty cell as 1 is not right.

Change-Id: Id86ab979598603c12cec99ec5758c27a99589107
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139078
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-09-01 12:04:25 +02:00
Luboš Luňák 35ed13eba1 make sure opencl generated code doesn't lose numbers precision
The default precision of both iostreams and stdio is 6 decimal places.
This means that e.g. =POWER(1.0000001,2) becomes 1, since buf << number
will write that first number simply as '1'.
Moroever some generated code actually doesn't compile because ambiguous
overloads, because '1' is an integer and not a double, thus floor(1)
is ambiguous, as there are only floating point overloads (and C/C++
are stupid about these conversions).
So force using a wrapper class that forces a higher precision and
the decimal separator. For debug builds, also avoid excessive precision.
Apparently, neither iostreams nor stdio are capable of simply printing
a reasonable floating point representation that wouldn't be too precise
or imprecise.

Change-Id: Ifa045712d90e6a6bbe5781ac3c805c989673dc8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139073
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-09-01 12:03:33 +02:00
Luboš Luňák 0b6520c4ac explicitly use BmpScaleFlag::NearestNeighbor when wanted
That is the algorithm that doesn't change colors, BmpScaleFlag::Fast
works the same way only because it's mapped to this algorithm
(which may not necessarily be the case forever).

Change-Id: Ibebfff668eaa1da93963f8e8601fec51cfdfca34
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139128
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-09-01 12:01:51 +02:00
Luboš Luňák 0415aa11f6 fix limiting drawing of softedge effect (tdf#141981)
Apparently an empty viewport actually means everything should be drawn.

Change-Id: I55ae453a8f264d48222ade48a2953ab7d97c7f79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139125
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-09-01 12:01:07 +02:00
Khaled Hosny a342b72f42 gbuild: set SAL_NON_APPLICATION_FONT_USE in gb_CppunitTest_use_more_fonts
So it applies to all tests using HAVE_MORE_FONTS.

Change-Id: I60567c996286aa8a76c7180c58aea7f214a99d87
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139144
Tested-by: Jenkins
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-09-01 11:52:36 +02:00
Khaled Hosny 80aab73bc2 Add all vcl subdirs to soffice.xcodeproj
I hope I’m not breaking this for others who are using it, if I’m, feel
free to revert.

Change-Id: I6d91340d17c9edcd3db6064c9ab9755ffeac4f96
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139139
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@aliftype.com>
2022-09-01 11:51:38 +02:00
Noel Grandin a1ea7bee33 use more SwPosition::Assign
part of hiding the internals of SwPosition

Change-Id: Id4d02e2b5c156ff7a93ce5d2d974c4594052bac3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139145
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-09-01 11:31:33 +02:00