diff options
Diffstat (limited to 'sc/source/ui/vba/vbasheetobjects.cxx')
-rw-r--r-- | sc/source/ui/vba/vbasheetobjects.cxx | 4 |
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() ) { |