Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@14315 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Sep 30, 2010
1 parent e82a8f8 commit 6b9ce99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
qgsgraduatedsymbolrendererv2.cpp - Graduated Symbol Renderer Version 2
/***************************************************************************
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
Expand Down Expand Up @@ -370,7 +370,7 @@ static QList<double> _calcPrettyBreaks( double minimum, double maximum, int clas
bool small = false;
double dx = maximum - minimum;

if ( dx == 0 and maximum == 0 )
if ( dx == 0 && maximum == 0 )
{
cell = 1.0;
small = true;
Expand Down Expand Up @@ -646,7 +646,7 @@ static QList<double> _calcJenksBreaks( QList<double> values, int classes,
breaks.append( 0.0 );
}

breaks[classes - 1] = sample[sample.length() - 1];
breaks[classes - 1] = sample[sample.size() - 1];
// breaks[0] = values[0];

int k = n;
Expand Down

0 comments on commit 6b9ce99

Please sign in to comment.