loplugin:unusedfields improvements

Desktop / LibreOffice - Noel Grandin [collabora.co.uk] - 14 June 2019 09:37 EDT

tighten up the only calling write-only methods part of the analysis

Change-Id: I5bc6fdf0ce51940653317e8a48c5241705c90d4c Reviewed-on: https://gerrit.libreoffice.org/74022

8303e7ed668f loplugin:unusedfields improvements
basctl/source/basicide/basobj2.cxx | 7 +-
basctl/source/basicide/macrodlg.cxx | 3 +-
basctl/source/basicide/moduldlg.cxx | 4 +-
basctl/source/basicide/moduldlg.hxx | 3 +-
compilerplugins/clang/test/unusedfields.cxx | 23 +-
compilerplugins/clang/unusedfields.cxx | 57 ++--
.../unusedfields.only-used-in-constructor.results | 14 +-
.../clang/unusedfields.readonly.results | 8 +-
.../clang/unusedfields.untouched.results | 14 +-
.../clang/unusedfields.writeonly.results | 346 +++++++++++----------
include/sfx2/basedlgs.hxx | 2 -
include/svx/dlgctl3d.hxx | 1 -
include/svx/ruler.hxx | 3 +-
sc/source/filter/excel/frmbase.cxx | 8 +-
sc/source/filter/inc/formel.hxx | 4 +-
sc/source/filter/qpro/qproform.cxx | 2 +-
.../filter/xml/XMLChangeTrackingExportHelper.cxx | 1 -
.../filter/xml/XMLChangeTrackingExportHelper.hxx | 3 -
sc/source/ui/inc/tabvwsh.hxx | 1 -
sc/source/ui/view/tabvwsh4.cxx | 2 -
sd/Library_sd.mk | 1 -
.../controller/SlideSorterController.cxx | 2 -
.../ui/slidesorter/inc/view/SlsFontProvider.hxx | 70 -----
sd/source/ui/slidesorter/view/SlsFontProvider.cxx | 82 -----
.../ui/slidesorter/view/SlsPageObjectLayouter.cxx | 1 -
sfx2/source/dialog/basedlgs.cxx | 5 -
slideshow/source/engine/animatedsprite.cxx | 2 -
slideshow/source/inc/animatedsprite.hxx | 1 -
svgio/inc/svgsymbolnode.hxx | 6 -
svgio/source/svgreader/svgsymbolnode.cxx | 7 +-
svx/source/dialog/dlgctl3d.cxx | 15 -
svx/source/dialog/rlrcitem.cxx | 2 +-
svx/source/dialog/svxruler.cxx | 6 +-
33 files changed, 277 insertions(+), 429 deletions(-)

Upstream: cgit.freedesktop.org


  • Share