diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-28 19:48:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-29 08:02:04 +0100 |
commit | e0eb09405b2f4d95532d37bc37054a51e5a0177b (patch) | |
tree | b88291ecf58898a0b42ac124fcecf95d7229e7a3 /include/svx/svdograf.hxx | |
parent | 31f71635a136daf36d554e0c20db9ae0d1686c23 (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.hxx | 4 |
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; }; |