diff options
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/vba/vbaapplication.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/vba/vbaapplication.hxx | 2 | ||||
-rw-r--r-- | sw/source/ui/vba/vbamailmerge.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/vba/vbamailmerge.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx index e4f0363ede4b..a1ff66bdaf1a 100644 --- a/sw/source/ui/vba/vbaapplication.cxx +++ b/sw/source/ui/vba/vbaapplication.cxx @@ -139,7 +139,7 @@ SwVbaApplication::getActiveSwVbaWindow() return new SwVbaWindow( uno::Reference< XHelperInterface >(), mxContext, xModel, xController ); } -uno::Reference< css::uno::XComponentContext > +uno::Reference< css::uno::XComponentContext > const & SwVbaApplication::getContext() { return mxContext; diff --git a/sw/source/ui/vba/vbaapplication.hxx b/sw/source/ui/vba/vbaapplication.hxx index 6ef51fec5d37..96b4be10100f 100644 --- a/sw/source/ui/vba/vbaapplication.hxx +++ b/sw/source/ui/vba/vbaapplication.hxx @@ -58,7 +58,7 @@ public: void RemoveSink( sal_uInt32 nNumber ); SwVbaWindow* getActiveSwVbaWindow(); - css::uno::Reference< css::uno::XComponentContext > getContext(); + css::uno::Reference< css::uno::XComponentContext > const & getContext(); // XApplication virtual OUString SAL_CALL getName() override; diff --git a/sw/source/ui/vba/vbamailmerge.cxx b/sw/source/ui/vba/vbamailmerge.cxx index 59711d7de8a8..48973f80963f 100644 --- a/sw/source/ui/vba/vbamailmerge.cxx +++ b/sw/source/ui/vba/vbamailmerge.cxx @@ -20,7 +20,7 @@ SwVbaMailMerge::SwVbaMailMerge(const css::uno::Reference<ooo::vba::XHelperInterf SwVbaMailMerge::~SwVbaMailMerge() {} -rtl::Reference<SwVbaMailMerge> +rtl::Reference<SwVbaMailMerge> const& SwVbaMailMerge::get(const css::uno::Reference<ooo::vba::XHelperInterface>& xParent, const css::uno::Reference<css::uno::XComponentContext>& xContext) { diff --git a/sw/source/ui/vba/vbamailmerge.hxx b/sw/source/ui/vba/vbamailmerge.hxx index 7718815da344..bfc28667d784 100644 --- a/sw/source/ui/vba/vbamailmerge.hxx +++ b/sw/source/ui/vba/vbamailmerge.hxx @@ -27,7 +27,7 @@ class SwVbaMailMerge : public SwVbaMailMerge_BASE public: virtual ~SwVbaMailMerge() override; - static rtl::Reference<SwVbaMailMerge> + static rtl::Reference<SwVbaMailMerge> const& get(const css::uno::Reference<ooo::vba::XHelperInterface>& xParent, const css::uno::Reference<css::uno::XComponentContext>& xContext); |