Commit graph

473193 commits

Author SHA1 Message Date
Luboš Luňák
31e0ada711 remove more hardcoded sheet sizes from Calc tests
E.g. sctablesheetobj test had the limits hardcoded, even as actual
numbers. Apparently some tests cannot easily access global
settings, but this at least makes it easy to check all tests
after modifying ScSheetLimits::CreateDefault().

Change-Id: I6cff577fb01b1ea262dcd1f9fde24e114e19abdc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131040
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-03-05 08:30:59 +01:00
Luboš Luňák
16b4525e87 remove more hardcoded MAXROW
Change-Id: Ica57f18d3fd1bf9ec06f05869f4a956d7d1097b0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131036
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-03-05 08:30:45 +01:00
Luboš Luňák
2e2e30d7ae remove pAttrArray nullptr checks
I don't see how it possibly could be nullptr in a correct situation,
ScColumn::Init() is called right after creating ScColumn.
Also make a bunch of trivial forwarding functions inline.

Change-Id: I710d3cd86a660a8b4dcfbb9966a685b657b93c18
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131035
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-03-05 08:30:30 +01:00
Luboš Luňák
17bcf1073b introduce ScColumnData for ScColumn/ScTable code sharing
Since columns are allocated dynamically on demand, up until
this commit ScTable had ScPatternAttr member for unallocated
columns that it was using in place of those unallocated columns.
But that meant either copy&pasting pieces of code from ScColumn,
or having extra slightly more cumbersome shared function
in ScColumn, or even nothing.

Improve this by creating ScColumnData, which will be used as
ScColumn base class to keep things working as before, but
ScTable now also contains one ScColumnData instance and
so it can also call its functions.

Change-Id: If1d842c4a5aec32e2a7729358006d79cd831349f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131034
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-03-05 08:30:15 +01:00
Mike Kaganski
e001a86393 Use rtl::isAsciiDigit instead of custom macro
Change-Id: Iabca31825dd47cee661b47b14f09e96459a42015
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131033
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-03-05 06:22:06 +01:00
Mike Kaganski
2c82ed2416 Convert some macros to local lambdas
Change-Id: I22942588c7e7ebfb3f53cc5739d2bbd9a7ccfd41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130983
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-03-05 06:21:47 +01:00
Caolán McNamara
c695c60be9 ofz: Null-dereference
Change-Id: I01be4c06c6d97430953ada8f3f5f84ef0a389267
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131032
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 22:38:37 +01:00
Caolán McNamara
d3e0159a3e ofz: Null-dereference
Change-Id: I7d8e30dc85df3cc5800617e5b2f232136bb72cdd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131006
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 22:38:20 +01:00
Caolán McNamara
bc9b5c830f cid#1500511 silence Resource leak
Change-Id: I37cdd52d965112598249b929fa49c759a88606c9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131002
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 22:37:55 +01:00
Caolán McNamara
f3226c540d cid#1500524 Dereference after null check
Change-Id: Ic76f1b4992f51bdfe10406734ce00135607db357
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131001
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 22:37:41 +01:00
Caolán McNamara
5541b7b1dd cid#1500546 silence Explicit null dereferenced
Change-Id: I44b97965548bd84adf6dc3ec1c67f028a4b31075
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131000
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 22:37:15 +01:00
Caolán McNamara
b35571c348 cid#1500566 Uninitialized scalar field
Change-Id: I63e81377227ab35a0697a1d90fb3c9302a12a2b5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130999
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 22:36:58 +01:00
Caolán McNamara
9007ca10a3 cid#1500569 (likely) silence Explicit null dereferenced
Change-Id: Ib44b3dcb94998ce7bf28c9dc1cd3ca7acc6e5190
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130998
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 22:36:45 +01:00
Caolán McNamara
4ffb362653 cid#1500632 Using a moved object
Change-Id: I5e7dd51c9f9b2b295ded161307bbe9a6a23c42de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130997
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 22:36:30 +01:00
Caolán McNamara
9ad752830f cid#1500637 Explicit null dereferenced
Change-Id: I813703287faff25a48aa695ccb9c43bf469354d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130996
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 22:36:10 +01:00
Caolán McNamara
80c0625995 cid#1500652 silence Explicit null dereferenced
Change-Id: Ifb96f7cf3d28b3bef70c8d920d8c926c76329fb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130995
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 22:35:39 +01:00
Caolán McNamara
6b566ed9a3 cid#1500666 Explicit null dereferenced
Change-Id: Id4283660feb95432995872b82e71c3331349f837
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130994
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 22:35:25 +01:00
Armin Le Grand (Allotropia)
9c526b557e Advanced Diagram support: Allow reLayout without keeping oox::Shape
Goal is to minimize dependencies on oox classes. For that pupose
I redesigned the Diagram class to work without remembering
an oox::Shape at all. For reLayout, a new temporary one is created
and used. That was a bit tricky, I needed to find out what
data at the oox::Shape is needed to sucessfully do that with
the not-originally-imported one.

Another necessary change was to move the DiagramFontHeights
adapting mechanism away from oox::Shape, too. It fits better
to Diagram class. That way it can also be used for reLayout
and the oox::Shape gets a little bit smaller, too.

This opens the path to move needed Mode-Data Diagam core
claasses to other libs where changing/im/exPorting them will
be possible.

Change-Id: I40bc4b190d2abc797f5c56f9e476d22155d21422
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131004
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2022-03-04 22:10:10 +01:00
Mike Kaganski
35428625b7 Restore damaged comments
They were broken in commit d1af3a5fc1

  Author Vladimir Glazounov <vg@openoffice.org>
  Date   Wed Jun 04 09:02:42 2008 +0000

    INTEGRATION: CWS sw30bf04 (1.4.2); FILE MERGED

It changed the original EUC-KR file encoding to ASCII.

Change-Id: I423b6e7dac0a47ad7688175780f062ecaefb9101
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131027
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-03-04 22:02:39 +01:00
Mike Kaganski
3dfd6657db Turn conversion macros to proper functions
Change-Id: I463dff95d81e497bafacb60268288bf7526fb3d1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130979
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-03-04 22:00:42 +01:00
Mike Kaganski
823fe1cb50 Avoid some sprintf used with colors
Also addresses possible buffer overflow because of possible
color channel values greater than 255 (found by a fuzzer;
likely by some unexpected value of shade exceeding 100; see
https://gerrit.libreoffice.org/c/core/+/130956/3/hwpfilter/source/hcode.cxx#1292)

Change-Id: I168685c3b51cbc8c9f664282bc9378b3c6669ba0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131003
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-03-04 21:59:56 +01:00
Julien Nabet
ef0e15aaef Remove useless comment on a commented line since always (sal/w32/file_dirvol)
git history gives:
commit b76cb86eaa
Author: Oliver Bolte <obo@openoffice.org>
Date:   Wed Sep 9 09:38:41 2009 +0000

    CWS-TOOLING: integrate CWS mhu20

where it was already commented and from sal/osl/w32/file.cxx

then digging a bit more gives:
commit 73cd79644d
Author: Rüdiger Timm <rt@openoffice.org>
Date:   Mon Oct 17 13:52:03 2005 +0000

    INTEGRATION: CWS perform05 (1.5.52); FILE MERGED

where it's also already commented.

=> No need to keep this

Change-Id: I3e8892e8c8f4e76d2e05a8bd158e77418a12eb38
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131030
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-03-04 20:41:31 +01:00
Julien Nabet
b96435215a Update git submodules
* Update helpcontent2 from branch 'master'
  to 9e228842ec7a29bd45b295f88acd65b86a98b1b3
  - Typo in accesibilitycheck
    
    Change-Id: I3653d1181c954af1224ff810201ac58329293234
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131009
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-03-04 18:56:17 +01:00
Julien Nabet
d17b8d260f Update git submodules
* Update helpcontent2 from branch 'master'
  to 01958f0b3eb4b87adbfa1f4504180182dd3d5935
  - Fix typo acessibilitycheckheading
    
    Change-Id: Id268a158bbb1e089387cb702d42ffae04e89bfcf
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131008
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-03-04 18:56:09 +01:00
Olivier Hallot
6a858e97bf Update git submodules
* Update helpcontent2 from branch 'master'
  to eacc07e423211c32935013e8862d546838746c6d
  - Typo in bookmark/hid
    
    Change-Id: If07b640c888cac960116c7587f81889b5b33982b
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131037
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-03-04 18:38:52 +01:00
Luboš Luňák
582fc887f1 keep conflicting named ranges working with 16k columns
Named ranges named e.g. 'num1' are actually valid cell addresses
when using 16k columns. We prevent naming ranges in a way that would
make them conflict, but it's possible to read them from a saved
file that was created with fewer columns, and in such cases formulas
using them would silently refer to those cells instead of to
the named range. I don't see anything in the ODF spec, but OOXML
in 18.2.5 recommends this in case there are conflicts (only outside
of the normal Excel range of A1-XFD1048576, inside they are always
meant to be references, but our normal range currently is only 1k
columns, and it's simpler and probably harmless to always resolve
a conflict this way). I can optimize performance of this in another
commit if needed.

Change-Id: I46aef54b069700e7bf268b50fdc1a88989f3ee29
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130891
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-03-04 18:16:43 +01:00
Caolán McNamara
83e1d079c4 cid#1500667 Explicit null dereferenced
I can't see how destroyingthe widget is a good idea here

Change-Id: Ie4b2dcf9136568b01b5f4b85bcc849ad1c0504a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130992
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 17:49:01 +01:00
Caolán McNamara
ac2c0cb0cc just make copy of string, not create a new one and then concat to it
Change-Id: I559744b4a92c1ab222e2a80ea44042ba5c3d48a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130993
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 17:48:42 +01:00
Olivier Hallot
9868ac008e Update git submodules
* Update helpcontent2 from branch 'master'
  to 5573c118ebe4b2b5328b328170c21bf77cc9f2e8
  - Update prism.js used in the Help
    
    version 1.2.7
    
    Change-Id: Ibec037314046a2f17a9c6c2b9c67d9353c761319
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131028
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-03-04 17:38:26 +01:00
Caolán McNamara
0d9f46a1f4 cid#1502851 Uninitialized scalar variable
Change-Id: I5d44106e1865c5c498d280d29f5f58115b4588a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130986
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 17:18:23 +01:00
Caolán McNamara
e403e4c0d4 cid#1500743 Unchecked dynamic_cast
Change-Id: I5a384ee3dae657d23bbba46c0dd19e6a71c752b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130987
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 17:18:01 +01:00
Stephan Bergmann
931996e61b Avoid "ThreadSanitizer: unlock of an unlocked mutex"
...in (somewhat contorted) test code

Change-Id: I247a30e580b3d458eb748a833100a662c9890d99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130991
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-03-04 17:17:36 +01:00
Caolán McNamara
9013ee1a00 cid#1500701 silence Dereference after null check
Change-Id: Iccd159c81011863cd664a2903dd14006bdc3b8a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130988
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 17:17:27 +01:00
Caolán McNamara
8b4c152a93 cid#1500690 Explicit null dereferenced
this may stem from:
commit fcc31cd0e0
Date:   Fri Sep 7 18:41:58 2018 +0200
    Revert "clang-tidy performance-move-const-arg"

    This reverts commit 3d604d1cd6.
which didn't 100% revert 3d604d1cd6

so we went from:

LayoutFragmentHandler::LayoutFragmentHandler(XmlFilterBase& rFilter, const OUString& rFragmentPath, SlidePersistPtr pMasterPersistPtr)
: SlideFragmentHandler( rFilter, rFragmentPath, std::move(pMasterPersistPtr), Layout )

to

LayoutFragmentHandler::LayoutFragmentHandler(XmlFilterBase& rFilter, const OUString& rFragmentPath, const SlidePersistPtr& pMasterPersistPtr)
: SlideFragmentHandler(rFilter, rFragmentPath, std::move(pMasterPersistPtr), Layout)

Change-Id: I90cb437c467f88c75d248ed138d078bf56705a21
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130989
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Jenkins
2022-03-04 17:16:48 +01:00
Jens Carl
89aec86200 tdf#45904: Remove ScHeaderFieldObj Java test
The ScHeaderFieldObj Java tests are implemented in
ScEditFieldObj_Header.

Change-Id: I45d3b17bd244090c491c85475f20bc06eb92908f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130953
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2022-03-04 17:16:06 +01:00
Stephan Bergmann
4a804f87eb external/python3: Avoid "ThreadSanitizer: destroy of a locked mutex"
..when building ExternalProject_python3 with Clang -fsanitize=thread,

> WARNING: ThreadSanitizer: destroy of a locked mutex (pid=973799)
>  #0 in AnnotateRWLockDestroy at /home/sbergman/github.com/llvm/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interface_ann.cpp:184:3 (workdir/UnpackedTarball/python3/python +0x498460)
>  #1 in recreate_gil at workdir/UnpackedTarball/python3/Python/ceval_gil.h:138:5 (workdir/UnpackedTarball/python3/libpython3.8d.so.1.0 +0xe84aa9)
>  #2 in _PyEval_ReInitThreads at workdir/UnpackedTarball/python3/Python/ceval.c:350:5 (workdir/UnpackedTarball/python3/libpython3.8d.so.1.0 +0xe847c7)
>  #3 in PyOS_AfterFork_Child at workdir/UnpackedTarball/python3/./Modules/posixmodule.c:469:5 (workdir/UnpackedTarball/python3/libpython3.8d.so.1.0 +0x1163dbd)
>  #4 in os_fork_impl at workdir/UnpackedTarball/python3/./Modules/posixmodule.c:6253:9 (workdir/UnpackedTarball/python3/libpython3.8d.so.1.0 +0x11adcad)
>  #5 in os_fork at workdir/UnpackedTarball/python3/./Modules/clinic/posixmodule.c.h:2750:12 (workdir/UnpackedTarball/python3/libpython3.8d.so.1.0 +0x117b481)
>  #6 in cfunction_vectorcall_NOARGS at workdir/UnpackedTarball/python3/Objects/methodobject.c:463:24 (workdir/UnpackedTarball/python3/libpython3.8d.so.1.0 +0x9db7e1)
>  #7 in _PyObject_Vectorcall at workdir/UnpackedTarball/python3/./Include/cpython/abstract.h:127:11 (workdir/UnpackedTarball/python3/libpython3.8d.so.1.0 +0xf0225e)
>  #8 in call_function at workdir/UnpackedTarball/python3/Python/ceval.c:4963:13 (workdir/UnpackedTarball/python3/libpython3.8d.so.1.0 +0xef3f4a)
>  #9 in _PyEval_EvalFrameDefault at workdir/UnpackedTarball/python3/Python/ceval.c:3469:23 (workdir/UnpackedTarball/python3/libpython3.8d.so.1.0 +0xedc5d8)
[...]
>  #143 in pymain_run_python at workdir/UnpackedTarball/python3/Modules/main.c:610:21 (workdir/UnpackedTarball/python3/libpython3.8d.so.1.0 +0x1149f6c)
>  #144 in Py_RunMain at workdir/UnpackedTarball/python3/Modules/main.c:689:5 (workdir/UnpackedTarball/python3/libpython3.8d.so.1.0 +0x11495e9)
>  #145 in pymain_main at workdir/UnpackedTarball/python3/Modules/main.c:719:12 (workdir/UnpackedTarball/python3/libpython3.8d.so.1.0 +0x114a299)
>  #146 in Py_BytesMain at workdir/UnpackedTarball/python3/Modules/main.c:743:12 (workdir/UnpackedTarball/python3/libpython3.8d.so.1.0 +0x114a30d)
>  #147 in main at workdir/UnpackedTarball/python3/./Programs/python.c:16:12 (workdir/UnpackedTarball/python3/python +0x4d00f8)

Assuming that the GIL is always locked before the fork, better tell TSan about a
fake RELEASED before telling it about a fake DESTROY, to keep TSan's model
consistent.

Change-Id: I6c68d7e415aa0ffc3047e5a5c4c4aca6b0cce8cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130985
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-03-04 17:15:54 +01:00
Kunal Pawar
92e835dbf0 tdf#98705 Replace GetCaseCorrectPathName with GetLongPathNameW
Change-Id: I1d03267cd67da4c155248b585ca59dc5191d28f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130144
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-03-04 17:00:48 +01:00
Luboš Luňák
3db91487e5 set properly attributes for cells in unallocated Calc columns
ScTable::ApplySelectionCache() was setting attributes only for
allocated columns, so e.g. selecting a whole column and making it
bold didn't actually set all of it bold. Make sure it set it
for all columns, and make use of the default attribute for
unallocated columns to avoid allocating columns just to set
them the same attribute.

Change-Id: Ie9886317d7a91c6a43951af69b717f9ba32a1c9e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130984
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-03-04 16:41:58 +01:00
Caolán McNamara
4015c18130 clamp and add some logging like SvmReader
Change-Id: I8f744e1ab2684a0f0995abcc3e753a684a3b970a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130971
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 16:41:30 +01:00
Andrea Gelmini
626e05a221 Fix typos
Change-Id: I4b26b105e4c16b1860389deb7a629ff139bd260c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130976
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-03-04 16:30:05 +01:00
Andrea Gelmini
9bc38822a5 Removed executable bits on rtf files
Change-Id: I4b12bd5d399efa037bb84699572c8c9bfb07e459
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130977
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2022-03-04 16:29:07 +01:00
Andrea Gelmini
ead26a871f Removed duplicated include
Change-Id: I9c62e12f3b0f88ead3dbd2cdc69b7462cbbe294b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130978
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2022-03-04 16:28:49 +01:00
Heiko Tietze
b82b38bbc8 Relates tdf#146929 - Remember user input for the compress dialog
Missing ctor added

Change-Id: Ifb71d6a0653d090e0fc46746d35c70cc8df43e8d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130928
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2022-03-04 16:17:30 +01:00
Szymon Kłos
85a5b1d92e lok: fix goto functionality in Accessibility Check dialog
Change-Id: Ie9ce42ccdb5cf6c72df3d3d48d3e7369f9e2f9cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130830
Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130952
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2022-03-04 15:22:58 +01:00
Miklos Vajna
9df80f6e41 sw clearing breaks: initial layout support
- add a SwTextFly::GetMaxBottom() to know which fly frame has the
  largest bottom position from the current paragraph

- add a SwBreakPortion::m_eClear to track if the break portion is a
  clearing break

- consider height of breaking clear portions in SwLineLayout::CalcLine()

- increase the break portion height in SwBreakPortion::Format() if this
  is a clearing break and we have a fly frame that has a large enough
  bottom position, so the next line can "jump down", below the fly frame
  (so the line can be full width, which is the whole point of a clearing
  break)

Change-Id: Ia21984b9cf9d04287cc19f98495c5b44b880020a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130961
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-03-04 14:45:56 +01:00
Caolán McNamara
fc3d76819f clamp in StretchTextHandler like TextHandler
Change-Id: I4e1247ef2945f46cd1e60e9e473c1a589f990bb4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130975
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 14:44:07 +01:00
Caolán McNamara
f30bc3ccdf use internal SHA256Thumbprint api
Change-Id: I6a51359af58dbb79b6a0399944030dbcbe97152b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130963
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-03-04 14:26:04 +01:00
Rafael Lima
272c161cf2 Update git submodules
* Update helpcontent2 from branch 'master'
  to ba883f0c4bb56c10bbf2d0a675daa27c5cae7cfc
  - Document SheetName property of the Calc service
    
    Change-Id: I46411a2917c79059cda08212ded17c517fa49537
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/130786
    Tested-by: Jenkins
    Reviewed-by: Alain Romedenne
2022-03-04 14:05:25 +01:00
Mike Kaganski
15a428765b Drop commented out wrong tests
Change-Id: Ief086996f94978d2ffd6879a6c3e5b0b2312dffe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130962
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-03-04 13:53:54 +01:00
zhutyra
ab4bae2265 the assumption is that aArray.size() matches the Length argument
LIBREOFFICE-OWMTGGWJ

Change-Id: I68dfcb0dcbb401c62d4e29f9ab6e4ee1ebc7f072
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130973
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-04 13:46:02 +01:00