r14609 by mrdocs - comment out a qDebug to shut up Mandriva's compiler flags

scribus-commit scribus-commit at lists.scribus.net
Mon Feb 1 19:56:08 CET 2010


Revision: 14609
Author: mrdocs
Date: 2010-01-31T20:05:21.781632Z
Commit message: comment out a qDebug to shut up Mandriva's compiler flags

Changeset: 
M  /branches/Version133x/Scribus/scribus/scfonts.cpp

Diffs:
Index: scribus/scfonts.cpp
===================================================================
--- scribus/scfonts.cpp	(revision 14608)
+++ scribus/scfonts.cpp	(revision 14609)
@@ -341,18 +341,18 @@
 			{
 				bool brokenMetric = false;
 				QString metricsFile;
-				for (uint i = 0; i < fontMetrics.size(); ++i)
+				for (uint i = 0; i < fontMetrics.size(); ++i) 
 				{
 					metricsFile = fontMetrics[i];
 					if (FT_Attach_File(face, metricsFile.local8Bit().data()))
 					{
-						qDebug(QObject::tr("Font %1 has broken metrics in file %2, ignoring metrics").arg(fontPath).arg(metricsFile).latin1());
+						qDebug"%s"(QObject::tr("Font %1 has broken metrics in file %2, ignoring metrics").arg(fontPath).arg(metricsFile).latin1());
 						brokenMetric = true;
 					}
 					else
 					{
 						if (brokenMetric)
-							qDebug(QObject::tr("Valid metrics were found for font %1, using metrics in file %2").arg(fontFilePath()).arg(metricsFile).latin1());
+							qDebug"%s"(QObject::tr("Valid metrics were found for font %1, using metrics in file  %2").arg(fontFilePath()).arg(metricsFile).latin1());
 						metricsFound = true;
 						break;
 					}




More information about the scribus-commit mailing list