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

Khaled Hosny khaledhosny at eglug.org
Tue Jan 10 14:28:22 UTC 2017


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

New commits:
commit b885db5dbd9f61d75bed258660731d61a18fd2b7
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Tue Jan 10 16:26:54 2017 +0200

    loplugin:nullptr
    
    Change-Id: Iaf69f87564ff0f9f8aab6fafb833714426c8bc30

diff --git a/chart2/qa/extras/xshape/chart2xshape.cxx b/chart2/qa/extras/xshape/chart2xshape.cxx
index af218b9..1bbda45 100644
--- a/chart2/qa/extras/xshape/chart2xshape.cxx
+++ b/chart2/qa/extras/xshape/chart2xshape.cxx
@@ -66,7 +66,7 @@ bool checkDumpAgainstFile( const OUString& rDump, const OUString& aFilePath)
 
     OString aDump = OUStringToOString(rDump, RTL_TEXTENCODING_UTF8);
     return doXMLDiff(aOFile.getStr(), aDump.getStr(),
-            static_cast<int>(rDump.getLength()), NULL);
+            static_cast<int>(rDump.getLength()), nullptr);
 }
 
 }


More information about the Libreoffice-commits mailing list