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

Stephan Bergmann sbergman at redhat.com
Wed Aug 26 23:02:18 PDT 2015


 tools/qa/cppunit/test_color.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cce0620a0669de4c55eb8e02fe16ce139a692228
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Aug 27 08:01:52 2015 +0200

    loplugin:passstuffbyref
    
    Change-Id: I0244f12f1ee2e61ac577222a14b011aee5ddbd54

diff --git a/tools/qa/cppunit/test_color.cxx b/tools/qa/cppunit/test_color.cxx
index aeab12a..8639ebe 100644
--- a/tools/qa/cppunit/test_color.cxx
+++ b/tools/qa/cppunit/test_color.cxx
@@ -78,7 +78,7 @@ void Test::test_readAndWriteStream()
     }
 }
 
-bool checkTintShade(sal_uInt8 nR, sal_uInt8 nG, sal_uInt8 nB, OUString sReference, sal_Int16 nTintShade, OUString sExpected)
+bool checkTintShade(sal_uInt8 nR, sal_uInt8 nG, sal_uInt8 nB, OUString const & sReference, sal_Int16 nTintShade, OUString const & sExpected)
 {
     Color aColor(nR, nG, nB);
     if (sReference != aColor.AsRGBHexString())


More information about the Libreoffice-commits mailing list