summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbasheetobjects.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-18 09:22:27 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-27 06:48:25 +0000
commit508c95f1b655d9cfa6be37a5a9de9aff6fd383bf (patch)
treed1c8626818cbf26a699875ae2d82f751a1657e92 /sc/source/ui/vba/vbasheetobjects.cxx
parent9f4af777a832d8a0b9a21d793d421fa6228131e0 (diff)
improve passstuffbyref return analysis
Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/ui/vba/vbasheetobjects.cxx')
-rw-r--r--sc/source/ui/vba/vbasheetobjects.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbasheetobjects.cxx b/sc/source/ui/vba/vbasheetobjects.cxx
index a677a0ea3fc9..5c52886efc0d 100644
--- a/sc/source/ui/vba/vbasheetobjects.cxx
+++ b/sc/source/ui/vba/vbasheetobjects.cxx
@@ -344,7 +344,7 @@ public:
sal_Int16 nComponentType ) throw (uno::RuntimeException);
protected:
- uno::Reference< container::XIndexContainer > createForm() throw (uno::RuntimeException);
+ uno::Reference< container::XIndexContainer > const & createForm() throw (uno::RuntimeException);
virtual bool implPickShape( const uno::Reference< drawing::XShape >& rxShape ) const override;
virtual OUString implGetShapeServiceName() const override;
@@ -372,7 +372,7 @@ ScVbaControlContainer::ScVbaControlContainer(
{
}
-uno::Reference< container::XIndexContainer > ScVbaControlContainer::createForm() throw (uno::RuntimeException)
+uno::Reference< container::XIndexContainer > const & ScVbaControlContainer::createForm() throw (uno::RuntimeException)
{
if( !mxFormIC.is() )
{