File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -119,17 +119,17 @@ bool QgsProjUtils::axisOrderIsSwapped( const PJ *crs )
119
119
return false ;
120
120
121
121
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 )
124
124
return false ;
125
125
126
- const int axisCount = proj_cs_get_axis_count ( context, pjCrs .get () );
126
+ const int axisCount = proj_cs_get_axis_count ( context, pjCs .get () );
127
127
if ( axisCount > 0 )
128
128
{
129
129
const char *outDirection = nullptr ;
130
130
// Read only first axis, see if it is degrees / north
131
131
132
- proj_cs_get_axis_info ( context, pjCrs .get (), 0 ,
132
+ proj_cs_get_axis_info ( context, pjCs .get (), 0 ,
133
133
nullptr ,
134
134
nullptr ,
135
135
&outDirection,
You can’t perform that action at this time.
0 commit comments