Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 committed Oct 12, 2007
1 parent cc16649 commit ea7ee29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/composer/qgscomposition.cpp
Expand Up @@ -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:
Expand Down Expand Up @@ -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 );

Expand Down

0 comments on commit ea7ee29

Please sign in to comment.