diff options
Diffstat (limited to 'src/layout.cpp')
-rw-r--r-- | src/layout.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/layout.cpp b/src/layout.cpp index c560147..946b612 100644 --- a/src/layout.cpp +++ b/src/layout.cpp @@ -265,6 +265,9 @@ class LayoutParser : public QXmlDefaultHandler m_part = -1; // invalid m_rootNav = 0; + //bool fortranOpt = Config_getBool(OPTIMIZE_FOR_FORTRAN); + //bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL); + //bool javaOpt = Config_getBool(OPTIMIZE_OUTPUT_JAVA); bool sliceOpt = Config_getBool(OPTIMIZE_OUTPUT_SLICE); // start & end handlers @@ -1546,7 +1549,9 @@ void LayoutDocManager::parse(const char *fileName) reader.parse( source ); } -void LayoutDocManager::writeDefault(const char *fileName) const +//--------------------------------------------------------------------------------- + +void writeDefaultLayoutFile(const char *fileName) { QFile f(fileName); bool ok = openOutputFile(fileName,f); @@ -1556,6 +1561,7 @@ void LayoutDocManager::writeDefault(const char *fileName) const return; } QTextStream t(&f); + t.setEncoding(QTextStream::UnicodeUTF8); t << substitute(layout_default,"$doxygenversion",getVersion()); } |