r19689 by jghali - remove some unused member from CMSData structure

scribus-commit scribus-commit at lists.scribus.net
Sat Dec 27 17:27:15 UTC 2014


Author: jghali
Date: Sat Dec 27 17:27:15 2014
New Revision: 19689

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

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp
    trunk/Scribus/scribus/scribusstructs.h

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19689&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Sat Dec 27 17:27:15 2014
@@ -1032,18 +1032,6 @@
 			docPrefsData.colorPrefs.DCMSset.ComponentsInput2 = 4;
 	if (DocInputRGBProf.colorSpace() == ColorSpace_Cmy)
 			docPrefsData.colorPrefs.DCMSset.ComponentsInput2 = 3;
-	if (DocInputCMYKProf.colorSpace() == ColorSpace_Rgb)
-			docPrefsData.colorPrefs.DCMSset.ComponentsInput3 = 3;
-	if (DocInputCMYKProf.colorSpace() == ColorSpace_Cmyk)
-			docPrefsData.colorPrefs.DCMSset.ComponentsInput3 = 4;
-	if (DocInputCMYKProf.colorSpace() == ColorSpace_Cmy)
-			docPrefsData.colorPrefs.DCMSset.ComponentsInput3 = 3;
-	if (DocPrinterProf.colorSpace() == ColorSpace_Rgb)
-			docPrefsData.colorPrefs.DCMSset.ComponentsPrinter = 3;
-	if (DocPrinterProf.colorSpace() == ColorSpace_Cmyk)
-			docPrefsData.colorPrefs.DCMSset.ComponentsPrinter = 4;
-	if (DocPrinterProf.colorSpace() == ColorSpace_Cmy)
-			docPrefsData.colorPrefs.DCMSset.ComponentsPrinter = 3;
 
 	bool success  = (stdTransRGBMon && stdTransCMYKMon && stdProofImg  && stdProofImgCMYK &&
 		             stdTransImg    && stdTransRGB     && stdTransCMYK && stdProof       &&

Modified: trunk/Scribus/scribus/scribusstructs.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19689&path=/trunk/Scribus/scribus/scribusstructs.h
==============================================================================
--- trunk/Scribus/scribus/scribusstructs.h (original)
+++ trunk/Scribus/scribus/scribusstructs.h Sat Dec 27 17:27:15 2014
@@ -108,8 +108,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