Changeset 13614

Show
Ignore:
Timestamp:
01/28/08 11:08:05 (4 months ago)
Author:
warmerdam
Message:

avoid use of transform() (problematic on gcc 4.3) (#2179)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gdal/frmts/ilwis/ilwisdataset.cpp

    r11834 r13614  
    407407{ 
    408408    string st = ReadElement("MapStore", "Type", pszFileName.c_str()); 
    409     transform(st.begin(), st.end(), st.begin(), tolower); 
    410409                 
    411410    if( EQUAL(st.c_str(),"byte")) 
     
    482481    else 
    483482        georef = ReadElement("MapList", "GeoRef", osFileName); 
    484  
    485     transform(georef.begin(), georef.end(), georef.begin(), tolower); 
    486483 
    487484    //Capture the geotransform, only if the georef is not 'none',  
     
    789786        //      Fetch coordinate system 
    790787        string csy = ReadElement("GeoRef", "CoordSystem", pszGeoRef); 
    791         transform(csy.begin(), csy.end(), csy.begin(), tolower); 
    792  
    793788        string pszProj; 
     789 
    794790        if( (csy.length() != 0) && !EQUAL(csy.c_str(),"unknown.csy")) 
    795791        { 
     
    797793            //Form the coordinate system file name 
    798794            if( !(EQUALN( csy.c_str(), "latlon.csy", 10 )) &&  
    799                 !(EQUALN( csy.c_str(), "LatlonWGS84.csy", 15 )))                        
     795                !(EQUALN( csy.c_str(), "LatlonWGS84.csy", 15 )))             
    800796            { 
    801797                string pszBaseName = string(CPLGetBasename(csy.c_str()) ); 
     
    13191315    string domName = ReadElement("BaseMap", "Domain", pszFileName.c_str()); 
    13201316    string pszBaseName = string(CPLGetBasename( domName.c_str() )); 
    1321     transform(pszBaseName.begin(), pszBaseName.end(), pszBaseName.begin(), tolower); 
    13221317    string pszPath = string(CPLGetPath( pszFileName.c_str() )); 
    13231318                 
     
    13711366                                 
    13721367        string domType = ReadElement("Domain", "Type", pszDomainName.c_str()); 
    1373         transform(domType.begin(), domType.end(), domType.begin(), tolower); 
    13741368        if EQUAL(domType.c_str(),"domainvalue")   
    13751369            {