r21387 by fschmid -

scribus-commit scribus-commit at lists.scribus.net
Sat Jun 25 09:12:08 UTC 2016


Author: fschmid
Date: Sat Jun 25 09:12:08 2016
New Revision: 21387

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21387
Log:
Fixed Bug #14169: SVG import of the Document Foundation's logo is incorrect

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

Modified: trunk/Scribus/scribus/plugins/import/svg/svgplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21387&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	Sat Jun 25 09:12:08 2016
@@ -1191,6 +1191,7 @@
 QList<PageItem*> SVGPlug::parseA(const QDomElement &e)
 {
 	QList<PageItem*> aElements;
+	setupNode(e);
 	for ( QDomNode n = e.firstChild(); !n.isNull(); n = n.nextSibling() )
 	{
 		QDomElement b = n.toElement();
@@ -1204,6 +1205,7 @@
 		for (int ec = 0; ec < el.count(); ++ec)
 			aElements.append(el.at(ec));
 	}
+	delete( m_gc.pop() );
 	return aElements;
 }
 




More information about the scribus-commit mailing list