summaryrefslogtreecommitdiff
path: root/include/test
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-11-05 11:19:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-11-07 17:20:09 +0100
commit5fdfc074c93447f9eb1c9a351ee4690126ba782c (patch)
tree76f5c4c3d4de02117fd8267cbdf06db3ae7fef27 /include/test
parent0fe2b2545da977cd462c06e2a6ec6551b9903497 (diff)
loplugin:passstuffbyref make some small improvements
Change-Id: Ib14a2e6b41165887fcf99c3d155850faa8564822 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176218 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/test')
-rw-r--r--include/test/a11y/accessibletestbase.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/test/a11y/accessibletestbase.hxx b/include/test/a11y/accessibletestbase.hxx
index 792012e5e22b..3c87005c12fb 100644
--- a/include/test/a11y/accessibletestbase.hxx
+++ b/include/test/a11y/accessibletestbase.hxx
@@ -212,7 +212,7 @@ protected:
void setAutoClose(bool bAutoClose) { mbAutoClose = bAutoClose; }
- css::uno::Reference<css::accessibility::XAccessible> getAccessible() const
+ const css::uno::Reference<css::accessibility::XAccessible>& getAccessible() const
{
return mxAccessible;
}