r13933 by fschmid - Fixed crash when loading documents with patterns inside.

scribus-commit scribus-commit at lists.scribus.net
Fri Aug 28 13:45:16 CEST 2009


Revision: 13933
Author: fschmid
Date: 2009-08-28T11:45:39.428945Z
Commit message: Fixed crash when loading documents with patterns inside.

Changeset: 
M  /trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp

Diffs:
Index: scribus/plugins/fileloader/scribus150format/scribus150format.cpp
===================================================================
--- scribus/plugins/fileloader/scribus150format/scribus150format.cpp	(revision 13932)
+++ scribus/plugins/fileloader/scribus150format/scribus150format.cpp	(revision 13933)
@@ -1954,7 +1954,7 @@
 		reader.readNext();
 		if (reader.isEndElement() && reader.name() == tagName)
 			break;
-		if (!reader.isStartElement() || reader.name() != "PAGEOBJECT") 
+		if (!reader.isStartElement() || reader.name() != "PatternItem") 
 			continue;
 
 		QStringRef tName = reader.name();




More information about the scribus-commit mailing list