summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/unosrch.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:58:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commitb46492d06e389728bee7a2f2a8560c3891ef099b (patch)
treec612fed5ff929764d207bcb159604970c5343f60 /sd/source/ui/unoidl/unosrch.cxx
parent623c2f723b3c599f05988c6d4db2a8e72a32c02d (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: If24b3ba75023c68fddcaec1ff7ae5f2517761587
Diffstat (limited to 'sd/source/ui/unoidl/unosrch.cxx')
-rw-r--r--sd/source/ui/unoidl/unosrch.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unosrch.cxx b/sd/source/ui/unoidl/unosrch.cxx
index bf9244440e76..92384457209c 100644
--- a/sd/source/ui/unoidl/unosrch.cxx
+++ b/sd/source/ui/unoidl/unosrch.cxx
@@ -56,7 +56,7 @@ class SearchContext_impl
SearchContext_impl* mpParent;
public:
- SearchContext_impl( uno::Reference< drawing::XShapes > xShapes, SearchContext_impl* pParent = nullptr )
+ SearchContext_impl( uno::Reference< drawing::XShapes > const & xShapes, SearchContext_impl* pParent = nullptr )
: mxShapes( xShapes ), mnIndex( -1 ), mpParent( pParent ) {}
uno::Reference< drawing::XShape > firstShape()