clang-tidy bugprone-use-after-move in BitmapFilter::Filter

Desktop / LibreOffice - Noel Grandin [collabora.co.uk] - 6 September 2018 15:16 EDT

which necesitated changing the API and hence the call sites

Change-Id: Id417a235bf9b2bf1a3d152dc6600c0635486cafa Reviewed-on: https://gerrit.libreoffice.org/60086

bce47223099b clang-tidy bugprone-use-after-move in BitmapFilter::Filter
canvas/source/vcl/canvashelper.cxx | 3 +-
canvas/source/vcl/spritehelper.cxx | 3 +-
cui/source/dialogs/cuigrfflt.cxx | 44 +++++++++++++++-------
include/vcl/BitmapFilter.hxx | 4 +-
sd/source/ui/dlg/vectdlg.cxx | 3 +-
svx/source/dialog/grfflt.cxx | 24 ++++++++----
vcl/qa/cppunit/BitmapTest.cxx | 3 +-
vcl/source/bitmap/BitmapInterpolateScaleFilter.cxx | 3 +-
.../bitmap/BitmapSeparableUnsharpenFilter.cxx | 3 +-
vcl/source/bitmap/BitmapSmoothenFilter.cxx | 10 ++++-
vcl/source/bitmap/bitmapfilter.cxx | 8 ++--
vcl/source/gdi/animate.cxx | 5 ++-
vcl/source/gdi/bitmap3.cxx | 42 +++++++++++++++------
vcl/source/gdi/bitmapex.cxx | 6 ++-
vcl/source/graphic/UnoGraphicTransformer.cxx | 3 +-
vcl/source/image/Image.cxx | 6 ++-
vcl/source/image/ImplImageTree.cxx | 8 +++-
vcl/source/outdev/bitmap.cxx | 3 +-
vcl/source/outdev/font.cxx | 2 +-
vcl/unx/generic/dtrans/bmp.cxx | 6 ++-
vcl/workben/outdevgrind.cxx | 3 +-
vcl/workben/vcldemo.cxx | 3 +-
22 files changed, 132 insertions(+), 63 deletions(-)

Upstream: cgit.freedesktop.org


  • Share