summaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-02-05 18:36:28 (GMT)
committerGitHub <noreply@github.com>2021-02-05 18:36:28 (GMT)
commit3699ad35e6b5aa80723bf08b6f21db7836e8e76b (patch)
treec672da347de5bc16cc1a8b9cfb63a682ed3fcbcf /addon
parent0e61eb42b00ccd3f02095af16fcd28ba0788bb31 (diff)
parentab17091385be6ddb41715e6b27fd6de6a8b2941d (diff)
downloadDoxygen-3699ad35e6b5aa80723bf08b6f21db7836e8e76b.zip
Doxygen-3699ad35e6b5aa80723bf08b6f21db7836e8e76b.tar.gz
Doxygen-3699ad35e6b5aa80723bf08b6f21db7836e8e76b.tar.bz2
Merge pull request #8366 from albert-github/feature/bug_doxyw_endl
Remove deprecated warnings for endl in doxywizard
Diffstat (limited to 'addon')
-rw-r--r--addon/doxywizard/expert.cpp16
-rw-r--r--addon/doxywizard/inputstrlist.cpp2
2 files changed, 9 insertions, 9 deletions
diff --git a/addon/doxywizard/expert.cpp b/addon/doxywizard/expert.cpp
index 7fd7df3..a50ff2b 100644
--- a/addon/doxywizard/expert.cpp
+++ b/addon/doxywizard/expert.cpp
@@ -760,13 +760,13 @@ void Expert::saveTopic(QTextStream &t,QDomElement &elem,QTextCodec *codec,
{
if (!brief)
{
- t << endl;
+ t << "\n";
}
if (!condensed)
{
- t << "#---------------------------------------------------------------------------" << endl;
- t << "# " << elem.attribute(SA("docs")) << endl;
- t << "#---------------------------------------------------------------------------" << endl;
+ t << "#---------------------------------------------------------------------------\n";
+ t << "# " << elem.attribute(SA("docs")) << "\n";
+ t << "#---------------------------------------------------------------------------\n";
}
// write options...
QDomElement childElem = elem.firstChildElement();
@@ -783,9 +783,9 @@ void Expert::saveTopic(QTextStream &t,QDomElement &elem,QTextCodec *codec,
Input *option = i.value();
if (option && !brief)
{
- t << endl;
+ t << "\n";
t << convertToComment(option->templateDocs());
- t << endl;
+ t << "\n";
}
bool toPrint = true;
if (option && condensed) toPrint = !option->isDefault();
@@ -797,7 +797,7 @@ void Expert::saveTopic(QTextStream &t,QDomElement &elem,QTextCodec *codec,
t << " ";
option->writeValue(t,codec);
}
- t << endl;
+ t << "\n";
}
}
}
@@ -808,7 +808,7 @@ void Expert::saveTopic(QTextStream &t,QDomElement &elem,QTextCodec *codec,
bool Expert::writeConfig(QTextStream &t,bool brief, bool condensed)
{
// write global header
- t << "# Doxyfile " << getDoxygenVersion() << endl << endl;
+ t << "# Doxyfile " << getDoxygenVersion() << "\n\n";
if (!brief && !condensed)
{
t << convertToComment(m_header);
diff --git a/addon/doxywizard/inputstrlist.cpp b/addon/doxywizard/inputstrlist.cpp
index cdc7d14..9d0bd66 100644
--- a/addon/doxywizard/inputstrlist.cpp
+++ b/addon/doxywizard/inputstrlist.cpp
@@ -250,7 +250,7 @@ void InputStrList::writeValue(QTextStream &t,QTextCodec *codec)
{
if (!first)
{
- t << " \\" << endl;
+ t << " \\\n";
t << " ";
}
first=false;