@@ -958,7 +958,7 @@ OGRFeature *OGRGeoRSSLayer::GetNextFeature()
958958
959959 CPLFree (ppoFeatureTab);
960960 ppoFeatureTab = nullptr ;
961- nFeatureTabLength = 0 ;
961+ this -> nFeatureTabLength = 0 ;
962962 nFeatureTabIndex = 0 ;
963963
964964 int nDone = 0 ;
@@ -978,9 +978,10 @@ OGRFeature *OGRGeoRSSLayer::GetNextFeature()
978978 static_cast <int >(XML_GetCurrentColumnNumber (oParser)));
979979 bStopParsing = true ;
980980 }
981- } while (!nDone && !bStopParsing && nFeatureTabLength == 0 );
981+ } while (!nDone && !bStopParsing && this -> nFeatureTabLength == 0 );
982982
983- return nFeatureTabLength ? ppoFeatureTab[nFeatureTabIndex++] : nullptr ;
983+ return this ->nFeatureTabLength ? ppoFeatureTab[nFeatureTabIndex++]
984+ : nullptr ;
984985#else
985986 return nullptr ;
986987#endif
@@ -1758,11 +1759,11 @@ void OGRGeoRSSLayer::LoadSchema()
17581759 pszSubElementName = nullptr ;
17591760 pszSubElementValue = nullptr ;
17601761 nSubElementValueLen = 0 ;
1761- bSameSRS = true ;
1762- CPLFree (pszGMLSRSName);
1763- pszGMLSRSName = nullptr ;
1764- eGeomType = wkbUnknown;
1765- bFoundGeom = false ;
1762+ this -> bSameSRS = true ;
1763+ CPLFree (this -> pszGMLSRSName );
1764+ this -> pszGMLSRSName = nullptr ;
1765+ this -> eGeomType = wkbUnknown;
1766+ this -> bFoundGeom = false ;
17661767 bInTagWithSubTag = false ;
17671768 pszTagWithSubTag = nullptr ;
17681769 bStopParsing = false ;
@@ -1802,9 +1803,9 @@ void OGRGeoRSSLayer::LoadSchema()
18021803 }
18031804
18041805 CPLAssert (poSRS == nullptr );
1805- if (bSameSRS && bFoundGeom)
1806+ if (this -> bSameSRS && this -> bFoundGeom )
18061807 {
1807- if (pszGMLSRSName == nullptr )
1808+ if (this -> pszGMLSRSName == nullptr )
18081809 {
18091810 poSRS = new OGRSpatialReference ();
18101811 poSRS->SetWellKnownGeogCS (" WGS84" );
@@ -1817,7 +1818,7 @@ void OGRGeoRSSLayer::LoadSchema()
18171818 }
18181819 }
18191820
1820- if (eGeomType != wkbUnknown)
1821+ if (this -> eGeomType != wkbUnknown)
18211822 poFeatureDefn->SetGeomType (eGeomType);
18221823 if (poFeatureDefn->GetGeomFieldCount () != 0 )
18231824 poFeatureDefn->GetGeomFieldDefn (0 )->SetSpatialRef (poSRS);
0 commit comments