Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix msvc build
  • Loading branch information
jef-n committed Dec 25, 2012
1 parent a4a8b4c commit d6dcc72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/raster/qgspalettedrasterrenderer.cpp
Expand Up @@ -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 )
Expand Down Expand Up @@ -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 ) )
Expand Down

0 comments on commit d6dcc72

Please sign in to comment.