diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-09 15:22:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-10 08:07:03 +0200 |
commit | 4c909d1466bf940f653984b61772cf19c320439d (patch) | |
tree | c29129af77615725b3cee5cf5e18796821b426e6 /svx/source/accessibility/ChildrenManagerImpl.cxx | |
parent | 91d77d65190e7cf11dd7cd0b29d5de6b66061faf (diff) |
loplugin:passstuffbyref
Change-Id: Ib2b2650da7abc9260897f9b5aad619a0ea6ae941
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138052
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/accessibility/ChildrenManagerImpl.cxx')
-rw-r--r-- | svx/source/accessibility/ChildrenManagerImpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx index 988bb4532c0c..36fa9ffecdb9 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.cxx +++ b/svx/source/accessibility/ChildrenManagerImpl.cxx @@ -114,7 +114,7 @@ tools::Long ChildrenManagerImpl::GetChildCount() const noexcept } -css::uno::Reference<css::drawing::XShape> ChildrenManagerImpl::GetChildShape(tools::Long nIndex) +const css::uno::Reference<css::drawing::XShape>& ChildrenManagerImpl::GetChildShape(tools::Long nIndex) { // Check whether the given index is valid. if (nIndex < 0 || o3tl::make_unsigned(nIndex) >= maVisibleChildren.size()) |