** Fixed some more instances of the same bug in raster layer

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1466 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
larsl 2004-05-25 17:54:10 +00:00
parent 8c36c73b18
commit 2874b1308d
3 changed files with 9 additions and 6 deletions

View File

@ -1,8 +1,11 @@
QGIS Change Log
ChangeLog,v 1.93 2004/05/25 17:18:41 timlinux Exp
ChangeLog,v 1.94 2004/05/25 17:54:10 larsl Exp
------------------------------------------------------------------------------
Version 0.3 'Madison' .... development version
2004-05-25 [larsl] 0.2.0devel36
** Fixed some more instances of the same bug in raster layer
2004-05-25 [ts] 0.2.0devel35
Disable overview widget for release. Minor bugfix in rasterlayer picker up by
Larsl which is only encountered bu i8n users. Miscellaneous other fixes

View File

@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
dnl configure.in,v 1.97 2004/05/25 17:18:41 timlinux Exp
dnl configure.in,v 1.98 2004/05/25 17:54:10 larsl Exp
AC_INIT
@ -24,7 +24,7 @@ dnl ---------------------------------------------------------------------------
MAJOR_VERSION=0
MINOR_VERSION=2
MICRO_VERSION=0
EXTRA_VERSION=35
EXTRA_VERSION=36
if test $EXTRA_VERSION -eq 0; then
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}
else

View File

@ -1755,7 +1755,7 @@ void QgsRasterLayer::setGreenBandName(QString theBandNameQString)
}
//check that a valid band name was passed
for (int myIteratorInt = 0; myIteratorInt <= rasterStatsVector.size(); ++myIteratorInt)
for (int myIteratorInt = 0; myIteratorInt < rasterStatsVector.size(); ++myIteratorInt)
{
//find out the name of this band
RasterBandStats myRasterBandStats = rasterStatsVector[myIteratorInt];
@ -1788,7 +1788,7 @@ void QgsRasterLayer::setBlueBandName(QString theBandNameQString)
}
//check that a valid band name was passed
for (int myIteratorInt = 0; myIteratorInt <= rasterStatsVector.size(); ++myIteratorInt)
for (int myIteratorInt = 0; myIteratorInt < rasterStatsVector.size(); ++myIteratorInt)
{
//find out the name of this band
RasterBandStats myRasterBandStats = rasterStatsVector[myIteratorInt];
@ -1821,7 +1821,7 @@ void QgsRasterLayer::setGrayBandName(QString theBandNameQString)
}
//otherwise check that a valid band name was passed
for (int myIteratorInt = 0; myIteratorInt <= rasterStatsVector.size(); ++myIteratorInt)
for (int myIteratorInt = 0; myIteratorInt < rasterStatsVector.size(); ++myIteratorInt)
{
//find out the name of this band
RasterBandStats myRasterBandStats = rasterStatsVector[myIteratorInt];