Skip to content

Commit

Permalink
Spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 15, 2019
1 parent ae302ff commit e2f7b91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/core/qgscoordinatereferencesystem.cpp
Expand Up @@ -1335,11 +1335,11 @@ void QgsCoordinateReferenceSystem::setMapUnits()
else if ( unitName.compare( QLatin1String( "US survey foot" ), Qt::CaseInsensitive ) == 0 ||
unitName.compare( QLatin1String( "foot" ), Qt::CaseInsensitive ) == 0 )
d->mMapUnits = QgsUnitTypes::DistanceFeet;
else if ( unitName.compare( QLatin1String( "kilometre" ), Qt::CaseInsensitive ) == 0 )
else if ( unitName.compare( QLatin1String( "kilometre" ), Qt::CaseInsensitive ) == 0 ) //#spellok
d->mMapUnits = QgsUnitTypes::DistanceKilometers;
else if ( unitName.compare( QLatin1String( "centimetre" ), Qt::CaseInsensitive ) == 0 )
else if ( unitName.compare( QLatin1String( "centimetre" ), Qt::CaseInsensitive ) == 0 ) //#spellok
d->mMapUnits = QgsUnitTypes::DistanceCentimeters;
else if ( unitName.compare( QLatin1String( "millimetre" ), Qt::CaseInsensitive ) == 0 )
else if ( unitName.compare( QLatin1String( "millimetre" ), Qt::CaseInsensitive ) == 0 ) //#spellok
d->mMapUnits = QgsUnitTypes::DistanceMillimeters;
else if ( unitName.compare( QLatin1String( "Statute mile" ), Qt::CaseInsensitive ) == 0 )
d->mMapUnits = QgsUnitTypes::DistanceMiles;
Expand Down
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsrasterrerderer_createsld.py
Expand Up @@ -438,7 +438,7 @@ def __init__(self, interface):
dom, root = self.rendererToSld(self.raster_layer.renderer())
self.assertOpacity(root, '1.1')

# check gamma properties from [-100:0] streched to [0:1]
# check gamma properties from [-100:0] stretched to [0:1]
# and (0:100] stretche dto (1:100]
# dom, root = self.rendererToSld(rasterRenderer, {'contrast': '-100'})
# self.assertGamma(root, '0')
Expand Down

0 comments on commit e2f7b91

Please sign in to comment.