loplugin:indentation find broken if statements

Desktop / LibreOffice - Noel Grandin [collabora.co.uk] - 6 November 2019 05:27 EST

so I don't read the "then" block as being a sequential statements

Change-Id: Ib2004acd3518bd4ebd2246f02a26c2c0a8bbab4c Reviewed-on: https://gerrit.libreoffice.org/82069

7b99cdb2d77a loplugin:indentation find broken if statements
.../source/extended/AccessibleGridControl.cxx | 2 +-
.../source/extended/AccessibleGridControlBase.cxx | 2 +-
basic/source/basmgr/basmgr.cxx | 2 +-
basic/source/comp/io.cxx | 22 ++++----
basic/source/sbx/sbxconv.hxx | 9 ++--
bridges/source/cpp_uno/shared/component.cxx | 2 +-
chart2/source/view/main/PropertyMapper.cxx | 4 +-
compilerplugins/clang/indentation.cxx | 47 ++++++++++++++++++
compilerplugins/clang/test/indentation.cxx | 33 ++++++++++++
.../migration/services/wordbookmigration.cxx | 2 +-
editeng/source/editeng/impedit3.cxx | 2 +-
editeng/source/editeng/impedit4.cxx | 2 +-
hwpfilter/source/mzstring.h | 5 +-
idl/source/objects/slot.cxx | 2 +-
include/typelib/typedescription.h | 2 +-
include/vbahelper/vbacollectionimpl.hxx | 6 +--
oox/source/vml/vmlshapecontext.cxx | 2 +-
sc/qa/unit/opencl-test.cxx | 14 +++---
sc/source/core/opencl/formulagroupcl.cxx | 4 +-
sc/source/filter/excel/xestream.cxx | 2 +-
sc/source/filter/lotus/tool.cxx | 4 +-
sc/source/ui/dataprovider/datatransformation.cxx | 2 +-
sc/source/ui/vba/vbaformat.cxx | 21 ++++----
sc/source/ui/view/tabvwshf.cxx | 2 +-
sc/source/ui/view/viewfunc.cxx | 2 +-
sd/source/filter/eppt/pptexanimations.cxx | 10 ++--
sd/source/filter/eppt/pptx-epptbase.cxx | 4 +-
.../controller/SlsSelectionFunction.cxx | 6 +--
sd/source/ui/view/sdview3.cxx | 2 +-
.../pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx | 2 +-
sfx2/source/doc/sfxbasemodel.cxx | 2 +-
sfx2/source/view/frmload.cxx | 58 +++++++++++-----------
soltools/cpp/_tokens.c | 4 +-
soltools/mkdepend/include.c | 2 +-
svtools/source/brwbox/editbrowsebox.cxx | 2 +-
svtools/source/filter/exportdialog.cxx | 2 +-
svx/source/table/cellcursor.cxx | 2 +-
sw/source/core/fields/expfld.cxx | 2 +-
sw/source/core/frmedt/fews.cxx | 2 +-
sw/source/core/layout/fly.cxx | 6 +--
sw/source/core/layout/frmtool.cxx | 2 +-
sw/source/core/layout/ftnfrm.cxx | 4 +-
sw/source/core/text/txtfrm.cxx | 2 +-
sw/source/core/unocore/unofield.cxx | 2 +-
sw/source/uibase/docvw/edtwin2.cxx | 2 +-
sw/source/uibase/shells/basesh.cxx | 15 +++---
unotools/source/config/configitem.cxx | 32 ++++++------
vbahelper/source/vbahelper/vbacolorformat.cxx | 2 +-
vcl/source/app/help.cxx | 2 +-
vcl/source/control/roadmap.cxx | 2 +-
vcl/source/filter/jpeg/transupp.c | 20 ++++----
vcl/source/window/winproc.cxx | 2 +-
vcl/unx/generic/print/genprnpsp.cxx | 2 +-
vcl/unx/generic/printer/printerinfomanager.cxx | 2 +-
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 9 ++--
xmloff/source/chart/SchXMLImport.cxx | 6 ++-
xmloff/source/draw/shapeexport.cxx | 41 ++++++++-------
57 files changed, 270 insertions(+), 180 deletions(-)

Upstream: cgit.freedesktop.org


  • Share