diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 10:41:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-13 13:27:51 +0200 |
commit | 216ffb038f4a2f43286d96b83a64346a2351c8c1 (patch) | |
tree | 0136801e534a56e6e39de1e437f31e14c9d9c71a /include | |
parent | 1343916af23a0f238c5297c4e8d16942db489daa (diff) |
loplugin:passstuffbyref in comphelper
Change-Id: I502a0ec6627f37e17c4a9adebda58299167a8126
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/accessiblewrapper.hxx | 2 | ||||
-rw-r--r-- | include/comphelper/accimplaccess.hxx | 2 |
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 |