Noel Grandin
31baba076f
update unusedfields loplugin results
...
Change-Id: I4bdf5701fe9a4dec618440db1fe69e5aad7a60bb
2017-09-27 11:32:59 +02:00
Noel Grandin
1ff0f0ba29
improve unusedfields loplugin
...
(*) IsPassedByNonConst was completely wrong, not even sure why it worked
before.
(*) treat a field passed to operator>>= as being written to, but not
read
Change-Id: Id3a5f2f35222986fe5edba3f5a58215a1815d401
2017-09-18 09:45:15 +02:00
Noel Grandin
a84026031d
loplugin:unusedfields
...
Change-Id: Ie26c52090d984c40cc108c9f20eb2ba31a866796
Reviewed-on: https://gerrit.libreoffice.org/42090
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-09-08 09:37:59 +02:00
Noel Grandin
4d41b2e42f
loplugin:unusedfields
...
Change-Id: I81bcf4f56599146536ba8d66cc86fa5a08737298
Reviewed-on: https://gerrit.libreoffice.org/41556
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-08-25 13:10:03 +02:00
Noel Grandin
4ed70b89aa
loplugin:unusedfields
...
Change-Id: I21e538b8e9c7a5f0fb233019efac37a3555e3c93
Reviewed-on: https://gerrit.libreoffice.org/40438
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-26 11:15:52 +02:00
Noel Grandin
8045cef05c
improve unusedfields loplugin readonly analysis
...
(*) better analysis of init-list-expressions
(*) fix analysis of calls to members, turns out there is no parameter
offset after all
(*) check for passing arrays to functions, need to check
if the parameter is T* or T const *
(*) check for assigning field to a T& variable
Change-Id: Ie6f07f970310c3854e74619fe4fd02a299bf6879
2017-07-24 08:39:55 +02:00
Noel Grandin
2b4cb88c02
loplugin:unusedfields in basctl..connectivity
...
Change-Id: I2f10daadb84e48eaf96f6cc63899b2f4fce7326e
Reviewed-on: https://gerrit.libreoffice.org/40295
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-22 14:07:49 +02:00
Noel Grandin
939f9bd0b5
loplugin:unusedfields in cppcanvas..cui
...
Change-Id: I1cf1f7919e03d863c6f7756e1caf3b9313777479
Reviewed-on: https://gerrit.libreoffice.org/40294
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-22 14:04:39 +02:00
Noel Grandin
5fad6eb1b3
loplugin:unusedfields in editeng
...
Change-Id: I61ddd2ce8ded65251fdf1903e6cb67f0d18c9451
Reviewed-on: https://gerrit.libreoffice.org/40293
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-22 08:51:32 +02:00
Noel Grandin
3ff8ecb53e
loplugin:unusedfields in extensions..framework
...
Change-Id: I687c67c8f3c0e03c6ab2da0a93a9e62f0caf12cd
Reviewed-on: https://gerrit.libreoffice.org/40292
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-22 08:50:41 +02:00
Noel Grandin
760a7791a2
loplugin:unusedfields in io
...
Change-Id: I8be28fa2ed1e005c76eafc60746620338c8a49ac
Reviewed-on: https://gerrit.libreoffice.org/40291
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-22 08:49:43 +02:00
Noel Grandin
e5ee29737e
loplugin:unusedfields in oox,reportdesign
...
Change-Id: I0201d76cb3d4605bdc00c81cfa9d91f98341c7f3
Reviewed-on: https://gerrit.libreoffice.org/40290
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-22 08:47:34 +02:00
Noel Grandin
cf530f290d
loplugin:unusedfields in sd
...
Change-Id: I7f89e038f3d9bd0da658c7d3b8faec23d8a593db
Reviewed-on: https://gerrit.libreoffice.org/40257
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-21 10:06:51 +02:00
Noel Grandin
5e4b4eecb1
loplugin:unusedfields in sfx2
...
Change-Id: Id6666065bf3b27388d87aa2605229e83f1aed79a
Reviewed-on: https://gerrit.libreoffice.org/40255
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-21 09:39:21 +02:00
Noel Grandin
8e7cb95888
loplugin:unusedfields in svtools
...
Change-Id: I5484fe5ee449e72919591bd374366aa60f792e28
Reviewed-on: https://gerrit.libreoffice.org/40254
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-21 08:40:03 +02:00
Noel Grandin
7b59273c6c
loplugin:unusedfields in svx
...
Change-Id: I7fc5bf55b01d464815771220914f21d8e85b5a36
Reviewed-on: https://gerrit.libreoffice.org/40253
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-21 08:38:06 +02:00
Noel Grandin
5b5995c05a
loplugin:unusedfields in writerfilter
...
Change-Id: I7831da8cccfa730c8615ef770d0add95cbde396b
Reviewed-on: https://gerrit.libreoffice.org/40215
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-20 15:47:54 +02:00
Noel Grandin
4f75a93101
loplugin:unusedfields in tools
...
Change-Id: I4e26c4750f6ff6c246a25507cfed1a0b4e3c6b81
Reviewed-on: https://gerrit.libreoffice.org/40225
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-20 15:09:55 +02:00
Noel Grandin
85f08e3e34
remove some "optimisation" insanity in ScriptEventContainer
...
I can only imagine the weird bugs that must have periodically resulted
when we had a hash value collision.
In the process, fix hasElements() to return a useful value
Change-Id: I1d9a052e73332b4b2bbc9c1fd8142c13eb22f1be
Reviewed-on: https://gerrit.libreoffice.org/40226
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-20 15:09:20 +02:00
Noel Grandin
f24b46c272
loplugin:unusedfields in vcl
...
Change-Id: I207866df495ec81bb9288e6d0f664b96d90251d6
Reviewed-on: https://gerrit.libreoffice.org/40217
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-20 13:02:31 +02:00
Noel Grandin
a976fa5f00
mxStatusIndicator is unused
...
ever since
commit 8dc268058690337459bc38862c1532c34f171a48
Author: Björn Milcke <bm@openoffice.org>
Date: Fri Feb 9 15:48:29 2001 +0000
Req. change Load/SaveAs for XML format - removed deprecated CTOR
Change-Id: I772123e89391fea3578c7ed0986e1bc2d2a42a97
2017-07-20 09:36:58 +02:00
Noel Grandin
1802cfca17
mxStatusIndicator is unused
...
ever since
commit eaefa688bfff0f73992c84496d4ce89e16ac3550
Author: Caolán McNamara <caolanm@redhat.com>
Date: Wed Nov 2 22:33:34 2011 +0000
callcatcher: ditch some unused code
Change-Id: Ifca9734ad29257d0d692cf36e709837cbe02af29
2017-07-20 09:36:57 +02:00
Noel Grandin
bd5a91f5a3
m_xExtHandler is unused
...
ever since it was added in
commit eb4b36c6e797e5eda511422c48ff0a210e2cc460
Date: Tue Jul 13 08:00:42 2004 +0000
INTEGRATION: CWS oasis (1.1.2); FILE ADDED
Change-Id: If4375c6e57dbe635f53ca0395cb7bdc02de81b18
2017-07-20 09:36:57 +02:00
Noel Grandin
32878b6857
enhance unusedfields plugin to find readonly fields
...
Change-Id: I4da97443fc7eb14fd94959a026ab45a9256c055f
Reviewed-on: https://gerrit.libreoffice.org/40158
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-19 09:25:52 +02:00