diff options
-rw-r--r-- | comphelper/source/misc/simplefileaccessinteraction.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/misc/stillreadwriteinteraction.cxx | 2 | ||||
-rw-r--r-- | include/comphelper/traceevent.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
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)) { } |