Serge Krot
0b018d202d
tdf#39440: fix several warnings reported by cppcheck
...
Change-Id: I560d28b7cc67740c6479494d0e5aa62d2ac6ffae
Reviewed-on: https://gerrit.libreoffice.org/19587
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-10-25 22:31:44 +00:00
Noel Grandin
382eb1a23c
remove untyped Link<>
...
Change-Id: I809f9e10309ceadda0a82c3818277323b34ec61b
Reviewed-on: https://gerrit.libreoffice.org/19491
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-21 07:44:43 +00:00
Andrzej Hunt
7276c34667
Ignore the default constructor for loplugin:badvectorinit too
...
The default constructor doesn't necessarily have 0 parameters,
hence we need to explicitly test for this too.
Change-Id: I685c44ab373ec8234a86824a77cc523a355c8b05
Reviewed-on: https://gerrit.libreoffice.org/19496
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-21 06:54:08 +00:00
Stephan Bergmann
931c51f65b
Make loplugin:defaultparams handle enum values and nullptrs
...
Change-Id: I0c57b414d9230406cf2632494ccfa576510b0e61
2015-10-20 14:39:48 +02:00
Noel Grandin
56e6f0da83
new loplugin: badvectorinit
...
look for places calling the 1-argument vector fill constructor and then
immediately called push_back, which is generally a sign that its
leaving empty slots.
Change-Id: I34e69b8d09cc48c0d409499faaf192b9f86bc517
Reviewed-on: https://gerrit.libreoffice.org/17525
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-10-20 11:35:31 +00:00
Stephan Bergmann
7ba3711606
Remove accidentally committed debug code
...
Change-Id: Iba6b97d1a4a0988a3b0404bd14097f92a500d8ae
2015-10-20 11:43:58 +02:00
Stephan Bergmann
415d43473e
Make loplugin:defaultparams work for multiple default params per function
...
Change-Id: I0aa3841e1ac3375f519384f3012450bc683d1c51
2015-10-20 08:43:18 +02:00
Noel Grandin
ec20e65469
loplugin:mergeclasses, merge IControlContext with OBrowserListBox
...
Change-Id: Ib3e54c9fe8d9445ad799e4b06c41443093af87fb
2015-10-13 10:07:50 +02:00
Noel Grandin
38b4b7590d
loplugin:mergeclasses, merge OOdbcLibWrapper with OOdbcEnumeration
...
Change-Id: I2e564e90c11bb46022a5e258ad013aeb2fe4ca2e
2015-10-13 10:07:50 +02:00
Noel Grandin
ade2ba503f
loplugin:mergeclasses, merge ILabelProvider with LabelProvider
...
Change-Id: I8fb231b4189c09d8e049855d38b0f1eb518ac2b9
2015-10-13 10:07:50 +02:00
Noel Grandin
3e5f9c0343
loplugin:mergeclasses, merge IImageProvider with ImageProvider
...
Change-Id: I6af8b1ab9198439af60e38a9adc6bdd29d20ab52
2015-10-13 10:07:49 +02:00
Noel Grandin
9abb98e019
loplugin:mergeclass, merge CompareLine with SwCompareLine
...
Change-Id: Id423939377e6ebb0881a9a7361d6baedbf87931c
2015-10-13 10:07:49 +02:00
Stephan Bergmann
b36963c0a6
Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code
...
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12 17:52:29 +02:00
Stephan Bergmann
bff4c13475
Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY code
...
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12 17:52:26 +02:00
Noel Grandin
e1d7a84955
loplugin:mergeclasses
...
Change-Id: I935c6144a7731091e7fdb0a818b54f30d3304f2e
2015-10-12 09:13:34 +02:00
Noel Grandin
8d811d701f
loplugin:mergeclasses
...
Change-Id: I672d277a8d2dc6b57b299679e7e98348f9dbde30
2015-10-12 09:13:34 +02:00
Noel Grandin
1d8806120f
loplugin:mergeclasses
...
Change-Id: I31fe981dac14bd732ee68ee1a2e475dd1b0498a2
2015-10-12 09:13:34 +02:00
Noel Grandin
6b34ac2419
loplugin:mergeclasses
...
Change-Id: Ic02d59708670949c3342566753882eebd086438f
2015-10-12 09:13:34 +02:00
Noel Grandin
06e4a98990
loplugin:mergeclasses
...
Change-Id: I6266369912413d51c9f1595b13dca97d3d74225f
2015-10-12 09:13:34 +02:00
Noel Grandin
f8ba308cd7
loplugin:mergeclasses
...
Change-Id: Id6e39c2c20ab3da5a8b8628f99a940b896feff78
2015-10-12 09:13:33 +02:00
Noel Grandin
523eaf4888
loplugin:mergeclasses
...
Change-Id: Ia4c09c5b835e77eaa2d4c0d8c74f146feb0905be
2015-10-12 09:13:33 +02:00
Noel Grandin
48532dfa60
loplugin:mergeclasses
...
Change-Id: I1ce2e31e4dae780612e51b3806ee6044be9cf4bb
2015-10-12 09:13:33 +02:00
Noel Grandin
529f15859b
loplugin:mergeclasses
...
Change-Id: I660b102e0e053e632ea6f1880e92652bc1ed5e5e
2015-10-12 09:13:33 +02:00
Noel Grandin
0f88736128
loplugin:mergeclasses
...
Change-Id: Icd01de71fe87e0bf17eba39f5b00fc9a46765509
2015-10-12 09:13:33 +02:00
Noel Grandin
3e6ff89b5c
loplugin:mergeclasses
...
Change-Id: Ia4ae4f17fba9775fc53618ab1662c10e37ee4be3
2015-10-12 09:13:33 +02:00
Noel Grandin
14421f20dc
improve the mergeclasses loplugin
...
Change-Id: Icbb873c4ac15ef146b126b97f45eabdc53cd4c1a
2015-10-12 09:13:32 +02:00
Noel Grandin
527a9a1146
loplugin:mergeclasses
...
Change-Id: I555e3db911a97e798ce9f10c76d7fe187ea550a7
2015-10-12 09:13:32 +02:00
Caolán McNamara
71bb6d6b72
Revert "loplugin:mergeclasses" to fix mac build
...
because fontsubst.cxx is not built on mac.
move PreMatchFontSubstitution to PhysicalFontCollection.cxx ?
This reverts commit 349700228e4449ace956b30bc65208b9196f0a78.
Change-Id: I007f24313ddfd0eb3db3fd599abcf1eae3da4e9c
2015-10-07 12:57:44 +01:00
Noel Grandin
bb76b8f106
loplugin:mergeclasses
...
Change-Id: I8f5c2ae658f8784233db98f752b6f9fa53110195
2015-10-07 12:32:23 +02:00
Noel Grandin
5dbbb498b5
loplugin:mergeclasses
...
Change-Id: I0ac98a6fafb48b2be00973ae9fd34f4bc756cd7f
2015-10-07 12:32:23 +02:00
Noel Grandin
a3eacae95a
loplugin:mergeclasses
...
Change-Id: Icf1731dfbd16d85decd2aaf80be4841ac37007fd
2015-10-07 12:32:23 +02:00
Noel Grandin
349700228e
loplugin:mergeclasses
...
Change-Id: I9f56beebae1ea02a8914b7b25fe7565f7b0df053
2015-10-07 12:32:23 +02:00
Noel Grandin
64d0de92ab
loplugin:mergeclasses
...
Change-Id: If8fabc79f4cbef6fc0d164bbe2f6136f1d1f00af
2015-10-07 12:32:23 +02:00
Noel Grandin
8b98c8b32c
loplugin:mergeclasses
...
Change-Id: I52446e517c2315516ea74a30767393ff32960799
2015-10-07 08:27:27 +02:00
Noel Grandin
77f884064d
loplugin:mergeclasses
...
Change-Id: I14985f98989861d74b3904ab79f3ced5a3d96f73
2015-10-07 08:27:26 +02:00
Noel Grandin
44a46d4f3b
loplugin:mergeclasses
...
Change-Id: I28d8bd79f266df7e9ea420f7238ed332ec4205a9
2015-10-07 08:27:26 +02:00
Noel Grandin
dee4645edc
loplugin:mergeclasses
...
Change-Id: I9b926e59b2df62c22fb5ecfc7c16d8047b6da2a4
2015-10-07 08:27:26 +02:00
Noel Grandin
dff288c6ee
loplugin:mergedclasses
...
Change-Id: I3eb2de4edcd4b2d757d1e0916e7c903b5d6c569e
2015-10-07 08:27:26 +02:00
Noel Grandin
b700e3426e
loplugin:mergeclasses
...
Change-Id: I131d192a0029ec3eebacb72341ba3113de0e19ac
2015-10-07 08:27:26 +02:00
Noel Grandin
3fbc3adefd
loplugin:mergeclasses
...
Change-Id: I1347e51ef727da81be0c7937cad6e3f5edbf15a8
2015-10-07 08:27:26 +02:00
Noel Grandin
6fbbb8504a
loplugin:mergeclasses
...
Change-Id: I45ccf880900f46a121c73152615ec3534a47d750
2015-10-07 08:27:26 +02:00
Noel Grandin
b981473658
loplugin:mergeclasses
...
Change-Id: I93bb1b9de62d30960028b719ee7ec773358c5c0f
2015-10-07 08:27:26 +02:00
Noel Grandin
973961ae60
loplugin:mergeclasses
...
Change-Id: I01810a8db024e207783fc09b88bd932bca8ed103
2015-10-07 08:27:26 +02:00
Noel Grandin
94b0c2203b
loplugin:mergeclasses
...
Change-Id: Ia19514d33fd025a1df9d26b94e2d39113d122392
2015-10-07 08:27:25 +02:00
Noel Grandin
2e658321f5
loplugin:mergeclasses
...
Change-Id: I84dee96b7a1f72db46e3330ec5195367dfce894a
2015-10-07 08:27:25 +02:00
Noel Grandin
4281599a04
loplugin:mergeclasses
...
Change-Id: If5da1527a048997aec1dbc07afbdddabd2c4168d
2015-10-07 08:27:25 +02:00
Noel Grandin
e7311cbaba
loplugin:mergeclasses
...
Change-Id: Ia3b63df5e8752690e3350f8a13445a096a839952
2015-10-07 08:27:25 +02:00
Noel Grandin
05e61719e2
loplugin:mergeclasses
...
Change-Id: If918532fcc860e3deacd9c86dd7a2d554e4f748d
2015-10-07 08:27:25 +02:00
Noel Grandin
2b57de8bb0
remove another custom refcounting base class
...
Change-Id: Icd8a8d79da0ada68e9ee869c3c2a7b93db5b2733
2015-10-07 08:27:25 +02:00
Noel Grandin
857ff93895
loplugin:mergeclasses
...
Change-Id: I9b5f35ac3a491bcf0bb5bb1b04f749321fc9f72b
2015-10-07 08:27:24 +02:00