summaryrefslogtreecommitdiff
path: root/include/svx/AccessibleShapeTreeInfo.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 13:32:22 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:39 +0200
commit40f8d2566022140ca3f2d45d7cbd8b7ab51125ed (patch)
tree4a8bd6baf43f3789425ff8d7e988e7928942169f /include/svx/AccessibleShapeTreeInfo.hxx
parentcb4015bb28dd7430efaaa523d04a155eb7e46305 (diff)
loplugin:passstuffbyref in svx
Change-Id: I7d405830785cb12aaceb65d6ed03dda04aa90fd8
Diffstat (limited to 'include/svx/AccessibleShapeTreeInfo.hxx')
-rw-r--r--include/svx/AccessibleShapeTreeInfo.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/svx/AccessibleShapeTreeInfo.hxx b/include/svx/AccessibleShapeTreeInfo.hxx
index 52a121001572..68430f647fc6 100644
--- a/include/svx/AccessibleShapeTreeInfo.hxx
+++ b/include/svx/AccessibleShapeTreeInfo.hxx
@@ -73,8 +73,8 @@ public:
/** Deprecated. Don't use this method.
*/
- css::uno::Reference<
- css::accessibility::XAccessibleComponent>
+ const css::uno::Reference<
+ css::accessibility::XAccessibleComponent>&
GetDocumentWindow() const { return mxDocumentWindow;}
/** Set a new broadcaster that sends events indicating shape changes.
@@ -91,8 +91,8 @@ public:
The returned reference may be empty if the broadcaster has not
been set or has been set to an empty reference.
*/
- css::uno::Reference<
- css::document::XEventBroadcaster>
+ const css::uno::Reference<
+ css::document::XEventBroadcaster>&
GetModelBroadcaster() const { return mxModelBroadcaster;}
/** Set the view that will be used to construct SvxTextEditSources which
@@ -122,8 +122,8 @@ public:
@return
The reference to the currently set controller may be empty.
*/
- css::uno::Reference<
- css::frame::XController>
+ const css::uno::Reference<
+ css::frame::XController>&
GetController() const { return mxController;}
/** Set the window that is used to construct SvxTextEditSources which in