Skip to content
Permalink
Browse files

removed default and manage forgot enum

  • Loading branch information
luipir committed Feb 1, 2019
1 parent a5866df commit be6968ece5075d8015d3458341765a6ca9f1915b
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/core/raster/qgssinglebandgrayrenderer.cpp
@@ -340,16 +340,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 be6968e

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