diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-14 09:44:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-14 11:18:21 +0200 |
commit | 2d009c405714934ae5f95f4131510cb4e9c2493f (patch) | |
tree | 33670e0adb62d646a3e7ecdfadee92e25222be22 /vcl/source/outdev/gradient.cxx | |
parent | bdd97cb83e09225905a6272caf91579a0a77d3c2 (diff) |
loplugin:moveit
Change-Id: I2702e716dc669ffbb870d36d060e110288d7a744
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137043
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/outdev/gradient.cxx')
-rw-r--r-- | vcl/source/outdev/gradient.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/outdev/gradient.cxx b/vcl/source/outdev/gradient.cxx index eb2fd4645323..fd8ee9e60a7d 100644 --- a/vcl/source/outdev/gradient.cxx +++ b/vcl/source/outdev/gradient.cxx @@ -195,7 +195,7 @@ void OutputDevice::DrawGradientToMetafile ( const tools::PolyPolygon& rPolyPoly, if ( rPolyPoly.IsRect() ) { - mpMetaFile->AddAction( new MetaGradientAction( aBoundRect, aGradient ) ); + mpMetaFile->AddAction( new MetaGradientAction( aBoundRect, std::move(aGradient) ) ); } else { |