diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-11-10 18:50:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-11-11 11:31:18 +0100 |
commit | 4d8907a7d5be6c81f68ab36353c231ad23681780 (patch) | |
tree | 1e595c9133127041115c811c4b3a705a3ac73beb /emfio | |
parent | 54d6e292fbc25d296aabf879915afc1ea69a34f8 (diff) |
Revert useless std::move of const object
...added with f71606c920a3f78294da745cd9ef1eacde010224 "new loplugin:moveit".
(I came across this code with an upcoming loplugin:constmove that flags
suspicious uses of std::move involving const-qualified types.)
Change-Id: If9c79d9a838fab5efbb55cb89b27b87f7e7ccd76
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142562
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'emfio')
-rw-r--r-- | emfio/source/reader/mtftools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx index 02643b202ef8..7acb1a2b7c1f 100644 --- a/emfio/source/reader/mtftools.cxx +++ b/emfio/source/reader/mtftools.cxx @@ -1330,7 +1330,7 @@ namespace emfio maFillStyle = maBkColor; mnBkMode = BackgroundMode::OPAQUE; ImplSetNonPersistentLineColorTransparenz(); - DrawPolygon(std::move(aPoly), false); + DrawPolygon(aPoly, false); mnBkMode = mnBkModeBackup; // The rectangle needs to be always drawned even if mode is transparent maFillStyle = aFillStyleBackup; maLineStyle.bTransparent = aTransparentBackup; |