Skip to content
Permalink
Browse files
fix build errors
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 6b9ce99930ec99686021ee0be5ca8d03925c2fbe
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
@@ -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 *
@@ -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;
@@ -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;

0 comments on commit 6b9ce99

Please sign in to comment.