Skip to content

Commit 2e11c34

Browse files
committedApr 5, 2019
Rename variable for clarity
1 parent e2396aa commit 2e11c34

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/core/qgsprojutils.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,17 @@ bool QgsProjUtils::axisOrderIsSwapped( const PJ *crs )
119119
return false;
120120

121121
PJ_CONTEXT *context = QgsProjContext::get();
122-
QgsProjUtils::proj_pj_unique_ptr pjCrs( proj_crs_get_coordinate_system( context, crs ) );
123-
if ( !pjCrs )
122+
QgsProjUtils::proj_pj_unique_ptr pjCs( proj_crs_get_coordinate_system( context, crs ) );
123+
if ( !pjCs )
124124
return false;
125125

126-
const int axisCount = proj_cs_get_axis_count( context, pjCrs.get() );
126+
const int axisCount = proj_cs_get_axis_count( context, pjCs.get() );
127127
if ( axisCount > 0 )
128128
{
129129
const char *outDirection = nullptr;
130130
// Read only first axis, see if it is degrees / north
131131

132-
proj_cs_get_axis_info( context, pjCrs.get(), 0,
132+
proj_cs_get_axis_info( context, pjCs.get(), 0,
133133
nullptr,
134134
nullptr,
135135
&outDirection,

0 commit comments

Comments
 (0)
Please sign in to comment.