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

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 23 18:33:56 UTC 2019


 chart2/qa/extras/xshape/chart2xshape.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 860fd4001f3c5e08acacb62134aa476ac2714108
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Oct 23 17:12:09 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Oct 23 20:32:38 2019 +0200

    loplugin:getstr (--enable-chart-tests)
    
    Change-Id: Ia01bbbfb86335a5187207fabe10a80723022aa95
    Reviewed-on: https://gerrit.libreoffice.org/81402
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/chart2/qa/extras/xshape/chart2xshape.cxx b/chart2/qa/extras/xshape/chart2xshape.cxx
index 2906b078a798..e68deadc2294 100644
--- a/chart2/qa/extras/xshape/chart2xshape.cxx
+++ b/chart2/qa/extras/xshape/chart2xshape.cxx
@@ -90,7 +90,7 @@ void Chart2XShapeTest::compareAgainstReference(const OUString& rReferenceFile, b
         OString aOFile = OUStringToOString(aReference, RTL_TEXTENCODING_UTF8);
         OString aODump = OUStringToOString(aDump, RTL_TEXTENCODING_UTF8);
         std::ofstream aReferenceFile(aOFile.getStr());
-        aReferenceFile << aODump.getStr();
+        aReferenceFile << aODump;
     }
     else
     {


More information about the Libreoffice-commits mailing list