diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-10 17:31:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-10 19:45:23 +0200 |
commit | 6af0da482d8d387f181cb9c2cf9301859c9683cb (patch) | |
tree | dadc25d2fb7aaa50e0a0e379d43070e9f7e61553 /include | |
parent | e3fc69457d6b43f88c7540b39564a914648e7f3f (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 'include')
-rw-r--r-- | include/editeng/AccessibleParaManager.hxx | 2 | ||||
-rw-r--r-- | include/svx/AccessibleTextHelper.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/AccessibleParaManager.hxx b/include/editeng/AccessibleParaManager.hxx index 5330e1100893..0eceac19ce43 100644 --- a/include/editeng/AccessibleParaManager.hxx +++ b/include/editeng/AccessibleParaManager.hxx @@ -105,7 +105,7 @@ namespace accessibility (text paragraph). The state values are defined in css::accessibility::AccessibleStateType. */ - void SetAdditionalChildStates( const VectorOfStates& rChildStates ); + void SetAdditionalChildStates( VectorOfStates&& rChildStates ); /** Set the number of paragraphs diff --git a/include/svx/AccessibleTextHelper.hxx b/include/svx/AccessibleTextHelper.hxx index d57736e14f26..45592748f5ed 100644 --- a/include/svx/AccessibleTextHelper.hxx +++ b/include/svx/AccessibleTextHelper.hxx @@ -258,7 +258,7 @@ public: This function has to be called before querying for any children (e.g. with GetChild()). */ - void SetAdditionalChildStates(const VectorOfStates& rChildStates); + void SetAdditionalChildStates(VectorOfStates&& rChildStates); /** Update the visible children |