summaryrefslogtreecommitdiff
path: root/include/svx/svdograf.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-28 19:48:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-29 08:02:04 +0100
commite0eb09405b2f4d95532d37bc37054a51e5a0177b (patch)
treeb88291ecf58898a0b42ac124fcecf95d7229e7a3 /include/svx/svdograf.hxx
parent31f71635a136daf36d554e0c20db9ae0d1686c23 (diff)
loplugin:passstuffbyref improved return in svx
Change-Id: I33bdbd416709ce46afb3c17aeab0d2e19a68ab30 Reviewed-on: https://gerrit.libreoffice.org/47150 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/svdograf.hxx')
-rw-r--r--include/svx/svdograf.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/svdograf.hxx b/include/svx/svdograf.hxx
index 74cb44b022db..b4fd3baba256 100644
--- a/include/svx/svdograf.hxx
+++ b/include/svx/svdograf.hxx
@@ -157,7 +157,7 @@ public:
const Size& GetGrafPrefSize() const;
void SetGrafStreamURL( const OUString& rGraphicStreamURL );
- OUString GetGrafStreamURL() const;
+ OUString const & GetGrafStreamURL() const;
Size getOriginalSize() const;
private:
@@ -272,7 +272,7 @@ public:
mbIsSignatureLineCanAddComment = bIsSignatureCanAddComment;
};
bool isSignatureLineCanAddComment() const { return mbIsSignatureLineCanAddComment; };
- const css::uno::Reference<css::graphic::XGraphic> getSignatureLineUnsignedGraphic() const
+ css::uno::Reference<css::graphic::XGraphic> const & getSignatureLineUnsignedGraphic() const
{
return mpSignatureLineUnsignedGraphic;
};