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 --- sw/source/ui/vba/vbaglobals.cxx | 2 +- sw/source/ui/vba/vbaglobals.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/ui/vba') diff --git a/sw/source/ui/vba/vbaglobals.cxx b/sw/source/ui/vba/vbaglobals.cxx index c7d719e69adc..82d8fbaa286d 100644 --- a/sw/source/ui/vba/vbaglobals.cxx +++ b/sw/source/ui/vba/vbaglobals.cxx @@ -52,7 +52,7 @@ SwVbaGlobals::~SwVbaGlobals() // XGlobals -uno::Reference +uno::Reference const & SwVbaGlobals::getApplication() throw (uno::RuntimeException) { OSL_TRACE("In SwVbaGlobals::getApplication"); diff --git a/sw/source/ui/vba/vbaglobals.hxx b/sw/source/ui/vba/vbaglobals.hxx index 47a029e6c4b3..e473f83956f0 100644 --- a/sw/source/ui/vba/vbaglobals.hxx +++ b/sw/source/ui/vba/vbaglobals.hxx @@ -38,7 +38,7 @@ class SwVbaGlobals : public SwVbaGlobals_BASE private: css::uno::Reference< ooo::vba::word::XApplication > mxApplication; - css::uno::Reference< ooo::vba::word::XApplication > getApplication() throw (css::uno::RuntimeException); + css::uno::Reference< ooo::vba::word::XApplication > const & getApplication() throw (css::uno::RuntimeException); public: -- cgit