@@ -1535,8 +1535,8 @@ int QgsVectorLayer::addRing( const QList<QgsPoint>& ring )
1535
1535
1536
1536
if ( boundingBoxFromPointList ( ring, xMin, yMin, xMax, yMax ) == 0 )
1537
1537
{
1538
- bBox.setXMinimum ( xMin ); bBox.setYmin ( yMin );
1539
- bBox.setXMaximum ( xMax ); bBox.setYmax ( yMax );
1538
+ bBox.setXMinimum ( xMin ); bBox.setYMinimum ( yMin );
1539
+ bBox.setXMaximum ( xMax ); bBox.setYMaximum ( yMax );
1540
1540
}
1541
1541
else
1542
1542
{
@@ -1661,8 +1661,8 @@ int QgsVectorLayer::splitFeatures( const QList<QgsPoint>& splitLine, bool topolo
1661
1661
{
1662
1662
if ( boundingBoxFromPointList ( splitLine, xMin, yMin, xMax, yMax ) == 0 )
1663
1663
{
1664
- bBox.setXMinimum ( xMin ); bBox.setYmin ( yMin );
1665
- bBox.setXMaximum ( xMax ); bBox.setYmax ( yMax );
1664
+ bBox.setXMinimum ( xMin ); bBox.setYMinimum ( yMin );
1665
+ bBox.setXMaximum ( xMax ); bBox.setYMaximum ( yMax );
1666
1666
}
1667
1667
else
1668
1668
{
@@ -1679,8 +1679,8 @@ int QgsVectorLayer::splitFeatures( const QList<QgsPoint>& splitLine, bool topolo
1679
1679
}
1680
1680
else if ( bBox.height () == 0.0 && bBox.width () > 0 )
1681
1681
{
1682
- bBox.setYmin ( bBox.yMin () - bBox.width () / 2 );
1683
- bBox.setYmax ( bBox.yMax () + bBox.width () / 2 );
1682
+ bBox.setYMinimum ( bBox.yMin () - bBox.width () / 2 );
1683
+ bBox.setYMaximum ( bBox.yMax () + bBox.width () / 2 );
1684
1684
}
1685
1685
else
1686
1686
{
@@ -2176,8 +2176,8 @@ bool QgsVectorLayer::setDataProvider( QString const & provider )
2176
2176
// store the extent
2177
2177
mLayerExtent .setXMaximum ( mbr.xMax () );
2178
2178
mLayerExtent .setXMinimum ( mbr.xMin () );
2179
- mLayerExtent .setYmax ( mbr.yMax () );
2180
- mLayerExtent .setYmin ( mbr.yMin () );
2179
+ mLayerExtent .setYMaximum ( mbr.yMax () );
2180
+ mLayerExtent .setYMinimum ( mbr.yMin () );
2181
2181
2182
2182
// get and store the feature type
2183
2183
mGeometryType = mDataProvider ->geometryType ();
0 commit comments