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

scribus-commit scribus-commit at lists.scribus.net
Sun Feb 21 01:00:17 CET 2010


Revision: 14786
Author: fschmid
Date: 2010-02-20T23:51:00.580638Z
Commit message: Fixed non working ReadElemHeader function in the ScriXmlDoc class.

Changeset: 
M  /branches/Version135/Scribus/scribus/scribusXml.cpp

Diffs:
Index: scribus/scribusXml.cpp
===================================================================
--- scribus/scribusXml.cpp	(revision 14785)
+++ scribus/scribusXml.cpp	(revision 14786)
@@ -912,7 +912,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