r15003 by fschmid - Fixed compile error.

scribus-commit scribus-commit at lists.scribus.net
Fri Apr 23 17:30:24 CEST 2010


Revision: 15003
Author: fschmid
Date: 2010-04-23T15:22:12.939753Z
Commit message: Fixed compile error.

Changeset: 
M  /trunk/Scribus/scribus/plugins/scriptplugin/objpdffile.cpp

Diffs:
Index: scribus/plugins/scriptplugin/objpdffile.cpp
===================================================================
--- scribus/plugins/scriptplugin/objpdffile.cpp	(revision 15002)
+++ scribus/plugins/scriptplugin/objpdffile.cpp	(revision 15003)
@@ -494,7 +494,7 @@
 	self->intenti = ScCore->primaryMainWindow()->doc->pdfOptions().Intent2; // int - 0 - 3
 	QString tp = ScCore->primaryMainWindow()->doc->pdfOptions().SolidProf;
 	if (!ScCore->InputProfiles.contains(tp))
-		tp = ScCore->primaryMainWindow()->view->Doc->CMSSettings.DefaultSolidColorRGBProfile;
+		tp = ScCore->primaryMainWindow()->view->Doc->cmsSettings().DefaultSolidColorRGBProfile;
 	PyObject *solidpr = NULL;
 	solidpr = PyString_FromString(tp.toAscii());
 	if (solidpr){
@@ -506,7 +506,7 @@
 	}
 	QString tp2 = ScCore->primaryMainWindow()->doc->pdfOptions().ImageProf;
 	if (!ScCore->InputProfiles.contains(tp2))
-		tp2 = ScCore->primaryMainWindow()->view->Doc->CMSSettings.DefaultSolidColorRGBProfile;
+		tp2 = ScCore->primaryMainWindow()->view->Doc->cmsSettings().DefaultSolidColorRGBProfile;
 	PyObject *imagepr = NULL;
 	imagepr = PyString_FromString(tp2.toAscii());
 	if (imagepr){
@@ -518,7 +518,7 @@
 	}
 	QString tp3 = ScCore->primaryMainWindow()->doc->pdfOptions().PrintProf;
 	if (!ScCore->PDFXProfiles.contains(tp3))
-		tp3 = ScCore->primaryMainWindow()->view->Doc->CMSSettings.DefaultPrinterProfile;
+		tp3 = ScCore->primaryMainWindow()->view->Doc->cmsSettings().DefaultPrinterProfile;
 	PyObject *printprofc = NULL;
 	printprofc = PyString_FromString(tp3.toAscii());
 	if (printprofc){




More information about the scribus-commit mailing list