r20385 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Tue Sep 15 21:23:20 UTC 2015


Author: jghali
Date: Tue Sep 15 21:23:20 2015
New Revision: 20385

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20385
Log:
file save: better default for "useICC" attribute after removal of "Apply ICC profiles" checkbox in print options

Modified:
    trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp

Modified: trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20385&path=/trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp	(original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp	Tue Sep 15 21:23:20 2015
@@ -1032,7 +1032,7 @@
 	docu.writeAttribute("useColor", static_cast<int>(m_Doc->Print_Options.useColor));
 	docu.writeAttribute("mirrorH", static_cast<int>(m_Doc->Print_Options.mirrorH));
 	docu.writeAttribute("mirrorV", static_cast<int>(m_Doc->Print_Options.mirrorV));
-	docu.writeAttribute("useICC", static_cast<int>(true));
+	docu.writeAttribute("useICC", static_cast<int>(m_Doc->cmsSettings().CMSinUse)); // Not used anymore, only for backward compatibility
 	docu.writeAttribute("doGCR", static_cast<int>(m_Doc->Print_Options.doGCR));
 	docu.writeAttribute("doClip", static_cast<int>(m_Doc->Print_Options.doClip));
 	docu.writeAttribute("setDevParam", static_cast<int>(m_Doc->Print_Options.setDevParam));




More information about the scribus-commit mailing list