[Libreoffice-commits] core.git: sc/qa

Tor Lillqvist tml at collabora.com
Fri Mar 6 13:22:01 PST 2015


 sc/qa/unit/opencl-test.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8ea45048b83e685090484c959f642118cfebef6c
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Mar 6 23:09:59 2015 +0200

    WaE: passing 'class rtl::OUString' by value, rather pass by reference
    
    Change-Id: Id5cea16da184b12b6a630dc7e9c0f7d199b1da49

diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx
index f6a6ae3..5c72a3d 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())


More information about the Libreoffice-commits mailing list