r13901 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:26 CEST 2009


Revision: 13901
Author: jghali
Date: 2009-08-23T00:24:04.709544Z
Commit message: #8372 : Scribus outputs invalid XML when saving doc with inline frame

Changeset: 
M  /branches/Version135/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format_save.cpp

Diffs:
Index: scribus/plugins/fileloader/scribus134format/scribus134format_save.cpp
===================================================================
--- scribus/plugins/fileloader/scribus134format/scribus134format_save.cpp	(revision 13900)
+++ scribus/plugins/fileloader/scribus134format/scribus134format_save.cpp	(revision 13901)
@@ -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