r15040 by fschmid - Compile Fix.

scribus-commit scribus-commit at lists.scribus.net
Mon May 3 19:20:22 CEST 2010


Revision: 15040
Author: fschmid
Date: 2010-05-03T17:17:59.575891Z
Commit message: Compile Fix.

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

Diffs:
Index: scribus/plugins/scriptplugin/cmddoc.cpp
===================================================================
--- scribus/plugins/scriptplugin/cmddoc.cpp	(revision 15039)
+++ scribus/plugins/scriptplugin/cmddoc.cpp	(revision 15040)
@@ -228,9 +228,9 @@
 		return NULL;
 	if(!checkHaveDocument())
 		return NULL;
-	ScCore->primaryMainWindow()->doc->documentInfo.setAuthor(QString::fromUtf8(Author));
-	ScCore->primaryMainWindow()->doc->documentInfo.setTitle(QString::fromUtf8(Title));
-	ScCore->primaryMainWindow()->doc->documentInfo.setComments(QString::fromUtf8(Desc));
+	ScCore->primaryMainWindow()->doc->documentInfo().setAuthor(QString::fromUtf8(Author));
+	ScCore->primaryMainWindow()->doc->documentInfo().setTitle(QString::fromUtf8(Title));
+	ScCore->primaryMainWindow()->doc->documentInfo().setComments(QString::fromUtf8(Desc));
 	ScCore->primaryMainWindow()->slotDocCh();
 //	Py_INCREF(Py_None);
 //	return Py_None;




More information about the scribus-commit mailing list