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

Stephan Bergmann sbergman at redhat.com
Fri Oct 10 07:38:35 PDT 2014


 chart2/qa/extras/chart2import.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 890d0254db133b746c8562133da8241816acc13d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Oct 10 16:38:11 2014 +0200

    loplugin:passstuffbyref
    
    Change-Id: If17bfdfdb51d5b9b8db563fccf09bb7608fcd0f8

diff --git a/chart2/qa/extras/chart2import.cxx b/chart2/qa/extras/chart2import.cxx
index f8c545a..b853466 100644
--- a/chart2/qa/extras/chart2import.cxx
+++ b/chart2/qa/extras/chart2import.cxx
@@ -55,7 +55,7 @@ public:
     void testAutoBackgroundXLSX();
     void testNumberFormatsXLSX();
 
-    void testTransparentBackground(OUString filename);
+    void testTransparentBackground(OUString const & filename);
 
     CPPUNIT_TEST_SUITE(Chart2ImportTest);
     CPPUNIT_TEST(Fdo60083);
@@ -595,7 +595,7 @@ void Chart2ImportTest::testFdo78080()
     CPPUNIT_ASSERT(!xTitle.is());
 }
 
-void Chart2ImportTest::testTransparentBackground(OUString filename)
+void Chart2ImportTest::testTransparentBackground(OUString const & filename)
 {
     load("/chart2/qa/extras/data/xlsx/", filename);
     uno::Reference< chart2::XChartDocument > xChartDoc = getChartDocFromSheet(0, mxComponent);


More information about the Libreoffice-commits mailing list