summaryrefslogtreecommitdiff
path: root/include/comphelper
diff options
context:
space:
mode:
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/accessiblewrapper.hxx2
-rw-r--r--include/comphelper/accimplaccess.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/comphelper/accessiblewrapper.hxx b/include/comphelper/accessiblewrapper.hxx
index b6df3200b4d4..8c052a6a5e0e 100644
--- a/include/comphelper/accessiblewrapper.hxx
+++ b/include/comphelper/accessiblewrapper.hxx
@@ -103,7 +103,7 @@ namespace comphelper
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL
getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override;
- css::uno::Reference< css::accessibility::XAccessible >
+ const css::uno::Reference< css::accessibility::XAccessible >&
getParent() const { return m_xParentAccessible; }
// own overridables
diff --git a/include/comphelper/accimplaccess.hxx b/include/comphelper/accimplaccess.hxx
index 82be8db33ca6..ab960ddfab2c 100644
--- a/include/comphelper/accimplaccess.hxx
+++ b/include/comphelper/accimplaccess.hxx
@@ -66,7 +66,7 @@ namespace comphelper
protected:
/// retrieves the parent previously set via <method>setAccessibleParent</method>
- css::uno::Reference< css::accessibility::XAccessible >
+ const css::uno::Reference< css::accessibility::XAccessible >&
implGetForeignControlledParent( ) const;
/** retrieves the set of currently set states which are controlled by a foreign instance