summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-07-26 17:06:10 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-07-26 17:06:10 (GMT)
commit2eaaf3aca438066677f732054188fee0be48433e (patch)
tree6325b7cad893b75aed257cc208cd75efce818c29 /src/doxygen.cpp
parente9b7e9d8719bbc317a26f31017df2255cbd314b9 (diff)
downloadDoxygen-2eaaf3aca438066677f732054188fee0be48433e.zip
Doxygen-2eaaf3aca438066677f732054188fee0be48433e.tar.gz
Doxygen-2eaaf3aca438066677f732054188fee0be48433e.tar.bz2
issue @7140 DoxygenLayout does not support UTF8 BOM format
Read the DoxygenLayout file in a similar way as the header / footer etc. for HTML and feed the (converted) result into the XML reader.
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 85ed747..3cb12a0 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -11270,9 +11270,7 @@ void parseInput()
if (layoutFile.open(IO_ReadOnly))
{
msg("Parsing layout file %s...\n",layoutFileName.data());
- QTextStream t(&layoutFile);
- t.setEncoding(QTextStream::Latin1);
- LayoutDocManager::instance().parse(t,layoutFileName);
+ LayoutDocManager::instance().parse(layoutFileName);
}
else if (!defaultLayoutUsed)
{