r16420 by craig - Reduce calls for restoring data

scribus-commit scribus-commit at lists.scribus.net
Mon Mar 7 17:46:44 CET 2011


Author: craig
Date: Mon Mar  7 16:46:44 2011
New Revision: 16420

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16420
Log:
Reduce calls for restoring data

Modified:
    branches/Version135/Scribus/scribus/pageitem.cpp

Modified: branches/Version135/Scribus/scribus/pageitem.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16420&path=/branches/Version135/Scribus/scribus/pageitem.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/pageitem.cpp (original)
+++ branches/Version135/Scribus/scribus/pageitem.cpp Mon Mar  7 16:46:44 2011
@@ -3607,13 +3607,10 @@
 		setImageFlippedH(is->getBool("CI_FLIPPH"));
 		setImageFlippedV(is->getBool("CI_FLIPPV"));
 		setImageScalingMode(is->getBool("CI_SCALING"),is->getBool("CI_ASPECT"));
-		setImageXOffset(is->getDouble("CI_XOFF"));
-		setImageXScale(is->getDouble("CI_XSCALE"));
-		setImageYOffset(is->getDouble("CI_YOFF"));
-		setImageYScale(is->getDouble("CI_YSCALE"));
+		setImageXYOffset(is->getDouble("CI_XOFF"), is->getDouble("CI_YOFF"));
+		setImageXYScale(is->getDouble("CI_XSCALE"), is->getDouble("CI_YSCALE"));
 		setFillTransparency(is->getDouble("CI_FILLT"));
 		setLineTransparency(is->getDouble("CI_LINET"));
-
 		select();
 		m_Doc->updatePic();
 	}




More information about the scribus-commit mailing list