r18605 by fschmid - XPS Importer fixed stupid parsing loop error

scribus-commit scribus-commit at lists.scribus.net
Tue Nov 26 22:30:12 UTC 2013


Author: fschmid
Date: Tue Nov 26 22:30:12 2013
New Revision: 18605

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18605
Log:
XPS Importer fixed stupid parsing loop error

Modified:
    trunk/Scribus/scribus/plugins/import/xps/importxps.cpp

Modified: trunk/Scribus/scribus/plugins/import/xps/importxps.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18605&path=/trunk/Scribus/scribus/plugins/import/xps/importxps.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/xps/importxps.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/xps/importxps.cpp Tue Nov 26 22:30:12 2013
@@ -1510,7 +1510,7 @@
 QString XpsPlug::parsePathGeometryXML(QDomElement &spe)
 {
 	QString svgString = "";
-	for(QDomElement dpg = spe.firstChildElement(); !spe.isNull(); spe = dpg.nextSiblingElement() )
+	for(QDomElement dpg = spe.firstChildElement(); !dpg.isNull(); dpg = dpg.nextSiblingElement() )
 	{
 		if (dpg.tagName() == "PathFigure")
 		{




More information about the scribus-commit mailing list