diff options
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/deployment/manager/dp_managerfac.cxx | 2 | ||||
-rw-r--r-- | desktop/source/migration/migration.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/manager/dp_managerfac.cxx b/desktop/source/deployment/manager/dp_managerfac.cxx index e67769dacd76..d3bd911e36e9 100644 --- a/desktop/source/deployment/manager/dp_managerfac.cxx +++ b/desktop/source/deployment/manager/dp_managerfac.cxx @@ -164,7 +164,7 @@ PackageManagerFactoryImpl::getPackageManager( OUString const & context ) { guard.clear(); try_dispose( xRet ); - xRet = xAlreadyIn; + xRet = std::move(xAlreadyIn); } else { diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx index eb2c548eb10a..c5ecbdd7dd02 100644 --- a/desktop/source/migration/migration.cxx +++ b/desktop/source/migration/migration.cxx @@ -1070,7 +1070,7 @@ void MigrationImpl::mergeOldToNewVersion(const uno::Reference< ui::XUIConfigurat } if (sCommandURL == sToken) { - xTemp = xChild; + xTemp = std::move(xChild); break; } } |