Skip to content
Permalink
Browse files

removed default and manage forgot enum

  • Loading branch information
luipir committed Feb 1, 2019
1 parent ad112ba commit 06e0580511b6a47539b02db2103a4875b2837990
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/core/raster/qgssinglebandgrayrenderer.cpp
@@ -342,16 +342,16 @@ void QgsSingleBandGrayRenderer::toSld( QDomDocument &doc, QDomElement &element,
colorMapping.append( QPair< QString, QColor >( highValue, highColor ) );
break;
}
case ( QgsContrastEnhancement::NoEnhancement ):
break;
case ( QgsContrastEnhancement::StretchToMinimumMaximum ):
// use default
default:
{
colorMapping[0].first = QStringLiteral( "0" );
colorMapping[1].first = QStringLiteral( "255" );
break;
}
case ( QgsContrastEnhancement::UserDefinedEnhancement ):
break;
case ( QgsContrastEnhancement::NoEnhancement ):
break;
}

// create tags

0 comments on commit 06e0580

Please sign in to comment.
You can’t perform that action at this time.