summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl/op_spreadsheet.cxx
diff options
context:
space:
mode:
authorMihai Varga <mihai.mv13@gmail.com>2014-03-04 17:18:29 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-03-05 05:12:21 -0600
commit888cf44109a515982162f836d88b0c08624d3913 (patch)
tree99575f8f47877a9cbe526ddd0fbbc55cda7a6cfc /sc/source/core/opencl/op_spreadsheet.cxx
parent5cab7c7b24fab6e77cb54a134ada2ee33cf51acc (diff)
fdo#39440 the sSymName parameter is now passed by reference
Change-Id: I7292dd2a03c94fd5366220a62334ef6ebac9296c Reviewed-on: https://gerrit.libreoffice.org/8450 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core/opencl/op_spreadsheet.cxx')
-rw-r--r--sc/source/core/opencl/op_spreadsheet.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/opencl/op_spreadsheet.cxx b/sc/source/core/opencl/op_spreadsheet.cxx
index 7385065f53c8..59a67592908c 100644
--- a/sc/source/core/opencl/op_spreadsheet.cxx
+++ b/sc/source/core/opencl/op_spreadsheet.cxx
@@ -23,7 +23,7 @@ using namespace formula;
namespace sc { namespace opencl {
void OpVLookup::GenSlidingWindowFunction(std::stringstream &ss,
- const std::string sSymName, SubArguments &vSubArguments)
+ const std::string &sSymName, SubArguments &vSubArguments)
{
ss << "\ndouble " << sSymName;
ss << "_"<< BinFuncName() <<"(";