Skip to content

Commit 6b9ce99

Browse files
author
jef
committed
fix build errors
git-svn-id: http://svn.osgeo.org/qgis/trunk@14315 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent e82a8f8 commit 6b9ce99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
qgsgraduatedsymbolrendererv2.cpp - Graduated Symbol Renderer Version 2
44
5-
/***************************************************************************
5+
***************************************************************************
66
* *
77
* This program is free software; you can redistribute it and/or modify *
88
* 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
370370
bool small = false;
371371
double dx = maximum - minimum;
372372

373-
if ( dx == 0 and maximum == 0 )
373+
if ( dx == 0 && maximum == 0 )
374374
{
375375
cell = 1.0;
376376
small = true;
@@ -646,7 +646,7 @@ static QList<double> _calcJenksBreaks( QList<double> values, int classes,
646646
breaks.append( 0.0 );
647647
}
648648

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

652652
int k = n;

0 commit comments

Comments
 (0)