summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-14 10:20:52 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 10:24:47 +0200
commitb8eb2946511ce617323b13dffe2b1d9704e0be60 (patch)
treed5aa4f91e75d654a1cdfcd75f26dd4b813a73ff7 /svgio
parentd8644c8edb405abd9d71e62e43e898c1d2a28fd2 (diff)
loplugin:passstuffbyref in various
Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022
Diffstat (limited to 'svgio')
-rw-r--r--svgio/inc/svgio/svgreader/svggradientstopnode.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svgio/inc/svgio/svgreader/svggradientstopnode.hxx b/svgio/inc/svgio/svgreader/svggradientstopnode.hxx
index 5bd60db1749b..055b47b0e5cd 100644
--- a/svgio/inc/svgio/svgreader/svggradientstopnode.hxx
+++ b/svgio/inc/svgio/svgreader/svggradientstopnode.hxx
@@ -46,7 +46,7 @@ namespace svgio
virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override;
/// offset content
- const SvgNumber getOffset() const { return maOffset; }
+ const SvgNumber& getOffset() const { return maOffset; }
void setOffset(const SvgNumber& rOffset = SvgNumber()) { maOffset = rOffset; }
};
} // end of namespace svgreader