Skip to content

Commit 6e5f318

Browse files
author
jef
committedMay 8, 2010
cosmetic changes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13442 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed
 

‎src/app/qgsmaptoolannotation.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include <QDialog>
2626
#include <QMouseEvent>
2727

28-
QgsMapToolAnnotation::QgsMapToolAnnotation( QgsMapCanvas* canvas ): QgsMapTool( canvas ), \
28+
QgsMapToolAnnotation::QgsMapToolAnnotation( QgsMapCanvas* canvas ): QgsMapTool( canvas ),
2929
mActiveItem( 0 ), mCurrentMoveAction( QgsAnnotationItem::NoAction ), mLastMousePosition( 0, 0 )
3030
{
3131
mCursor = QCursor( Qt::ArrowCursor );
@@ -158,26 +158,26 @@ void QgsMapToolAnnotation::canvasMoveEvent( QMouseEvent * e )
158158
double xmax = xmin + size.width();
159159
double ymax = ymin + size.height();
160160

161-
if ( mCurrentMoveAction == QgsAnnotationItem::ResizeFrameRight || \
162-
mCurrentMoveAction == QgsAnnotationItem::ResizeFrameRightDown || \
161+
if ( mCurrentMoveAction == QgsAnnotationItem::ResizeFrameRight ||
162+
mCurrentMoveAction == QgsAnnotationItem::ResizeFrameRightDown ||
163163
mCurrentMoveAction == QgsAnnotationItem::ResizeFrameRightUp )
164164
{
165165
xmax += e->posF().x() - mLastMousePosition.x();
166166
}
167-
if ( mCurrentMoveAction == QgsAnnotationItem::ResizeFrameLeft || \
168-
mCurrentMoveAction == QgsAnnotationItem::ResizeFrameLeftDown || \
167+
if ( mCurrentMoveAction == QgsAnnotationItem::ResizeFrameLeft ||
168+
mCurrentMoveAction == QgsAnnotationItem::ResizeFrameLeftDown ||
169169
mCurrentMoveAction == QgsAnnotationItem::ResizeFrameLeftUp )
170170
{
171171
xmin += e->posF().x() - mLastMousePosition.x();
172172
}
173-
if ( mCurrentMoveAction == QgsAnnotationItem::ResizeFrameUp || \
174-
mCurrentMoveAction == QgsAnnotationItem::ResizeFrameLeftUp || \
173+
if ( mCurrentMoveAction == QgsAnnotationItem::ResizeFrameUp ||
174+
mCurrentMoveAction == QgsAnnotationItem::ResizeFrameLeftUp ||
175175
mCurrentMoveAction == QgsAnnotationItem::ResizeFrameRightUp )
176176
{
177177
ymin += e->posF().y() - mLastMousePosition.y();
178178
}
179-
if ( mCurrentMoveAction == QgsAnnotationItem::ResizeFrameDown || \
180-
mCurrentMoveAction == QgsAnnotationItem::ResizeFrameLeftDown || \
179+
if ( mCurrentMoveAction == QgsAnnotationItem::ResizeFrameDown ||
180+
mCurrentMoveAction == QgsAnnotationItem::ResizeFrameLeftDown ||
181181
mCurrentMoveAction == QgsAnnotationItem::ResizeFrameRightDown )
182182
{
183183
ymax += e->posF().y() - mLastMousePosition.y();

‎src/app/qgsmaptoolrotatepointsymbols.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
#include <QMessageBox>
2525
#include <QMouseEvent>
2626

27-
QgsMapToolRotatePointSymbols::QgsMapToolRotatePointSymbols( QgsMapCanvas* canvas ): QgsMapToolEdit( canvas ), \
28-
mActiveLayer( 0 ), mFeatureNumber( 0 ), mCurrentMouseAzimut( 0.0 ), mCurrentRotationFeature( 0.0 ), \
27+
QgsMapToolRotatePointSymbols::QgsMapToolRotatePointSymbols( QgsMapCanvas* canvas ): QgsMapToolEdit( canvas ),
28+
mActiveLayer( 0 ), mFeatureNumber( 0 ), mCurrentMouseAzimut( 0.0 ), mCurrentRotationFeature( 0.0 ),
2929
mRotating( false ), mRotationItem( 0 ), mCtrlPressed( false )
3030
{
3131

‎src/app/qgsmaptoolsimplify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ bool QgsMapToolSimplify::calculateSliderBoudaries()
166166
{
167167
count++;
168168
if ( count == 30 && !maximized )
169-
{ //special case when tolerance is tool low to be correct so it's similat to 0
169+
{ //special case when tolerance is too low to be correct so it's near 0
170170
// else in some special cases this algorithm would create infinite loop
171171
found = true;
172172
minTolerance = 0;

0 commit comments

Comments
 (0)
Please sign in to comment.