Skip to content

Commit d06406d

Browse files
committedFeb 1, 2019
fixed spellcheck
1 parent 9871c6d commit d06406d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed
 

‎src/core/raster/qgscontrastenhancement.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ void QgsContrastEnhancement::toSld( QDomDocument &doc, QDomElement &element ) co
400400
return;
401401
default:
402402
QString algName = contrastEnhancementAlgorithmString( contrastEnhancementAlgorithm() );
403-
QgsDebugMsg( QObject::tr( "No SLD1.0 convertion yet for stretch algorithm %1" ).arg( algName ) );
403+
QgsDebugMsg( QObject::tr( "No SLD1.0 conversion yet for stretch algorithm %1" ).arg( algName ) );
404404
return;
405405
}
406406

‎src/core/raster/qgsmultibandcolorrenderer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ void QgsMultiBandColorRenderer::toSld( QDomDocument &doc, QDomElement &element,
430430
// TODO: the following jumped code is necessary to avoid to export channelSelection in
431431
// case it's set as default value. The drawback is that it's necessary to calc band
432432
// statistics that can be really slow depending on dataProvider and rastr localtion.
433-
// this is the reason this part of code is commented and the channelSlection is
433+
// this is the reason this part of code is commented and the channelSelection is
434434
// always exported.
435435
//
436436
// before to export check if the band combination and contrast setting are the

‎src/core/raster/qgsrasterlayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ bool QgsRasterLayer::writeSld( QDomNode &node, QDomDocument &doc, QString &error
12971297

12981298
if ( isSpatial() ) // TODO: does it make sense this control?
12991299
{
1300-
// store contraints
1300+
// store constraints
13011301
QDomElement constraintElem = doc.createElement( QStringLiteral( "sld:LayerFeatureConstraints" ) );
13021302
node.appendChild( constraintElem );
13031303

‎src/core/raster/qgssinglebandgrayrenderer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ void QgsSingleBandGrayRenderer::toSld( QDomDocument &doc, QDomElement &element,
324324
// min/max calculation again that can takes a lot for remote or big images
325325
//
326326
// contrast enhancement against a color map can be SLD simulated playing with ColorMapEntryies
327-
// each ContrastEnhancementAlgorithm need a specfic management.
327+
// each ContrastEnhancementAlgorithm need a specific management.
328328
// set type of ColorMap ramp [ramp, intervals, values]
329329
// basing on interpolation algorithm of the raster shader
330330
QList< QPair< QString, QColor > > colorMapping( classes );

‎tests/src/python/test_qgsrasterlayer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ def testWriteSld(self):
794794
vendorOptions = rasterSymbolizer.elementsByTagName('sld:VendorOption')
795795
self.assertTrue(vendorOptions.size() == 0)
796796

797-
# set no defalt values and check exported sld
797+
# set no default values and check exported sld
798798
myRasterLayer.setName('')
799799
myRasterLayer.setAbstract('fake')
800800
myRasterLayer.setTitle('fake')

0 commit comments

Comments
 (0)
Please sign in to comment.