Skip to content

Commit

Permalink
Fix clazy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 8, 2019
1 parent 210ec4c commit 4145073
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/core/qgsdistancearea.cpp
Expand Up @@ -364,18 +364,18 @@ double QgsDistanceArea::measureLineProjected( const QgsPointXY &p1, double dista
p2 = p1.project( distance, azimuth );
}
QgsDebugMsgLevel( QStringLiteral( "Converted distance of %1 %2 to %3 distance %4 %5, using azimuth[%6] from point[%7] to point[%8] sourceCrs[%9] mEllipsoid[%10] isGeographic[%11] [%12]" )
.arg( QString::number( distance, 'f', 7 ) )
.arg( QgsUnitTypes::toString( QgsUnitTypes::DistanceMeters ) )
.arg( QString::number( result, 'f', 7 ) )
.arg( ( ( mCoordTransform.sourceCrs().isGeographic() ) == 1 ? QString( "Geographic" ) : QString( "Cartesian" ) ) )
.arg( QgsUnitTypes::toString( sourceCrs().mapUnits() ) )
.arg( QString::number( distance, 'f', 7 ),
QgsUnitTypes::toString( QgsUnitTypes::DistanceMeters ),
QString::number( result, 'f', 7 ),
mCoordTransform.sourceCrs().isGeographic() ? QStringLiteral( "Geographic" ) : QStringLiteral( "Cartesian" ),
QgsUnitTypes::toString( sourceCrs().mapUnits() ) )
.arg( azimuth )
.arg( p1.asWkt() )
.arg( p2.asWkt() )
.arg( sourceCrs().description() )
.arg( mEllipsoid )
.arg( p1.asWkt(),
p2.asWkt(),
sourceCrs().description(),
mEllipsoid )
.arg( sourceCrs().isGeographic() )
.arg( QString( "SemiMajor[%1] SemiMinor[%2] InvFlattening[%3] " ).arg( QString::number( mSemiMajor, 'f', 7 ) ).arg( QString::number( mSemiMinor, 'f', 7 ) ).arg( QString::number( mInvFlattening, 'f', 7 ) ) ), 4 );
.arg( QStringLiteral( "SemiMajor[%1] SemiMinor[%2] InvFlattening[%3] " ).arg( QString::number( mSemiMajor, 'f', 7 ), QString::number( mSemiMinor, 'f', 7 ), QString::number( mInvFlattening, 'f', 7 ) ) ), 4 );
if ( projectedPoint )
{
*projectedPoint = QgsPointXY( p2 );
Expand Down

0 comments on commit 4145073

Please sign in to comment.