diff options
-rw-r--r-- | cppcanvas/source/mtfrenderer/implrenderer.cxx | 2 | ||||
-rw-r--r-- | helpcompiler/source/HelpLinker.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/optsolver.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchycontent.cxx | 2 | ||||
-rw-r--r-- | vcl/source/bitmap/BitmapSobelGreyFilter.cxx | 2 | ||||
-rw-r--r-- | vcl/source/control/field.cxx | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index b62aa6ac90d0..0577813318b9 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -370,7 +370,7 @@ namespace cppcanvas::internal aCalculatedNewState.pushFlags = rNewState.pushFlags; // flush to stack - getState() = aCalculatedNewState; + getState() = std::move(aCalculatedNewState); } else { diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx index d028b866fd94..4f52f9af4678 100644 --- a/helpcompiler/source/HelpLinker.cxx +++ b/helpcompiler/source/HelpLinker.cxx @@ -671,7 +671,7 @@ void HelpLinker::main( std::vector<std::string> &args, } addFile = args[i]; if (!addFileUnderPath.empty() && !addFile.empty()) - additionalFiles[addFileUnderPath] = addFile; + additionalFiles[addFileUnderPath] = std::move(addFile); } else if (args[i].compare("-nolangroot") == 0) m_bUseLangRoot = false; diff --git a/sc/source/ui/miscdlgs/optsolver.cxx b/sc/source/ui/miscdlgs/optsolver.cxx index 7ef0eba43b15..358754a884fe 100644 --- a/sc/source/ui/miscdlgs/optsolver.cxx +++ b/sc/source/ui/miscdlgs/optsolver.cxx @@ -1072,7 +1072,7 @@ bool ScOptSolverDlg::CallSolver() // return true -> close dialog after cal } aConstraints.realloc( nConstrPos + 1 ); - aConstraints.getArray()[nConstrPos++] = aConstraint; + aConstraints.getArray()[nConstrPos++] = std::move(aConstraint); } // copy old document values diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.cxx b/ucb/source/ucp/hierarchy/hierarchycontent.cxx index 673ef887b54a..da0a328fe8ff 100644 --- a/ucb/source/ucp/hierarchy/hierarchycontent.cxx +++ b/ucb/source/ucp/hierarchy/hierarchycontent.cxx @@ -1246,7 +1246,7 @@ uno::Sequence< uno::Any > HierarchyContent::setPropertyValues( aEvent.OldValue <<= aOldTitle; aEvent.NewValue <<= m_aProps.getTitle(); - aChanges.getArray()[ nChanged ] = aEvent; + aChanges.getArray()[ nChanged ] = std::move(aEvent); nChanged++; } diff --git a/vcl/source/bitmap/BitmapSobelGreyFilter.cxx b/vcl/source/bitmap/BitmapSobelGreyFilter.cxx index c1c6822757ac..92a5ba2f9bdb 100644 --- a/vcl/source/bitmap/BitmapSobelGreyFilter.cxx +++ b/vcl/source/bitmap/BitmapSobelGreyFilter.cxx @@ -143,7 +143,7 @@ BitmapEx BitmapSobelGreyFilter::execute(BitmapEx const& rBitmapEx) const const MapMode aMap(aBitmap.GetPrefMapMode()); const Size aPrefSize(aBitmap.GetPrefSize()); - aBitmap = aNewBmp; + aBitmap = std::move(aNewBmp); aBitmap.SetPrefMapMode(aMap); aBitmap.SetPrefSize(aPrefSize); diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index d85b235b0ea3..cfbef9171efc 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -323,7 +323,7 @@ bool ImplNumericGetValue( const OUString& rStr, sal_Int64& rValue, aStr2.append(aStrFrac.getStr()+nDecPos+1); } else - aStr1 = aStrFrac; + aStr1 = std::move(aStrFrac); } // prune and round fraction |