r15968 by craig - #9517: Backport fix for #9406/r15785 to scribus134format.cpp

scribus-commit scribus-commit at lists.scribus.net
Tue Nov 23 22:36:34 CET 2010


Author: craig
Date: Tue Nov 23 21:36:34 2010
New Revision: 15968

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15968
Log:
#9517: Backport fix for #9406/r15785 to scribus134format.cpp

Modified:
    trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp

Modified: trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15968&path=/trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp (original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp Tue Nov 23 21:36:34 2010
@@ -2880,7 +2880,7 @@
 			break;
 		if (reader.isCharacters())
 			formula += reader.text().toString();
-		if (reader.isStartDocument() && reader.name() == "PROPERTY")
+		if (reader.isStartElement() && reader.name() == "PROPERTY")
 		{
 			ScXmlStreamAttributes tAtt = reader.scAttributes();
 			QString name  = tAtt.valueAsString("name");




More information about the scribus-commit mailing list