diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 09:32:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-13 13:27:51 +0200 |
commit | 311bc1fc8b39d7f2168a04437034fb5b29c2c8b2 (patch) | |
tree | 6fc2f7582e7a4f6f9a3cff1153e0d2c4633c26fe /include/basic/sbstar.hxx | |
parent | 2d72addff24ddab4842e2660062a58ccfd9cd0d3 (diff) |
loplugin:passstuffbyref in basic
Change-Id: Ie93b33502325f00ba95ab168a445a347148f9edd
Diffstat (limited to 'include/basic/sbstar.hxx')
-rw-r--r-- | include/basic/sbstar.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |