Skip to content
Permalink
Browse files

Fix clazy warnings

  • Loading branch information
nyalldawson committed Jan 2, 2019
1 parent 210ec4c commit 41450732fc366e7923f95a621bd2d285b41a6dd0
Showing with 10 additions and 10 deletions.
  1. +10 −10 src/core/qgsdistancearea.cpp
@@ -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 );

0 comments on commit 4145073

Please sign in to comment.
You can’t perform that action at this time.