Skip to content
Permalink
Browse files
fix warning
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9599 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Nov 8, 2008
1 parent a947a79 commit 7dbd1a96990558330d3555933043e445d0d8b6d5
Showing with 8 additions and 9 deletions.
  1. +8 −9 src/core/raster/qgsrasterlayer.cpp
@@ -78,11 +78,11 @@ QgsRasterLayer::QgsRasterLayer(
// Constant that signals property not used.
QSTRING_NOT_SET( "Not Set" ),
TRSTRING_NOT_SET( tr( "Not Set" ) ),
mStandardDeviations( 0 ),
mDataProvider( 0 ),
mWidth( std::numeric_limits<int>::max() ),
mHeight( std::numeric_limits<int>::max() ),
mInvertColor( false ),
mStandardDeviations( 0 ),
mDataProvider( 0 )
mInvertColor( false )
{

mUserDefinedRGBMinimumMaximum = false; //defaults needed to bypass enhanceContrast
@@ -138,15 +138,14 @@ QgsRasterLayer::QgsRasterLayer( int dummy,
QString const & format,
QString const & crs )
: QgsMapLayer( RasterLayer, baseName, rasterLayerPath ),
mWidth( std::numeric_limits<int>::max() ),
mHeight( std::numeric_limits<int>::max() ),
mInvertColor( false ),
mStandardDeviations( 0 ),
mProviderKey( providerKey ),
mDataProvider( 0 ),
mEditable( false ),
mModified( false )

mWidth( std::numeric_limits<int>::max() ),
mHeight( std::numeric_limits<int>::max() ),
mInvertColor( false ),
mModified( false ),
mProviderKey( providerKey )
{
QgsDebugMsg( "(8 arguments) starting. with layer list of " +
layers.join( ", " ) + " and style list of " + styles.join( ", " ) + " and format of " +

0 comments on commit 7dbd1a9

Please sign in to comment.