summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-03-06 23:09:59 +0200
committerTor Lillqvist <tml@collabora.com>2015-03-06 23:09:59 +0200
commit8ea45048b83e685090484c959f642118cfebef6c (patch)
tree8f346c43b8e24503cba330326b302f6e892cf1af /sc
parent0ef455bdc33356dcf00e3a2f724b2a18e15de38f (diff)
WaE: passing 'class rtl::OUString' by value, rather pass by reference
Change-Id: Id5cea16da184b12b6a630dc7e9c0f7d199b1da49
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/opencl-test.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx
index f6a6ae39d8e0..5c72a3dcdb92 100644
--- a/sc/qa/unit/opencl-test.cxx
+++ b/sc/qa/unit/opencl-test.cxx
@@ -535,11 +535,11 @@ private:
// Test env variables and methods
ScDocShellRef xDocSh;
ScDocShellRef xDocShRes;
- bool initTestEnv(const OUString fileName, sal_Int32 nFormat,
+ bool initTestEnv(const OUString& fileName, sal_Int32 nFormat,
bool bReadWrite);
};
-bool ScOpenCLTest::initTestEnv(const OUString fileName, sal_Int32 nFormat,
+bool ScOpenCLTest::initTestEnv(const OUString& fileName, sal_Int32 nFormat,
bool bReadWrite)
{
if(!detectOpenCLDevice())