r14784 by fschmid - Fixed non working ReadElemHeader function in the ScriXmlDoc class.

scribus-commit scribus-commit at lists.scribus.net
Sun Feb 21 00:50:20 CET 2010


Revision: 14784
Author: fschmid
Date: 2010-02-20T23:46:31.125754Z
Commit message: Fixed non working ReadElemHeader function in the ScriXmlDoc class.

Changeset: 
M  /trunk/Scribus/scribus/scribusXml.cpp

Diffs:
Index: scribus/scribusXml.cpp
===================================================================
--- scribus/scribusXml.cpp	(revision 14783)
+++ scribus/scribusXml.cpp	(revision 14784)
@@ -1007,7 +1007,7 @@
 			tName = sReader.name();
 			if ((tName == "SCRIBUSELEM") || (tName == "SCRIBUSELEMUTF8"))
 			{
-				QXmlStreamAttributes attrs;
+				QXmlStreamAttributes attrs = sReader.attributes();;
 				QString attx = attrs.value("XP").toString();
 				QString atty = attrs.value("YP").toString();
 				QString attw = attrs.value("W").toString();




More information about the scribus-commit mailing list