summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-14 10:20:52 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 10:24:47 +0200
commitb8eb2946511ce617323b13dffe2b1d9704e0be60 (patch)
treed5aa4f91e75d654a1cdfcd75f26dd4b813a73ff7 /accessibility
parentd8644c8edb405abd9d71e62e43e898c1d2a28fd2 (diff)
loplugin:passstuffbyref in various
Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/inc/accessibility/extended/textwindowaccessibility.hxx2
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx b/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx
index ace9adc5ebbc..6d101612f54f 100644
--- a/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx
+++ b/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx
@@ -392,7 +392,7 @@ public:
Document(::VCLXWindow * pVclXWindow, ::TextEngine & rEngine,
::TextView & rView);
- inline css::uno::Reference< css::accessibility::XAccessible >
+ const css::uno::Reference< css::accessibility::XAccessible >&
getAccessible() { return m_xAccessible; }
// Must be called only after init has been called.
diff --git a/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx b/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx
index a5cda263d93f..714d4588495c 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx
@@ -87,7 +87,7 @@ public:
inline void ReleaseToolBox() { m_pToolBox = nullptr; }
void NameChanged();
void SetChild( const css::uno::Reference< css::accessibility::XAccessible >& _xChild );
- css::uno::Reference< css::accessibility::XAccessible >
+ const css::uno::Reference< css::accessibility::XAccessible >&
GetChild() const { return m_xChild; }
void NotifyChildEvent( const css::uno::Reference< css::accessibility::XAccessible >& _xChild, bool _bShow );