From b8eb2946511ce617323b13dffe2b1d9704e0be60 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 14 Apr 2016 10:20:52 +0200 Subject: loplugin:passstuffbyref in various Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022 --- pyuno/source/module/pyuno_impl.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyuno') diff --git a/pyuno/source/module/pyuno_impl.hxx b/pyuno/source/module/pyuno_impl.hxx index ca618ed01003..e1cf3b242ad3 100644 --- a/pyuno/source/module/pyuno_impl.hxx +++ b/pyuno/source/module/pyuno_impl.hxx @@ -351,8 +351,8 @@ public: const css::uno::Sequence< css::uno::Type > & types ); static css::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId(); - PyRef getWrappedObject() { return mWrappedObject; } - css::uno::Sequence< css::uno::Type > getWrappedTypes() { return mTypes; } + const PyRef& getWrappedObject() const { return mWrappedObject; } + const css::uno::Sequence< css::uno::Type >& getWrappedTypes() const { return mTypes; } virtual ~Adapter(); // XInvocation -- cgit