r17192 by jghali - #10504: incorrect import of SVG file
scribus-commit
scribus-commit at lists.scribus.net
Tue Jan 10 21:18:40 UTC 2012
Author: jghali
Date: Tue Jan 10 21:18:40 2012
New Revision: 17192
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17192
Log:
#10504: incorrect import of SVG file
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=17192&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 Tue Jan 10 21:18:40 2012
@@ -2537,7 +2537,7 @@
QString params2 = params.simplified().replace(',', " ");
QStringList dashes = params2.split(' ', QString::SkipEmptyParts);
for( QStringList::Iterator it = dashes.begin(); it != dashes.end(); ++it )
- array.append( ScCLocale::toDoubleC(*it) );
+ array.append( parseUnit(*it) );
}
obj->dashArray = array;
}
More information about the scribus-commit
mailing list