comphelper/source/misc/simplefileaccessinteraction.cxx |    2 +-
 comphelper/source/misc/stillreadwriteinteraction.cxx   |    2 +-
 include/comphelper/traceevent.hxx                      |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit c954552a8255188779b9021cc9acaa13c5e3c679
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Sun Oct 10 16:52:52 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Sun Oct 10 18:25:02 2021 +0200

    loplugin:moveparam in comphelper
    
    Change-Id: I109d8507890460c5a479af2a5b94f905197b08d6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123335
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/comphelper/source/misc/simplefileaccessinteraction.cxx 
b/comphelper/source/misc/simplefileaccessinteraction.cxx
index 2840e3dad0e7..48c99598fac5 100644
--- a/comphelper/source/misc/simplefileaccessinteraction.cxx
+++ b/comphelper/source/misc/simplefileaccessinteraction.cxx
@@ -66,7 +66,7 @@ SimpleFileAccessInteraction::SimpleFileAccessInteraction(
     lInterceptions.push_back(aInterceptedRequest);
 
     setInterceptedHandler(xHandler);
-    setInterceptions(lInterceptions);
+    setInterceptions(std::move(lInterceptions));
 }
 
 SimpleFileAccessInteraction::~SimpleFileAccessInteraction() {}
diff --git a/comphelper/source/misc/stillreadwriteinteraction.cxx 
b/comphelper/source/misc/stillreadwriteinteraction.cxx
index 0efec31b160b..d9333f389166 100644
--- a/comphelper/source/misc/stillreadwriteinteraction.cxx
+++ b/comphelper/source/misc/stillreadwriteinteraction.cxx
@@ -63,7 +63,7 @@ StillReadWriteInteraction::StillReadWriteInteraction(const 
css::uno::Reference<
     lInterceptions.push_back(aInterceptedRequest);
 
     setInterceptedHandler(xHandler);
-    setInterceptions(lInterceptions);
+    setInterceptions(std::move(lInterceptions));
 }
 
 void StillReadWriteInteraction::resetInterceptions()
diff --git a/include/comphelper/traceevent.hxx 
b/include/comphelper/traceevent.hxx
index 0bf4428b73ac..a111be0b9e63 100644
--- a/include/comphelper/traceevent.hxx
+++ b/include/comphelper/traceevent.hxx
@@ -91,7 +91,7 @@ protected:
     {
     }
 
-    TraceEvent(std::map<OUString, OUString> aArgs)
+    TraceEvent(const std::map<OUString, OUString>& aArgs)
         : TraceEvent(createArgsString(aArgs))
     {
     }

Reply via email to