summaryrefslogtreecommitdiff
path: root/editeng/source/accessibility
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-10 17:31:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-10 19:45:23 +0200
commit6af0da482d8d387f181cb9c2cf9301859c9683cb (patch)
treedadc25d2fb7aaa50e0a0e379d43070e9f7e61553 /editeng/source/accessibility
parente3fc69457d6b43f88c7540b39564a914648e7f3f (diff)
loplugin:moveparam in editeng
Change-Id: I08aed09b0acd283d700bdf75f650e93dba7c7b85 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123341 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/accessibility')
-rw-r--r--editeng/source/accessibility/AccessibleParaManager.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/accessibility/AccessibleParaManager.cxx b/editeng/source/accessibility/AccessibleParaManager.cxx
index 12aff3e2df63..f597bba6adce 100644
--- a/editeng/source/accessibility/AccessibleParaManager.cxx
+++ b/editeng/source/accessibility/AccessibleParaManager.cxx
@@ -56,9 +56,9 @@ namespace accessibility
// owner is responsible for possible child death
}
- void AccessibleParaManager::SetAdditionalChildStates( const VectorOfStates& rChildStates )
+ void AccessibleParaManager::SetAdditionalChildStates( VectorOfStates&& rChildStates )
{
- maChildStates = rChildStates;
+ maChildStates = std::move(rChildStates);
}
void AccessibleParaManager::SetNum( sal_Int32 nNumParas )