This should fix compilation error on ARM platform.

git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_8_0@7266 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
wonder 2007-10-12 13:19:38 +00:00
parent cc16649a01
commit ea7ee298d7

View File

@ -236,7 +236,7 @@ void QgsComposition::contentsMousePressEvent(QMouseEvent* e)
mLastPoint = p;
double x,y;
mView->inverseWorldMatrix().map( e->pos().x(), e->pos().y(), &x, &y );
mView->inverseWorldMatrix().map( (double) e->pos().x(), (double) e->pos().y(), &x, &y );
switch ( mTool ) {
case Select:
@ -395,7 +395,7 @@ void QgsComposition::contentsMouseMoveEvent(QMouseEvent* e)
case Select:
if ( mSelectedItem ) {
double x,y;
mView->inverseWorldMatrix().map( e->pos().x(), e->pos().y(), &x, &y );
mView->inverseWorldMatrix().map( (double) e->pos().x(), (double) e->pos().y(), &x, &y );
mSelectedItem->moveBy ( x - mLastX, y - mLastY );