1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## composer.dpatch by Francesco Paolo Lovergine <frankie@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
8
diff -urNad qgis~/src/composer/qgscomposition.cpp qgis/src/composer/qgscomposition.cpp
9
--- qgis~/src/composer/qgscomposition.cpp 2007-06-28 13:12:02.000000000 +0200
10
+++ qgis/src/composer/qgscomposition.cpp 2007-10-15 20:20:07.000000000 +0200
15
- mView->inverseWorldMatrix().map( e->pos().x(), e->pos().y(), &x, &y );
16
+ mView->inverseWorldMatrix().map( (qreal) e->pos().x(), (qreal) e->pos().y(), (qreal *)&x, (qreal *)&y );
22
if ( mSelectedItem ) {
24
- mView->inverseWorldMatrix().map( e->pos().x(), e->pos().y(), &x, &y );
25
+ mView->inverseWorldMatrix().map( (qreal) e->pos().x(), (qreal) e->pos().y(), (qreal *)&x, (qreal *)&y );
27
mSelectedItem->moveBy ( x - mLastX, y - mLastY );