From 311bc1fc8b39d7f2168a04437034fb5b29c2c8b2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 13 Apr 2016 09:32:53 +0200 Subject: loplugin:passstuffbyref in basic Change-Id: Ie93b33502325f00ba95ab168a445a347148f9edd --- include/basic/sbstar.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/basic/sbstar.hxx') diff --git a/include/basic/sbstar.hxx b/include/basic/sbstar.hxx index a0e23453ba8a..1fda1b5310a3 100644 --- a/include/basic/sbstar.hxx +++ b/include/basic/sbstar.hxx @@ -152,7 +152,7 @@ public: void SetVBAEnabled( bool bEnabled ); bool isVBAEnabled(); - SbxObjectRef getRTL() { return pRtl; } + const SbxObjectRef& getRTL() { return pRtl; } bool IsDocBasic() { return bDocBasic; } SbxVariable* VBAFind( const OUString& rName, SbxClassType t ); bool GetUNOConstant( const OUString& rName, css::uno::Any& aOut ); -- cgit