diff --git a/src/docbookl10nhelper.cpp b/src/docbookl10nhelper.cpp --- a/src/docbookl10nhelper.cpp +++ b/src/docbookl10nhelper.cpp @@ -57,30 +57,30 @@ } QTextStream outStream(&outFile); - outStream << "" << endl; + outStream << "" << "\n"; outStream << QStringLiteral("") - .arg((*i).first).arg((*i).second) << endl; + .arg((*i).first).arg((*i).second) << "\n"; ++i; } - outStream << "]>" << endl; + outStream << "]>" << "\n"; if (!langMap.isEmpty()) { outStream << "" - << endl; + << "\n"; i = langMap.constBegin(); while (i != langMap.constEnd()) { outStream << QStringLiteral("&%1;") - .arg((*i).first) << endl; + .arg((*i).first) << "\n"; ++i; } - outStream << "" << endl; + outStream << "" << "\n"; } outFile.close(); @@ -100,21 +100,21 @@ } QTextStream outStream(&outFile); - outStream << "" << endl; + outStream << "" << "\n"; outStream << QStringLiteral("") - .arg(dtdPath) << endl; + .arg(dtdPath) << "\n"; if (!langMap.isEmpty()) { outStream << "" - << endl; + << "\n"; LangListType::const_iterator i = langMap.constBegin(); while (i != langMap.constEnd()) { outStream << QStringLiteral("") - .arg((*i).first).arg((*i).second) << endl; + .arg((*i).first).arg((*i).second) << "\n"; ++i; } - outStream << "" << endl; + outStream << "" << "\n"; } outFile.close();