diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-02 11:33:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-02 13:15:33 +0100 |
commit | a0e136d2cbb3784ddfcbddcfed5d784c8e4c9a64 (patch) | |
tree | a86891188892c9525679a4a2a47ab772e7ccecbc /svgio | |
parent | 4855257e52056241633c2b1d8159c3f0e71e05f3 (diff) |
loplugin:passstuffbyref improved return in sd,various
Change-Id: I4b6ea89ae2072f4389a696ea3c96d8f7a5731e7a
Reviewed-on: https://gerrit.libreoffice.org/47246
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svgio')
-rw-r--r-- | svgio/inc/svgstyleattributes.hxx | 2 | ||||
-rw-r--r-- | svgio/source/svgreader/svgstyleattributes.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svgio/inc/svgstyleattributes.hxx b/svgio/inc/svgstyleattributes.hxx index 3b3035b6236e..c642f169f9c6 100644 --- a/svgio/inc/svgstyleattributes.hxx +++ b/svgio/inc/svgstyleattributes.hxx @@ -411,7 +411,7 @@ namespace svgio const OUString& getDesc() const { return maDesc; } // ClipPathXLink content - OUString getClipPathXLink() const; + OUString const & getClipPathXLink() const; const SvgClipPathNode* accessClipPathXLink() const; // MaskXLink content diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index 75945a0be2db..f1bc7c737aae 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -2662,7 +2662,7 @@ namespace svgio return nullptr; } - OUString SvgStyleAttributes::getClipPathXLink() const + OUString const & SvgStyleAttributes::getClipPathXLink() const { return maClipPathXLink; } |