Skip to content
Permalink
Browse files
fix msvc build
  • Loading branch information
jef-n committed Dec 25, 2012
1 parent a4a8b4c commit d6dcc72bf33e658e228b1e1f98e88370069ba362
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/core/raster/qgspalettedrasterrenderer.cpp
@@ -122,7 +122,6 @@ QgsRasterBlock * QgsPalettedRasterRenderer::block( int bandNo, QgsRectangle con
{
return outputBlock;
}
QRgb myDefaultColor = NODATA_COLOR;

//QGis::DataType transparencyType = QGis::UnknownDataType;
//if ( mAlphaBand > 0 )
@@ -172,7 +171,7 @@ QgsRasterBlock * QgsPalettedRasterRenderer::block( int bandNo, QgsRectangle con
}

//create copy of color table with nodata values replaced by fully transparent color
QRgb colorTable[mNColors];
QVector<QRgb> colorTable(mNColors);
for ( int i = 0; i < mNColors; ++i )
{
if ( inputBlock->isNoDataValue( i ) )

0 comments on commit d6dcc72

Please sign in to comment.