Commit graph

468541 commits

Author SHA1 Message Date
Mike Kaganski
a8bf972230 Prepare for removal of non-const operator[] from Sequence in toolkit
Change-Id: I10b3f696fdb0bff1781fb22ec560e1c6dfc10b9e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124401
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-31 18:42:08 +01:00
Mike Kaganski
20354bce87 Prepare for removal of non-const operator[] from Sequence in tools
Change-Id: Ifff56df8da9b0b9e4d4e96d6b09f490807e96f52
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124402
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-31 18:41:42 +01:00
Jean-Pierre Ledure
020967fde8 ScriptForge - (SF_Calc) new ShiftDown, ShiftLeft, ShiftRight, ShiftUp methods
ShiftRight()/ShiftDown() insert empty cells at the left/on the top of
a given range and move all cells at the right/bottom of the range
accordingly.
They are similar to the Insert Cells ... menu commands

ShiftLeft()/ShiftUp() delete cells at the left/top of a given
range and move all cells at the right/below the range
accordingly.
They are similar to the Delete Cells ... menu commands

The insertion/deletion may be done for a whole column/row.

The number of columns/rows to insert/delete may be chosen.

All methods are available in Basic and Python user scripts.

Change-Id: I14555a3966c26054925dd71b0696f3dfc773fc21
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124530
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-10-31 18:16:42 +01:00
Julien Nabet
9afbe4178e Fix OSL_ENSURE in ucbhelper
Following:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=6d200d8e739595bd4c6310bede7d66e3c05fbb85
loplugin:moveparam in ucbhelper

Change-Id: I90bf228932887f66b7f9d2e61d2d17bfa91d1935
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124531
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-31 18:00:29 +01:00
Jan-Marek Glogowski
0a53b7be59 Qt de-obfuscate the aWinFlags assignment
The aWinFlags assignement is an obfuscated case statement, so this
explicitly defaults to Qt::Widget and drops the whole or'ing.

Change-Id: If6ac1817d1e600a174c1308a3bad0af5f3f9c30b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124524
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-10-31 17:59:44 +01:00
Caolán McNamara
2023a52919 crashtesting: failure on conversion of fdo74498-1.doc to pdf
noticable since...

commit 894b4911ff
Date:   Thu Oct 28 09:27:29 2021 +0200

    pass DX array around using o3tl::span instead of pointer

but presumably a problem since...

commit 7939059069
Date:   Tue Sep 14 15:28:33 2010 +0200

    filled-tab-editeng.diff: Filled tab wasn't filled in shapes

    n#564454

here I assume the right fix is to extend the DXArray (if non-empty) to
match the new length using the value of the initial entry of the old
DXArray

Change-Id: I36a6040c2d05e108c7c6f9cdab9a33557036cd22
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124528
Tested-by: Jenkins
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-31 17:33:46 +01:00
Jim Raykowski
f3d16ef054 SwNavigator: Improve tracking on showing
Currently, tracking is not updated when the List Box mode is switched
from Off (content tree hidden) to On (content tree shown) and is not
immediatly updated for the sidebar version on showing. This patch fixes
these cases by making tracking update on show.

Change-Id: Ic7c4ba2ddad70e469ecfed97c656fd83b59584d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124499
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2021-10-31 17:20:57 +01:00
Caolán McNamara
786524fc4b ofz: build failure
Change-Id: I4595bb2345db025b04073538ae680bd74696260e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124527
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-31 15:56:19 +01:00
Luboš Luňák
b5e701d36e add o3tl::span ctor from std::vector
Makes code simpler, and std::span can be constructed from std::vector
too.

Change-Id: Iae26b53c52148c19d9068a63126a7393d098d654
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124507
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Tested-by: Jenkins
2021-10-31 15:52:02 +01:00
Mike Kaganski
d4b63c4562 Prepare for removal of non-const operator[] from Sequence in svtools
Change-Id: I614a97e5e2328c787ce19612a88839e234d54382
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124396
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-31 15:49:34 +01:00
Mike Kaganski
1a5ddf061e Prepare for removal of non-const operator[] from Sequence in stoc
Change-Id: I2aabd9a1c764ae69a933bdb4df635ebb0c91f0cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124393
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-31 15:49:25 +01:00
Mike Kaganski
5b54ba7084 Prepare for removal of non-const operator[] from Sequence in svx
Change-Id: Ib5fda9469f9a1987cf9071c0e228c582cfb3dfa1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124397
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-31 15:49:07 +01:00
Mike Kaganski
3d469248ad Prepare for removal of non-const operator[] from Sequence in sw
Change-Id: Ie9530262e4addec01091cc1147e68be5b5a782f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124398
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-31 15:48:50 +01:00
Caolán McNamara
e5876404a3 uniformly allow focus into GtkToolbar
Change-Id: I110daf882d9196cf7552e43a157ba4ae73fd670b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124458
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-31 15:07:28 +01:00
Caolán McNamara
912bc5d737 gtk[3 vs 4]: remove can-focus from GtkToolButton
so tab-cycling inside sidebar panel toolbars works as wanted

It needs to be false for gtk3 and true for gtk4, leaving it unspecified
gets a desired working default.

Change-Id: I34869d5dcffc814f62ec2b717108f90c395a067b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124446
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-31 15:07:12 +01:00
Caolán McNamara
b73bf4a5fc pass an explicit parent to use for any warning dialogs
Change-Id: I7909775b63dfe830e5f0e5b024fa6b47a074736a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124457
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-31 15:06:37 +01:00
Luboš Luňák
5f909fb332 do not mix bitmap read and write access
Change-Id: Ic479c467f2dcb85c5c786e90a0dcaf48b7d39505
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124508
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-10-31 13:35:43 +01:00
Noel Grandin
118aa4b843 tools::Long->sal_Int32 in bitmap filters
Change-Id: Ic37f238824e1af11c924d3bccc4933cee364d798
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124505
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-31 13:02:27 +01:00
Julien Nabet
4de865e3b0 Unused TOOLBOXBUTTON_DEFAULT_LOCATION in fpicker
Change-Id: I6da38e7585a2e607e407e5f829b64fc5498d04d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124506
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-31 12:15:35 +01:00
Mike Kaganski
2d43223403 Prepare for removal of non-const operator[] from Sequence in svl
Change-Id: I6b71a075de5d5ac002dc48cd2bb21ff5bf5dd072
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124395
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-31 11:49:22 +01:00
Mike Kaganski
c981ac598a Prepare for removal of non-const operator[] from Sequence in svgio
Change-Id: I2ae44fc1016b062b574b3aa1e25f5b59b18e2fe4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124394
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-31 11:34:17 +01:00
Mike Kaganski
6f17715a4f Prepare for removal of non-const operator[] from Sequence in sot
Change-Id: I5d6da6ce158fb29ff37452281d28c297795b4cb0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124391
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-31 10:30:32 +01:00
Mike Kaganski
baf1b02b49 Prepare for removal of non-const operator[] from Sequence in starmath
Change-Id: I0ac241a5849a5c7d2726ceb0084612a7a1070b18
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124392
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-31 10:30:23 +01:00
Noel Grandin
b3fe9d6206 tools::Long->sal_Int32 in Bitmap::Dither
Change-Id: I8cc4d6d964946e1f5fce4ae5b0bdc08b98ce8e43
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124504
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-31 10:03:42 +01:00
Julien Nabet
f0e8fa40f2 Typo: TOOLBOXBUTOON->TOOLBOXBUTTON in fpicker
Change-Id: I7110afbdd554b180c368894b9aa6b3b79a8fb2b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124498
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-31 09:52:33 +01:00
Noel Grandin
364c2838ba tools::Long->sal_Int32 in ImplExpand
Change-Id: I9f57bf3b67b71aece6e595e83f70a3dff4ec3d71
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124503
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-31 09:49:46 +01:00
Noel Grandin
936d5b409f tools::Long->sal_Int32 in StretchAndConvert
Change-Id: Id8ceb7042cf28e9130986393aff52bc29920b51a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124502
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-31 09:49:22 +01:00
Noel Grandin
c7a4aed8d9 tools::Long->sal_Int32 in OutputDevice::Blend*
Change-Id: I26ad2727dbc258a49e7f370167b80e98438a50e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124494
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-31 09:03:10 +01:00
Noel Grandin
d57617b79d tools::Long->sal_Int32 in Toolbox
Change-Id: I1f337558e6fcd6ea552814611cd6fb8a4f3b2f42
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124493
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-31 09:02:54 +01:00
Mike Kaganski
d07c4fe768 Prepare for removal of non-const operator[] from Sequence in smoketest
Change-Id: Ica192dfb16716b4fb38d59eee0a39c6dd411b6a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124390
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-31 06:57:21 +01:00
Mike Kaganski
df16e70378 Prepare for removal of non-const operator[] from Sequence in slideshow
Change-Id: Ic3d4835a6153ce3451e5ddf7a74310ea2b70da2c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124389
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-31 06:57:10 +01:00
Mike Kaganski
8b9e502480 Prepare for removal of non-const operator[] from Sequence in sdext
Change-Id: I1992d1ffbbc80efe9749ebd254971a0a92a10019
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124386
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-31 06:56:57 +01:00
Mike Kaganski
ce22935a85 Prepare for removal of non-const operator[] from Sequence in sfx2
Change-Id: I0cdce64983901a6cc3b50dc9873a370ff08b9eb2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124387
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-31 06:56:49 +01:00
Mike Kaganski
c6af59b234 Prepare for removal of non-const operator[] from Sequence in shell
Change-Id: Ie7792d0aa3f404d9177a1eb6f75569577fc3d6a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124388
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-30 23:18:51 +02:00
Mike Kaganski
94f34c57be Prepare for removal of non-const operator[] from Sequence in sd
Change-Id: I82dc012188f846161beeb54901c2f5d298e5c3b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124385
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-30 23:13:41 +02:00
Caolán McNamara
2afbef0037 Related: tdf#145377 call select handler if restoring previously selected script
Change-Id: Ibab3e920e6830c86bb6bfba070f14ca8a153c25f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124429
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-30 22:40:43 +02:00
Mike Kaganski
b9f098c5a2 Another tools::Long->sal_Int32 in the DX array
A leftover from commit bc413e15fa

Change-Id: Ibacdf71f608657a4488c84b88ef54fb52d3e8439
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124496
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-30 22:26:06 +02:00
Mike Kaganski
22ba855d1a Prepare for removal of non-const operator[] from Sequence in scripting
Change-Id: Ia85fe6de38674c7982b0f983a798a4d99ec1fb70
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124384
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-30 22:04:01 +02:00
Mike Kaganski
f528fff9b5 Prepare for removal of non-const operator[] from Sequence in sc
Change-Id: Ic49c0fda3e98aeda471e674b68d40464ddac1ea1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124382
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-30 21:55:53 +02:00
Mike Kaganski
9a66812925 Prepare for removal of non-const operator[] from Sequence in opencl
Change-Id: Id58484eb9b955948a8edb48000b86cec3b721060
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124377
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-30 21:55:44 +02:00
Mike Kaganski
881ea76399 Prepare for removal of non-const operator[] from Sequence in sccomp
Change-Id: Ic55d553c85dd0abb92b6b7f223a437c8c2ca0700
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124383
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-30 21:55:34 +02:00
Mike Kaganski
83f50dee5b Prepare for removal of non-const operator[] from Sequence in sax
Change-Id: I9df7229f55347bd4477626595cab459065cc4bb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124381
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-30 21:12:29 +02:00
Mike Kaganski
c5196e281f Prepare for removal of non-const operator[] from Sequence in reportdesign
Change-Id: I7631aeb90bf224ba7a00025df6e3fa444b216a42
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124380
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-30 20:55:43 +02:00
Adolfo Jayme Barrientos
7ddf23d194 Update git submodules
* Update helpcontent2 from branch 'master'
  to 081aa4f6de2c2f6388267883e68966b9da02981f
  - BASIC syntax error
    
    Change-Id: I6ed5bb2541ce6ad6e2bc4f877a093ea5f9cb7aa5
    
  - Since Windows 8, “Run” isn’t a clickable Start option
    
    Change-Id: I1e02547fbe6042e47c028062ea43375cb3ebd0a4
2021-10-30 20:50:10 +02:00
Mike Kaganski
d0a8d4a973 Prepare for removal of non-const operator[] from Sequence in package
Change-Id: Ib5d7fa143c4c5e3b4862ed4b91acf1e2dfc4d8bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124378
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-30 20:17:13 +02:00
Mike Kaganski
ce9611d13f Prepare for removal of non-const operator[] from Sequence in pyuno
Change-Id: Ifea4a6baa5fd3878e807ffde6b3fd2e2794312f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124379
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-30 20:16:57 +02:00
Mike Kaganski
3c1085fcdd Prepare for removal of non-const operator[] from Sequence in oox
Change-Id: Iee1e16c516547e8f23631b33c928ac6637050f68
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124376
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-30 19:22:33 +02:00
homeboy445
d53340b225 Switch to a newer version of ZXing library
Change-Id: Ib2b919bb7545f05631aed2e6176a97aeb866ee84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122772
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-10-30 18:56:48 +02:00
Andreas Heinisch
27d96bfaea tdf#145371 - Delete array variable only before ReDim
Otherwise, global array variables don't maintain their state.

Change-Id: I10dafd9e2946630c5476c9858f765d67ef2f6d6c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124368
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2021-10-30 18:28:17 +02:00
Mike Kaganski
8d1ebf5336 Prepare for removal of non-const operator[] from Sequence in linguistic
Change-Id: I6eda1416ca0421a48bf9811343850aa504019d57
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124374
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-30 18:27:43 +02:00