summaryrefslogtreecommitdiff
path: root/include/sfx2/objsh.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-27 12:39:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-27 15:39:29 +0100
commita967c8f6847cf9cbd6e0f4b9f58f2023e1f92ae5 (patch)
treea00a7d73a3aa5d6d972c8a66e9357637edf62f9b /include/sfx2/objsh.hxx
parent33bd6c3e3512bf96376534e116d6f9f60d157be9 (diff)
loplugin:passstuffbyref improved return in xmloff,sfx2
Change-Id: I7161dfca77f944027bd20614616e22d6acfa27cd Reviewed-on: https://gerrit.libreoffice.org/47081 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/objsh.hxx')
-rw-r--r--include/sfx2/objsh.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index 51f7363e619c..a8a630259431 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -592,9 +592,9 @@ public:
const css::uno::Reference< css::embed::XStorage >& xStorage,
sal_Int32 nVersion, bool bTemplate, bool bChart = false ) const;
- css::uno::Reference< css::embed::XStorage > GetStorage();
+ css::uno::Reference< css::embed::XStorage > const & GetStorage();
- SvGlobalName GetClassName() const;
+ SvGlobalName const & GetClassName() const;
// comphelper::IEmbeddedHelper
virtual css::uno::Reference< css::task::XInteractionHandler > getInteractionHandler() const override;