r17191 by jghali - #10504: incorrect import of SVG file
scribus-commit
scribus-commit at lists.scribus.net
Tue Jan 10 21:16:51 UTC 2012
Author: jghali
Date: Tue Jan 10 21:16:51 2012
New Revision: 17191
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17191
Log:
#10504: incorrect import of SVG file
Modified:
branches/Version14x/Scribus/scribus/plugins/import/svg/svgplugin.cpp
Modified: branches/Version14x/Scribus/scribus/plugins/import/svg/svgplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17191&path=/branches/Version14x/Scribus/scribus/plugins/import/svg/svgplugin.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/plugins/import/svg/svgplugin.cpp (original)
+++ branches/Version14x/Scribus/scribus/plugins/import/svg/svgplugin.cpp Tue Jan 10 21:16:51 2012
@@ -2261,7 +2261,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