r16468 by craig - Add templates parameters for QVector calls from r16467

scribus-commit scribus-commit at lists.scribus.net
Mon Mar 21 10:31:57 CET 2011


Author: craig
Date: Mon Mar 21 09:31:56 2011
New Revision: 16468

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16468
Log:
Add templates parameters for QVector calls from r16467

Modified:
    trunk/Scribus/scribus/fpointarray.cpp

Modified: trunk/Scribus/scribus/fpointarray.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16468&path=/trunk/Scribus/scribus/fpointarray.cpp
==============================================================================
--- trunk/Scribus/scribus/fpointarray.cpp (original)
+++ trunk/Scribus/scribus/fpointarray.cpp Mon Mar 21 09:31:56 2011
@@ -263,12 +263,12 @@
 
 void FPointArray::addPoint(double x, double y)
 {
-	QVector::append(FPoint(x, y));
+	QVector<FPoint>::append(FPoint(x, y));
 }
 
 void FPointArray::addPoint(FPoint p)
 {
-	QVector::append(p);
+	QVector<FPoint>::append(p);
 }
 
 
@@ -296,18 +296,18 @@
 
 void FPointArray::addQuadPoint(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4)
 {
-	QVector::append(FPoint(x1, y1));
-	QVector::append(FPoint(x2, y2));
-	QVector::append(FPoint(x3, y3));
-	QVector::append(FPoint(x4, y4));
+	QVector<FPoint>::append(FPoint(x1, y1));
+	QVector<FPoint>::append(FPoint(x2, y2));
+	QVector<FPoint>::append(FPoint(x3, y3));
+	QVector<FPoint>::append(FPoint(x4, y4));
 }
 
 void FPointArray::addQuadPoint(FPoint p1, FPoint p2, FPoint p3, FPoint p4)
 {
-	QVector::append(p1);
-	QVector::append(p2);
-	QVector::append(p3);
-	QVector::append(p4);
+	QVector<FPoint>::append(p1);
+	QVector<FPoint>::append(p2);
+	QVector<FPoint>::append(p3);
+	QVector<FPoint>::append(p4);
 }
 
 double FPointArray::lenPathSeg(int seg) const




More information about the scribus-commit mailing list