Commit graph

427649 commits

Author SHA1 Message Date
Miklos Vajna
433fce6571 vcl: less text layout calls in ListBox
Number of GenericSalLayout::LayoutText() calls during Writer startup at
this call-site: 1068 -> 614.

Change-Id: I3bef56e550294a6b2c9fe73c0c6531249c9f1f30
Reviewed-on: https://gerrit.libreoffice.org/60164
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-09-10 09:05:38 +02:00
Adam Kovacs
f3d6c44c9c tdf#108064 OOXML export: keep preset dashes with any line width
Change-Id: I496e1cbac527383837a4e8fcdee42967ecf555e4
Reviewed-on: https://gerrit.libreoffice.org/59968
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2018-09-10 08:50:43 +02:00
Noel Grandin
a6a5064c37 loplugin:simplifyconstruct in sc
Change-Id: I1f67cef740eb946fea9097e6f62085d25b1e891b
Reviewed-on: https://gerrit.libreoffice.org/60225
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-09-10 08:48:08 +02:00
Rahul Gurung
efe119aaa5 tdf#45904 Move _XMergeable Java Tests to C++
Change-Id: I37dc759a64301810a7d32a3f160b9bcbf546dd01
Reviewed-on: https://gerrit.libreoffice.org/60211
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-09-10 02:03:10 +02:00
Rahul Gurung
8e12e51747 tdf#45904 Move _XChild Java tests to C++
Change-Id: Idaf883eadb95792bdb333dea487be084b1722194
Reviewed-on: https://gerrit.libreoffice.org/60146
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-09-10 01:53:20 +02:00
Jochen Nitschke
2789bbfd60 use more range based loops
use references to B2DPolygon where loop index is needed

Change-Id: I3b048072bac139e8e451331b832a03a1413bc9eb
Reviewed-on: https://gerrit.libreoffice.org/60223
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-09-09 22:44:41 +02:00
Caolán McNamara
9ae23dfae8 weld SvxAreaTabDialog
Change-Id: Ia6ec954c6d0117fddc17432301ddeda3b26bbc8e
Reviewed-on: https://gerrit.libreoffice.org/60222
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-09 22:27:55 +02:00
Caolán McNamara
c8610e24ba weld SvxShadowTabPage
Change-Id: I5447641216c8cba3d275d76c00bf7306df8acf19
Reviewed-on: https://gerrit.libreoffice.org/60221
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-09 22:27:44 +02:00
Julien Nabet
b90fa8698e cppcheck: fix arrayIndexThenCheck (vcl/salfont)
Change-Id: Ia530a5947ef5b0718c7076367317c661155c6691
Reviewed-on: https://gerrit.libreoffice.org/60226
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-09-09 22:00:50 +02:00
Matteo Casalin
a658975691 Avoid getTokenCount()
Change-Id: I82fa0cca6cd14f92c11678fa7d416fcf629195b8
2018-09-09 21:08:02 +02:00
Matteo Casalin
a928e673c4 Remove redundant check
Change-Id: Ib35da3156a48d7421ba73a33baee8341dd05355f
2018-09-09 21:08:02 +02:00
Matteo Casalin
5b383e1fee Avoid getTokenCount()
Change-Id: I4f0f921a177e10fc896a12b2bea8aaced1cacf0d
2018-09-09 21:08:01 +02:00
Matteo Casalin
31fca96e53 Avoid getTokenCount()
Change-Id: I3d4ae7495f43cae35e8a149c6523bc0337621724
2018-09-09 21:08:01 +02:00
Matteo Casalin
1b49ad9550 Remove return variable
Change-Id: I322386e103e21e2660716419dd0747765ee087de
2018-09-09 21:08:01 +02:00
Matteo Casalin
7ce0fbe7e7 Reduce OUString operations
Change-Id: Ia95ced36201ee78d511604a33992be0eff4810df
2018-09-09 21:08:00 +02:00
Matteo Casalin
0da6e8800b Avoid getTokenCount()
Change-Id: Ib84104ea0c523729c3a7fe6019ed2e788ff7b189
2018-09-09 21:08:00 +02:00
Matteo Casalin
d1bda6b0b0 Avoid getTokenCount()
Change-Id: I30b9a9122a1e20f50471d1864b8c08af985fc5d7
2018-09-09 21:07:59 +02:00
Matteo Casalin
4f90bd648d Avoid getTokenCount()
Change-Id: I13318d43d3c572bd81080d5bb164fdcd9cd7d27b
2018-09-09 21:07:59 +02:00
Matteo Casalin
d3596b7274 Handle trailing token separator without copying string
Change-Id: I09770f343ed54645cfa1f56ed2604af5e18c1720
2018-09-09 21:07:58 +02:00
Matteo Casalin
82974d069b Avoid getTokenCount()
Change-Id: I6b90d09d37ed47f965110fb93138155a1271c7dc
2018-09-09 21:07:58 +02:00
Matteo Casalin
3ca649430c Fix condition in f573402116937876cb0b80cf7af2a52bf2ccc31a
Change-Id: I6b755c64da5050f69114f63c693ff25c7b12991f
2018-09-09 21:07:58 +02:00
Matteo Casalin
da37548dab Avoid getTokenCount()
Change-Id: I783dc5a6b31c3a2be65a1dc50f69f86a29cca0ae
2018-09-09 21:07:57 +02:00
Matteo Casalin
67e2acb013 Avoid getTokenCount()
Change-Id: I2fa4e9d36fa2707ba7fb6faa59fc8f4be906c04c
2018-09-09 21:07:57 +02:00
Matteo Casalin
daf832451e Avoid getTokenCount()
Change-Id: I3148f7fcd9db1511cf552f62b81ac6937302a160
2018-09-09 21:07:56 +02:00
Matteo Casalin
2c1c0168e0 Avoid getTokenCount()
Change-Id: Idb1eff48c33a8bd9c5119c1caa6ee01202d1d374
2018-09-09 21:07:56 +02:00
Matteo Casalin
41bcf6138c Avoid getTokenCount()
Change-Id: I3d9a1c4a6c57fca1179a08494b6d298d4aeffb05
2018-09-09 21:07:56 +02:00
Matteo Casalin
559449ba62 Avoid getTokenCount and temporaries, reduce scope
Change-Id: Ic97e9952de387040bb87e854eb34a183f0cf60ec
2018-09-09 21:07:55 +02:00
Matteo Casalin
42e961972a Avoid temporary variable
Change-Id: I0febc7c1b270a46460cf7a67ec269458974f70c5
2018-09-09 21:07:55 +02:00
Matteo Casalin
6d76610978 Use optimized OUString concatenation and avoid temporary
Change-Id: I25cae27d9822a323167a8b202acc2bde660abc58
2018-09-09 21:07:55 +02:00
Matteo Casalin
2d94bfbabf Use optimized OUString concatenation
Change-Id: I95e1a00caf2ef82f2931cc3a2709cbb3c6cc3d26
2018-09-09 21:07:54 +02:00
Matteo Casalin
ecdca13805 Bail out early
Change-Id: Ie5b34bfbfd45aaafbf0a64ee72f741066d1632e1
2018-09-09 21:07:54 +02:00
Matteo Casalin
c08c3807fe Reduce scope
Change-Id: Id4f6e3dd2e9acdc8586e59a26b2d4ac6b13980dd
2018-09-09 21:07:54 +02:00
Matteo Casalin
d2fdf06107 Avoid getTokenCount and use indexed getToken
Change-Id: Iaac598c9e56afa29db88237fecbe54d9cb4d4011
2018-09-09 21:07:53 +02:00
Matteo Casalin
088cb5c33f Avoid getTokenCount
Change-Id: I60d11dab9bc04462cf3cc0412a356ec51212fb6e
2018-09-09 21:07:53 +02:00
Matteo Casalin
8a5d742acc Avoid getTokenCount and use indexed getToken
Change-Id: If4aec143168febe9a0f48831752a4114bdea0cbd
2018-09-09 21:07:52 +02:00
Matteo Casalin
416bedb92a Avoid getTokenCount
Change-Id: If9720800a5118d29b1d5d57aa06c21dd4db5b511
2018-09-09 21:07:52 +02:00
Matteo Casalin
e2821c569e Avoid getTokenCount
Change-Id: If4609be33625fd1a9955d393c5c999aef75624ec
2018-09-09 21:07:51 +02:00
Matteo Casalin
42a4937c8b Avoid getTokenCount
Change-Id: I3aeef1208a579dd65eabeaadda3e7250cf333177
2018-09-09 21:07:51 +02:00
Matteo Casalin
cfabcee0a7 Avoid getTokenCount
Change-Id: I261311443edcf943d6f2849acc3042089080dee6
2018-09-09 21:07:51 +02:00
Matteo Casalin
a9bcbd3dad Avoid getTokenCount and use indexed getToken
Change-Id: I1a52508c782c980d369a74f70fc8db5cbe1a0296
2018-09-09 21:07:50 +02:00
Matteo Casalin
c8796e9f1f Avoid getTokenCount and use indexed getToken
Change-Id: I1cea711e1e22edfab8f90c30554135727b97a276
2018-09-09 21:07:50 +02:00
Matteo Casalin
0a2be735c3 Avoid getTokenCount and use indexed getToken
Change-Id: I14c22a3f04bd9ee31d7261f48ed64bad2477f8fd
2018-09-09 21:07:49 +02:00
Matteo Casalin
7224b69bd5 Early bailout
Change-Id: I34cb0f151b35fe775008d449bf7efb72ae81f29d
2018-09-09 21:07:49 +02:00
Matteo Casalin
e3f3ce96d0 OUString: use optimized concatenation, make const
Change-Id: I8b4f6d47852c2a42c55723c3a0757f2c144f6ef2
2018-09-09 21:07:49 +02:00
Matteo Casalin
0e68209fe3 Avoid getTokenCount and use indexed getToken
Change-Id: Ib459f491927518266288aaf2d982279dd47ebd39
2018-09-09 21:07:48 +02:00
Matteo Casalin
68b3eb1372 Avoid getTokenCount and use indexed getToken
Change-Id: Icd6253b09aacfdf63696f4292e1ac4ed8be8242c
2018-09-09 21:07:48 +02:00
Matteo Casalin
78c25a457b Avoid getTokenCount and use indexed getToken
Change-Id: I84141b9863225346d2bedfb702468f37bbeb9f64
2018-09-09 21:07:47 +02:00
Matteo Casalin
e37992d8c0 Avoid getTokenCount and use indexed getToken
Change-Id: I2ad3e6bf35f53e83ccc570f8660a090e340ffa59
2018-09-09 21:07:47 +02:00
Caolán McNamara
c0266d67bb weld SvxGridTabPage
Change-Id: I04c2ead288547ecd0fba22a7a95a2497ab8dc768
Reviewed-on: https://gerrit.libreoffice.org/60217
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-09 19:56:59 +02:00
Caolán McNamara
3ad3292376 unused typedef
Change-Id: Iaba97feb23b22930261b558f953a70aa3364a1ef
Reviewed-on: https://gerrit.libreoffice.org/60219
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-09 19:56:46 +02:00