Skip to content

Commit 7ed05a2

Browse files
committedOct 5, 2012
indentation update
1 parent ec5ed50 commit 7ed05a2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
 

‎src/core/qgscoordinatereferencesystem.cpp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ QgsCoordinateReferenceSystem::QgsCoordinateReferenceSystem()
5353
, mSRID( 0 )
5454
, mIsValidFlag( 0 )
5555
, mValidationHint( "" )
56-
, mAxisInverted( false)
56+
, mAxisInverted( false )
5757
{
5858
mCRS = OSRNewSpatialReference( NULL );
5959
}
@@ -65,7 +65,7 @@ QgsCoordinateReferenceSystem::QgsCoordinateReferenceSystem( QString theDefinitio
6565
, mSRID( 0 )
6666
, mIsValidFlag( 0 )
6767
, mValidationHint( "" )
68-
, mAxisInverted( false)
68+
, mAxisInverted( false )
6969
{
7070
mCRS = OSRNewSpatialReference( NULL );
7171
createFromString( theDefinition );
@@ -79,7 +79,7 @@ QgsCoordinateReferenceSystem::QgsCoordinateReferenceSystem( const long theId, Cr
7979
, mSRID( 0 )
8080
, mIsValidFlag( 0 )
8181
, mValidationHint( "" )
82-
, mAxisInverted( false)
82+
, mAxisInverted( false )
8383
{
8484
mCRS = OSRNewSpatialReference( NULL );
8585
createFromId( theId, theType );

‎src/core/qgsmaprenderer.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
QgsMapRenderer::QgsMapRenderer()
4545
{
46-
mScale = 1;
46+
mScale = 1.0;
4747
mScaleCalculator = new QgsScaleCalculator;
4848
mDistArea = new QgsDistanceArea;
4949
mCachedTrForLayer = 0;
@@ -164,7 +164,7 @@ void QgsMapRenderer::adjustExtentToSize()
164164

165165
if ( !myWidth || !myHeight )
166166
{
167-
mScale = 1;
167+
mScale = 1.0;
168168
newCoordXForm.setParameters( 0, 0, 0, 0 );
169169
return;
170170
}

‎src/core/qgsmaprenderer.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ class CORE_EXPORT QgsMapRenderer : public QObject
288288
//! map units per pixel
289289
double mMapUnitsPerPixel;
290290

291-
//! Map scale at its current zool level
291+
//! Map scale at its current zoom level
292292
double mScale;
293293

294294
//! scale calculator

0 commit comments

Comments
 (0)
Please sign in to comment.