loplugin:singlevalfields extend to all static vars

Desktop / LibreOffice - Noel Grandin [collabora.co.uk] - 7 December 2018 06:38 EST

Change-Id: Ic238bb5291539fd1b7e98cb4afc9b25f37e7d528 Reviewed-on: https://gerrit.libreoffice.org/64710

38187ec15b6c loplugin:singlevalfields extend to all static vars
basctl/source/basicide/baside2b.cxx | 4 +-
basic/source/classes/sbunoobj.cxx | 9 -
basic/source/classes/sbxmod.cxx | 1 -
basic/source/inc/sbunoobj.hxx | 3 -
basic/source/runtime/methods.cxx | 8 +-
.../clang/singlevalfields.could-be-bool.results | 30 +
compilerplugins/clang/singlevalfields.cxx | 46 +-
compilerplugins/clang/singlevalfields.results | 1172 ++++++++++++++++++--
connectivity/source/commontools/dbconversion.cxx | 2 +-
connectivity/source/commontools/filtermanager.cxx | 2 +-
.../source/drivers/hsqldb/HStorageAccess.cxx | 2 +-
cppu/source/typelib/static_types.cxx | 2 +-
cppu/source/typelib/typelib.cxx | 2 +-
cui/source/dialogs/screenshotannotationdlg.cxx | 10 +-
.../source/primitive2d/controlprimitive2d.cxx | 2 +-
.../source/primitive2d/patternfillprimitive2d.cxx | 6 +-
.../source/primitive2d/sceneprimitive2d.cxx | 2 +-
.../primitive2d/textdecoratedprimitive2d.cxx | 2 +-
.../source/primitive2d/texteffectprimitive2d.cxx | 2 +-
.../source/primitive2d/textprimitive2d.cxx | 2 +-
.../source/primitive2d/wrongspellprimitive2d.cxx | 2 +-
.../source/primitive3d/polygontubeprimitive3d.cxx | 2 +-
extensions/source/bibliography/bibmod.cxx | 2 +-
extensions/source/bibliography/bibprop.hxx | 20 +-
framework/source/loadenv/loadenv.cxx | 2 +-
.../source/nativenumber/nativenumbersupplier.cxx | 6 +-
idlc/source/astdeclaration.cxx | 2 +-
sc/source/ui/view/formatsh.cxx | 2 +-
scripting/source/stringresource/stringresource.cxx | 2 +-
.../accessibility/AccessibleSlideSorterObject.cxx | 5 +-
.../ui/accessibility/AccessibleSlideSorterView.cxx | 3 +-
sd/source/ui/dlg/headerfooterdlg.cxx | 2 +-
sd/source/ui/view/sdview.cxx | 2 +-
sfx2/source/appl/newhelp.cxx | 2 +-
sfx2/source/view/classificationhelper.cxx | 22 +-
svtools/source/control/filectrl.cxx | 2 +-
svx/source/sdr/overlay/overlayrectangle.cxx | 2 +-
.../sdr/primitive2d/sdrframeborderprimitive2d.cxx | 2 +-
svx/source/xoutdev/xattr.cxx | 2 +-
sw/source/core/fields/reffld.cxx | 2 +-
sw/source/core/layout/paintfrm.cxx | 4 +-
sw/source/uibase/docvw/AnchorOverlayObject.cxx | 2 +-
ucb/source/ucp/file/filglob.cxx | 2 +-
unotools/source/misc/mediadescriptor.cxx | 4 +-
vcl/source/app/svapp.cxx | 2 +-
vcl/source/window/printdlg.cxx | 4 +-
vcl/unx/generic/window/FWS.cxx | 9 -
47 files changed, 1244 insertions(+), 178 deletions(-)

Upstream: cgit.freedesktop.org


  • Share