summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-29 10:34:42 +0200
committerNoel Grandin <noel@peralex.com>2016-06-29 10:34:42 +0200
commit6a1c5619be878d2ea7a38ec98d53c36fe3d416f6 (patch)
treee4427087df04ebc0bf836db352a0bcddf01c2cfb /sc
parent277bcdf1d1b5bb6a172de7f9f9a7fe77c75e2e49 (diff)
loplugin:passstuffbyref
Change-Id: Ic96736e5dc07abcbb738bcc4664981e3e142eee9
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/scmatrix.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 713300417d62..3badaf67b383 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -2999,7 +2999,7 @@ struct COp {};
template <typename T>
struct COp<T, svl::SharedString>
{
- svl::SharedString operator()(char, T /*aOp*/, double /*a*/, double /*b*/, const svl::SharedString& rString) const
+ const svl::SharedString& operator()(char, T /*aOp*/, double /*a*/, double /*b*/, const svl::SharedString& rString) const
{
return rString;
}