r13900 by jghali - #8372 : Scribus outputs invalid XML when saving doc with inline frame
scribus-commit
scribus-commit at lists.scribus.net
Wed Aug 26 05:53:10 CEST 2009
Revision: 13900
Author: jghali
Date: 2009-08-23T00:23:30.947185Z
Commit message: #8372 : Scribus outputs invalid XML when saving doc with inline frame
Changeset:
M /trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format_save.cpp
M /trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp
Diffs:
Index: scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp
===================================================================
--- scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp (revision 13899)
+++ scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp (revision 13900)
@@ -1012,7 +1012,8 @@
putCStylePT(docu, lastStyle);
else*/
putCStyle(docu, lastStyle);
- docu.writeAttribute("CH", QString(ch));
+ tmpnum.setNum(ch.unicode());
+ docu.writeAttribute("Unicode", tmpnum);
docu.writeAttribute("COBJ", item->itemText.object(k)->ItemNr);
}
else if (ch == SpecialChars::PARSEP) // stores also the paragraphstyle for preceding chars
Index: scribus/plugins/fileloader/scribus134format/scribus134format_save.cpp
===================================================================
--- scribus/plugins/fileloader/scribus134format/scribus134format_save.cpp (revision 13899)
+++ scribus/plugins/fileloader/scribus134format/scribus134format_save.cpp (revision 13900)
@@ -1009,7 +1009,8 @@
putCStylePT(docu, lastStyle);
else*/
putCStyle(docu, lastStyle);
- docu.writeAttribute("CH", QString(ch));
+ tmpnum.setNum(ch.unicode());
+ docu.writeAttribute("Unicode", tmpnum);
docu.writeAttribute("COBJ", item->itemText.object(k)->ItemNr);
}
else if (ch == SpecialChars::PARSEP) // stores also the paragraphstyle for preceding chars
More information about the scribus-commit
mailing list