summaryrefslogtreecommitdiff
path: root/include/vcl/vclevent.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-14 09:23:37 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-14 08:23:20 +0000
commitd8644c8edb405abd9d71e62e43e898c1d2a28fd2 (patch)
tree1d9f5e17b3f1a53cad84f2a3a1fe0875ec54d20b /include/vcl/vclevent.hxx
parent6656693836a382e6dac3a8c7ae794517b5f92bcc (diff)
loplugin:passstuffbyref in vcl
Change-Id: I17a4dc73c3fc81b0bfebdf442021af65f8f6166c Reviewed-on: https://gerrit.libreoffice.org/24075 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/vclevent.hxx')
-rw-r--r--include/vcl/vclevent.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/vclevent.hxx b/include/vcl/vclevent.hxx
index 4d15991c011b..83bcd5721009 100644
--- a/include/vcl/vclevent.hxx
+++ b/include/vcl/vclevent.hxx
@@ -238,7 +238,7 @@ class VCL_DLLPUBLIC VclAccessibleEvent: public VclSimpleEvent
public:
VclAccessibleEvent( sal_uLong n, const css::uno::Reference< css::accessibility::XAccessible >& rxAccessible );
virtual ~VclAccessibleEvent();
- css::uno::Reference< css::accessibility::XAccessible > GetAccessible() const { return mxAccessible;}
+ const css::uno::Reference< css::accessibility::XAccessible >& GetAccessible() const { return mxAccessible;}
private:
css::uno::Reference< css::accessibility::XAccessible > mxAccessible;