r14440 by jghali - remove a few line of duplicated code

scribus-commit scribus-commit at lists.scribus.net
Sun Dec 20 13:30:26 CET 2009


Revision: 14440
Author: jghali
Date: 2009-12-20T00:47:54.506004Z
Commit message: remove a few line of duplicated code

Changeset: 
M  /trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
M  /trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp

Diffs:
Index: scribus/plugins/fileloader/scribus150format/scribus150format.cpp
===================================================================
--- scribus/plugins/fileloader/scribus150format/scribus150format.cpp	(revision 14439)
+++ scribus/plugins/fileloader/scribus150format/scribus150format.cpp	(revision 14440)
@@ -2348,10 +2348,6 @@
 		currItem->UseEmbedded = attrs.valueAsInt("EMBEDDED", 1);
 		currItem->pixm.imgInfo.lowResType = attrs.valueAsInt("ImageRes", 1);
 		currItem->pixm.imgInfo.actualPageNumber = attrs.valueAsInt("Pagenumber", 0);
-		currItem->IProfile    = attrs.valueAsString("PRFILE","");
-		currItem->EmProfile   = attrs.valueAsString("EPROF","");
-		currItem->IRender     = (eRenderIntent) attrs.valueAsInt("IRENDER", 1);
-		currItem->UseEmbedded = attrs.valueAsInt("EMBEDDED", 1);
 		if (currItem->asLatexFrame())
 		{
 			currItem->setImageXYOffset(attrs.valueAsDouble("LOCALX") * scx, attrs.valueAsDouble("LOCALY") * scy);
Index: scribus/plugins/fileloader/scribus134format/scribus134format.cpp
===================================================================
--- scribus/plugins/fileloader/scribus134format/scribus134format.cpp	(revision 14439)
+++ scribus/plugins/fileloader/scribus134format/scribus134format.cpp	(revision 14440)
@@ -2338,10 +2338,6 @@
 		currItem->UseEmbedded = attrs.valueAsInt("EMBEDDED", 1);
 		currItem->pixm.imgInfo.lowResType = attrs.valueAsInt("ImageRes", 1);
 		currItem->pixm.imgInfo.actualPageNumber = attrs.valueAsInt("Pagenumber", 0);
-		currItem->IProfile    = attrs.valueAsString("PRFILE","");
-		currItem->EmProfile   = attrs.valueAsString("EPROF","");
-		currItem->IRender     = (eRenderIntent) attrs.valueAsInt("IRENDER", 1);
-		currItem->UseEmbedded = attrs.valueAsInt("EMBEDDED", 1);
 		if (currItem->asLatexFrame())
 		{
 			currItem->setImageXYOffset(attrs.valueAsDouble("LOCALX") * scx, attrs.valueAsDouble("LOCALY") * scy);




More information about the scribus-commit mailing list