r24699 by jghali - #16623: Scribus crashes when importing IDML file

scribus-commit scribus-commit at lists.scribus.net
Mon Aug 23 19:21:53 UTC 2021


Author: jghali
Date: Mon Aug 23 19:21:52 2021
New Revision: 24699

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24699
Log:
#16623: Scribus crashes when importing IDML file

Modified:
    trunk/Scribus/scribus/plugins/import/idml/importidml.cpp

Modified: trunk/Scribus/scribus/plugins/import/idml/importidml.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24699&path=/trunk/Scribus/scribus/plugins/import/idml/importidml.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/idml/importidml.cpp	(original)
+++ trunk/Scribus/scribus/plugins/import/idml/importidml.cpp	Mon Aug 23 19:21:52 2021
@@ -1993,7 +1993,7 @@
 											GCoords.svgCurveToCubic(p1.x(), p1.y(), p2.x(), p2.y(), p3.x(), p3.y());
 										}
 									}
-									else
+									else if (pointList.count() > 0)
 									{
 										if (isOpen)
 										{




More information about the scribus-commit mailing list