r14470 by fschmid - Adjusted file comments for the correct file creation date.

scribus-commit scribus-commit at lists.scribus.net
Tue Jan 5 11:21:11 CET 2010


Revision: 14470
Author: fschmid
Date: 2010-01-04T21:27:33.787167Z
Commit message: Adjusted file comments for the correct file creation date.

Changeset: 
M  /trunk/Scribus/scribus/plugins/import/xar/importxar.cpp
M  /trunk/Scribus/scribus/plugins/import/xar/importxar.h

Diffs:
Index: scribus/plugins/import/xar/importxar.cpp
===================================================================
--- scribus/plugins/import/xar/importxar.cpp	(revision 14469)
+++ scribus/plugins/import/xar/importxar.cpp	(revision 14470)
@@ -4,6 +4,13 @@
 a copyright and/or license notice that predates the release of Scribus 1.3.2
 for which a new license (GPL+exception) is in place.
 */
+/***************************************************************************
+                          importxar.cpp  -  description
+                             -------------------
+    begin                : Wed Nov 25 2009
+    copyright            : (C) 2009 by Franz Schmid
+    email                : Franz.Schmid at altmuehlnet.de
+ ***************************************************************************/
 
 #include <QByteArray>
 #include <QCursor>
@@ -1975,6 +1982,8 @@
 	gc->GradFillY1 = (docHeight - bly) + baseY + m_Doc->currentPage()->yOffset();
 	gc->GradFillX2 = brx + baseX + m_Doc->currentPage()->xOffset();
 	gc->GradFillY2 = (docHeight - bry) + baseY + m_Doc->currentPage()->yOffset();
+	gc->GrScale = 1.0;
+	gc->GrSkew = 0;
 	if (textData.count() > 0)
 	{
 		textData.last().FillGradient = gc->FillGradient;
@@ -1982,6 +1991,8 @@
 		textData.last().GradFillY1 = gc->GradFillY1;
 		textData.last().GradFillX2 = gc->GradFillX2;
 		textData.last().GradFillY2 = gc->GradFillY2;
+		textData.last().GrScale = gc->GrScale;
+		textData.last().GrSkew = gc->GrSkew;
 	}
 }
 
@@ -2087,6 +2098,8 @@
 	gc->GradFillY1 = (docHeight - bly) + baseY + m_Doc->currentPage()->yOffset();
 	gc->GradFillX2 = brx + baseX + m_Doc->currentPage()->xOffset();
 	gc->GradFillY2 = (docHeight - bry) + baseY + m_Doc->currentPage()->yOffset();
+	gc->GrScale = 1.0;
+	gc->GrSkew = 0;
 	if (textData.count() > 0)
 	{
 		textData.last().FillGradient = gc->FillGradient;
@@ -2094,6 +2107,8 @@
 		textData.last().GradFillY1 = gc->GradFillY1;
 		textData.last().GradFillX2 = gc->GradFillX2;
 		textData.last().GradFillY2 = gc->GradFillY2;
+		textData.last().GrScale = gc->GrScale;
+		textData.last().GrSkew = gc->GrSkew;
 	}
 }
 
Index: scribus/plugins/import/xar/importxar.h
===================================================================
--- scribus/plugins/import/xar/importxar.h	(revision 14469)
+++ scribus/plugins/import/xar/importxar.h	(revision 14470)
@@ -4,6 +4,14 @@
 a copyright and/or license notice that predates the release of Scribus 1.3.2
 for which a new license (GPL+exception) is in place.
 */
+/***************************************************************************
+                          importxar.h  -  description
+                             -------------------
+    begin                : Wed Nov 25 2009
+    copyright            : (C) 2009 by Franz Schmid
+    email                : Franz.Schmid at altmuehlnet.de
+ ***************************************************************************/
+
 #ifndef IMPORTXAR_H
 #define IMPORTXAR_H
 




More information about the scribus-commit mailing list