r16922 by jghali - fix image loading issue in 1.2.x docs

scribus-commit scribus-commit at lists.scribus.net
Sat Oct 22 21:40:10 UTC 2011


Author: jghali
Date: Sat Oct 22 21:40:10 2011
New Revision: 16922

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16922
Log:
fix image loading issue in 1.2.x docs

Modified:
    trunk/Scribus/scribus/plugins/fileloader/scribus12format/scribus12format.cpp

Modified: trunk/Scribus/scribus/plugins/fileloader/scribus12format/scribus12format.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16922&path=/trunk/Scribus/scribus/plugins/fileloader/scribus12format/scribus12format.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus12format/scribus12format.cpp (original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus12format/scribus12format.cpp Sat Oct 22 21:40:10 2011
@@ -1398,10 +1398,11 @@
 	OB->PLineJoin=Qt::PenJoinStyle(obj->attribute("PLINEJOIN", "0").toInt());
 	OB->LineSp=ScCLocale::toDoubleC(obj->attribute("LINESP"));
 	OB->LineSpMode = obj->attribute("LINESPMode", "0").toInt();
-	OB->LocalScX=ScCLocale::toDoubleC(obj->attribute("LOCALSCX"));
-	OB->LocalScY=ScCLocale::toDoubleC(obj->attribute("LOCALSCY"));
-	OB->LocalX=ScCLocale::toDoubleC(obj->attribute("LOCALX"));
-	OB->LocalY=ScCLocale::toDoubleC(obj->attribute("LOCALY"));
+	OB->LocalScX   = ScCLocale::toDoubleC(obj->attribute("LOCALSCX"));
+	OB->LocalScY   = ScCLocale::toDoubleC(obj->attribute("LOCALSCY"));
+	OB->LocalX     = ScCLocale::toDoubleC(obj->attribute("LOCALX"));
+	OB->LocalY     = ScCLocale::toDoubleC(obj->attribute("LOCALY"));
+	OB->LocalRot   = 0.0;
 	OB->PicArt=obj->attribute("PICART").toInt();
 	OB->flippedH = obj->attribute("FLIPPEDH").toInt() % 2;
 	OB->flippedV = obj->attribute("FLIPPEDV").toInt() % 2;




More information about the scribus-commit mailing list