r16167 by fschmid - Fixed Bug #9625: "SVG import crashes Scribus"

scribus-commit scribus-commit at lists.scribus.net
Mon Dec 27 09:42:56 CET 2010


Author: fschmid
Date: Mon Dec 27 08:42:56 2010
New Revision: 16167

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16167
Log:
Fixed Bug #9625: "SVG import crashes Scribus"

Modified:
    trunk/Scribus/scribus/plugins/import/svg/svgplugin.cpp

Modified: trunk/Scribus/scribus/plugins/import/svg/svgplugin.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16167&path=/trunk/Scribus/scribus/plugins/import/svg/svgplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/svg/svgplugin.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/svg/svgplugin.cpp Mon Dec 27 08:42:56 2010
@@ -1158,7 +1158,7 @@
 		if( !e.attribute("id").isEmpty() )
 			neu->setItemName(e.attribute("id"));
 		else
-			neu->setItemName( tr("Group%1").arg(neu->Groups.top()));
+			neu->setItemName( tr("Group%1").arg(m_Doc->GroupCounter));
 		neu->AutoName = false;
 		neu->setFillTransparency(1 - gc->Opacity);
 		neu->gXpos = neu->xPos() - gx;




More information about the scribus-commit mailing list