From 508c95f1b655d9cfa6be37a5a9de9aff6fd383bf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 18 Jul 2016 09:22:27 +0200 Subject: improve passstuffbyref return analysis Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basic/source/inc/errobject.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basic/source/inc') diff --git a/basic/source/inc/errobject.hxx b/basic/source/inc/errobject.hxx index 88cef685e8d2..796b83102269 100644 --- a/basic/source/inc/errobject.hxx +++ b/basic/source/inc/errobject.hxx @@ -32,8 +32,8 @@ class SbxErrObject : public SbUnoObject virtual ~SbxErrObject(); public: - static SbxVariableRef getErrObject(); - static css::uno::Reference< ooo::vba::XErrObject > getUnoErrObject(); + static SbxVariableRef const & getErrObject(); + static css::uno::Reference< ooo::vba::XErrObject > const & getUnoErrObject(); void setNumberAndDescription( ::sal_Int32 _number, const OUString& _description ) throw (css::uno::RuntimeException); -- cgit