r17300 by malex - Apply Jghali's fix for the scribusview.cpp armel qreal FTBFS

scribus-commit scribus-commit at lists.scribus.net
Tue Feb 14 22:38:38 UTC 2012


Author: malex
Date: Tue Feb 14 22:38:38 2012
New Revision: 17300

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17300
Log:
Apply Jghali's fix for the scribusview.cpp armel qreal FTBFS

Modified:
    branches/Version14x/Scribus/scribus/scribusview.cpp

Modified: branches/Version14x/Scribus/scribus/scribusview.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17300&path=/branches/Version14x/Scribus/scribus/scribusview.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/scribusview.cpp (original)
+++ branches/Version14x/Scribus/scribus/scribusview.cpp Tue Feb 14 22:38:38 2012
@@ -1711,8 +1711,8 @@
 			FPoint point(pf.x() - currItem->xPos(), pf.y() - currItem->yPos());
 			if (transform.isInvertible() && currItem->itemText.length() > 0)
 			{
-				double tx = 0, ty = 0;
-				transform.inverted().map(qreal(pf.x()), qreal(pf.y()), (qreal*)&tx, (qreal*)&ty);
+				qreal tx = 0, ty = 0;
+				transform.inverted().map(pf.x(), pf.y(), &tx, &ty);
 				point.setXY(tx, ty);
 			}
 			if (currItem->reversed())




More information about the scribus-commit mailing list