r19692 by jghali - remove some unused member from CMSData structure

scribus-commit scribus-commit at lists.scribus.net
Sat Dec 27 18:13:24 UTC 2014


Author: jghali
Date: Sat Dec 27 18:13:24 2014
New Revision: 19692

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19692
Log:
remove some unused member from CMSData structure

Modified:
    branches/Version14x/Scribus/scribus/scribusdoc.cpp
    branches/Version14x/Scribus/scribus/scribusstructs.h

Modified: branches/Version14x/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19692&path=/branches/Version14x/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/scribusdoc.cpp (original)
+++ branches/Version14x/Scribus/scribus/scribusdoc.cpp Sat Dec 27 18:13:24 2014
@@ -793,18 +793,6 @@
 			CMSSettings.ComponentsInput2 = 4;
 	if (DocInputRGBProf.colorSpace() == ColorSpace_Cmy)
 			CMSSettings.ComponentsInput2 = 3;
-	if (DocInputCMYKProf.colorSpace() == ColorSpace_Rgb)
-			CMSSettings.ComponentsInput3 = 3;
-	if (DocInputCMYKProf.colorSpace() == ColorSpace_Cmyk)
-			CMSSettings.ComponentsInput3 = 4;
-	if (DocInputCMYKProf.colorSpace() == ColorSpace_Cmy)
-			CMSSettings.ComponentsInput3 = 3;
-	if (DocPrinterProf.colorSpace() == ColorSpace_Rgb)
-			CMSSettings.ComponentsPrinter = 3;
-	if (DocPrinterProf.colorSpace() == ColorSpace_Cmyk)
-			CMSSettings.ComponentsPrinter = 4;
-	if (DocPrinterProf.colorSpace() == ColorSpace_Cmy)
-			CMSSettings.ComponentsPrinter = 3;
 
 	bool success  = (stdTransRGBMon && stdTransCMYKMon && stdProofImg  && stdProofImgCMYK &&
 		             stdTransImg    && stdTransRGB     && stdTransCMYK && stdProof       &&

Modified: branches/Version14x/Scribus/scribus/scribusstructs.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19692&path=/branches/Version14x/Scribus/scribus/scribusstructs.h
==============================================================================
--- branches/Version14x/Scribus/scribus/scribusstructs.h (original)
+++ branches/Version14x/Scribus/scribus/scribusstructs.h Sat Dec 27 18:13:24 2014
@@ -246,8 +246,6 @@
 	QString DefaultSolidColorRGBProfile;
 	QString DefaultSolidColorCMYKProfile;
 	int ComponentsInput2;
-	int ComponentsInput3;
-	int ComponentsPrinter;
 	eRenderIntent DefaultIntentImages;
 	eRenderIntent DefaultIntentColors;
 	bool CMSinUse;




More information about the scribus-commit mailing list