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/qgis@14315 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Sep 30, 2010
1 parent a732d9b commit c705064
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
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 c705064

Please sign in to comment.