Skip to content

Commit

Permalink
indentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Oct 5, 2012
1 parent ec5ed50 commit 7ed05a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/core/qgscoordinatereferencesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ QgsCoordinateReferenceSystem::QgsCoordinateReferenceSystem()
, mSRID( 0 )
, mIsValidFlag( 0 )
, mValidationHint( "" )
, mAxisInverted( false)
, mAxisInverted( false )
{
mCRS = OSRNewSpatialReference( NULL );
}
Expand All @@ -65,7 +65,7 @@ QgsCoordinateReferenceSystem::QgsCoordinateReferenceSystem( QString theDefinitio
, mSRID( 0 )
, mIsValidFlag( 0 )
, mValidationHint( "" )
, mAxisInverted( false)
, mAxisInverted( false )
{
mCRS = OSRNewSpatialReference( NULL );
createFromString( theDefinition );
Expand All @@ -79,7 +79,7 @@ QgsCoordinateReferenceSystem::QgsCoordinateReferenceSystem( const long theId, Cr
, mSRID( 0 )
, mIsValidFlag( 0 )
, mValidationHint( "" )
, mAxisInverted( false)
, mAxisInverted( false )
{
mCRS = OSRNewSpatialReference( NULL );
createFromId( theId, theType );
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsmaprenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

QgsMapRenderer::QgsMapRenderer()
{
mScale = 1;
mScale = 1.0;
mScaleCalculator = new QgsScaleCalculator;
mDistArea = new QgsDistanceArea;
mCachedTrForLayer = 0;
Expand Down Expand Up @@ -164,7 +164,7 @@ void QgsMapRenderer::adjustExtentToSize()

if ( !myWidth || !myHeight )
{
mScale = 1;
mScale = 1.0;
newCoordXForm.setParameters( 0, 0, 0, 0 );
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsmaprenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ class CORE_EXPORT QgsMapRenderer : public QObject
//! map units per pixel
double mMapUnitsPerPixel;

//! Map scale at its current zool level
//! Map scale at its current zoom level
double mScale;

//! scale calculator
Expand Down

0 comments on commit 7ed05a2

Please sign in to comment.