Skip to content
Permalink
Browse files

fix windows build

  • Loading branch information
jef-n committed Aug 1, 2011
1 parent 557a124 commit 678549fb11c3202c9a29a43ece360ec13c05e67e
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/analysis/raster/qgsrastermatrix.cpp
  2. +1 −1 src/core/symbology-ng/qgsfillsymbollayerv2.cpp
@@ -217,7 +217,7 @@ bool QgsRasterMatrix::oneArgumentOperation( OneArgOperator op )
mData[i] = static_cast<float>( atan( value ) );
break;
case opSIGN:
mData[i] = -value;
mData[i] = static_cast<float>( -value );
}
}
}
@@ -437,7 +437,7 @@ void QgsLinePatternFillSymbolLayer::startRender( QgsSymbolV2RenderContext& conte

//find a suitable multiple of width and heigh

QImage patternImage( fabs( width ), height, QImage::Format_ARGB32 );
QImage patternImage( qAbs( width ), height, QImage::Format_ARGB32 );
patternImage.fill( 0 );
QPainter p( &patternImage );
p.setRenderHint( QPainter::Antialiasing, true );

0 comments on commit 678549f

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