Skip to content
Permalink
Browse files
fix warning
git-svn-id: http://svn.osgeo.org/qgis/trunk@9599 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Nov 8, 2008
1 parent 227f381 commit 348f0f7a9122da958c59acaaf5c18f225316c27e
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 348f0f7

Please sign in to comment.