TechDraw - Put BOM on beginning of exported SVG

This commit is contained in:
Tomas Pavlicek
2019-10-05 12:27:47 +02:00
committed by WandererFan
parent cf721089a9
commit c6d1684e2a

View File

@@ -953,6 +953,8 @@ void QGVPage::postProcessXml(QTemporaryFile& temporaryFile, QString fileName, QS
}
QTextStream stream( &outFile );
stream.setGenerateByteOrderMark(true);
stream << exportDoc.toString();
outFile.close();
}