[Libreoffice-commits] core.git: drawinglayer/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Aug 28 14:46:06 UTC 2018


 drawinglayer/source/animation/animationtiming.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3ba67ff4b110635bae9552d1d895443a9df5e3e2
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Aug 28 16:45:32 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Aug 28 16:45:32 2018 +0200

    -Werror=redundant-move
    
    Change-Id: I8e239d95e288cba4fd798ce04cfe56cb62fff6a9

diff --git a/drawinglayer/source/animation/animationtiming.cxx b/drawinglayer/source/animation/animationtiming.cxx
index db629aa8d31f..4bcc3ffa5f5b 100644
--- a/drawinglayer/source/animation/animationtiming.cxx
+++ b/drawinglayer/source/animation/animationtiming.cxx
@@ -190,7 +190,7 @@ namespace drawinglayer
                 pNew->append(*i);
             }
 
-            return std::move(pNew);
+            return pNew;
         }
 
         bool AnimationEntryList::operator==(const AnimationEntry& rCandidate) const
@@ -283,7 +283,7 @@ namespace drawinglayer
                 pNew->append(*i);
             }
 
-            return std::move(pNew);
+            return pNew;
         }
 
         bool AnimationEntryLoop::operator==(const AnimationEntry& rCandidate) const


More information about the Libreoffice-commits mailing list