summaryrefslogtreecommitdiff
path: root/svx/source/accessibility/ChildrenManagerImpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/accessibility/ChildrenManagerImpl.cxx')
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx
index 27647f70c097..f6637af3fa18 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.cxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.cxx
@@ -27,6 +27,7 @@
#include <svx/AccessibleShape.hxx>
#include <svx/AccessibleShapeInfo.hxx>
#include <svx/IAccessibleViewForwarder.hxx>
+#include <utility>
#include <vcl/svapp.hxx>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
@@ -66,12 +67,12 @@ void adjustIndexInParentOfShapes(ChildDescriptorListType& _rList)
// AccessibleChildrenManager
ChildrenManagerImpl::ChildrenManagerImpl (
- const uno::Reference<XAccessible>& rxParent,
- const uno::Reference<drawing::XShapes>& rxShapeList,
+ uno::Reference<XAccessible> xParent,
+ uno::Reference<drawing::XShapes> xShapeList,
const AccessibleShapeTreeInfo& rShapeTreeInfo,
AccessibleContextBase& rContext)
- : mxShapeList (rxShapeList),
- mxParent (rxParent),
+ : mxShapeList (std::move(xShapeList)),
+ mxParent (std::move(xParent)),
maShapeTreeInfo (rShapeTreeInfo),
mrContext (rContext),
mpFocusedShape(nullptr)