summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 16:00:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commit716caf6fe00ed98e5fd0d6d208f5a25e956bc861 (patch)
tree4ccc8423d6a586216f35e03bb1652d5976996e6a
parent600df7c9ba0c9278bb0ef1e9e4fd70d59804e188 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: Iac3011e99956d1ebb288184fd93555973c76ccdc
-rw-r--r--unoidl/source/unoidlprovider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoidl/source/unoidlprovider.cxx b/unoidl/source/unoidlprovider.cxx
index 6ed977ba4216..800d112671ab 100644
--- a/unoidl/source/unoidlprovider.cxx
+++ b/unoidl/source/unoidlprovider.cxx
@@ -648,7 +648,7 @@ class UnoidlModuleEntity;
class UnoidlCursor: public MapCursor {
public:
UnoidlCursor(
- rtl::Reference< MappedFile > file,
+ rtl::Reference< MappedFile > const & file,
rtl::Reference<UnoidlProvider> const & reference1,
rtl::Reference<UnoidlModuleEntity> const & reference2,
NestedMap const & map):