Skip to content
Permalink
Browse files

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
  • Loading branch information
wonder
wonder committed Oct 12, 2007
1 parent cc16649 commit ea7ee298d7d97baa237198b1fbfbc5471faf220e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/composer/qgscomposition.cpp
@@ -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 );

0 comments on commit ea7ee29

Please sign in to comment.
You can’t perform that action at this time.