diff --git a/gui/cppchecklibrarydata.cpp b/gui/cppchecklibrarydata.cpp index 0683a4c7c..f0514012c 100644 --- a/gui/cppchecklibrarydata.cpp +++ b/gui/cppchecklibrarydata.cpp @@ -570,7 +570,7 @@ static void writeTypeChecks(QXmlStreamWriter &xmlWriter, const CppcheckLibraryDa xmlWriter.writeEndElement(); } -static void writePlatformType (QXmlStreamWriter &xmlWriter, const CppcheckLibraryData::PlatformType &pt) +static void writePlatformType(QXmlStreamWriter &xmlWriter, const CppcheckLibraryData::PlatformType &pt) { xmlWriter.writeStartElement("platformtype"); xmlWriter.writeAttribute("name", pt.name); diff --git a/gui/test/cppchecklibrarydata/testcppchecklibrarydata.cpp b/gui/test/cppchecklibrarydata/testcppchecklibrarydata.cpp index 06272a040..e9f37d602 100644 --- a/gui/test/cppchecklibrarydata/testcppchecklibrarydata.cpp +++ b/gui/test/cppchecklibrarydata/testcppchecklibrarydata.cpp @@ -202,7 +202,7 @@ void TestCppcheckLibraryData::platformTypeValid() QCOMPARE(libraryData.platformTypes[1].value, "all"); QCOMPARE(libraryData.platformTypes[1].types.size(), 5); QCOMPARE(libraryData.platformTypes[1].types, - QStringList({"unsigned", "long", "pointer", "const_ptr", "ptr_ptr"})); + QStringList({"unsigned", "long", "pointer", "const_ptr", "ptr_ptr"})); QCOMPARE(libraryData.platformTypes[1].platforms.isEmpty(), true); QCOMPARE(libraryData.platformTypes[2].name, "types and platform");