mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
Don't use deprecated method
This commit is contained in:
parent
993c95dacc
commit
9bbae4c6ac
@ -18,7 +18,6 @@
|
||||
//header for class being tested
|
||||
#include <qgsrectangle.h>
|
||||
#include <qgspoint.h>
|
||||
#include "qgslogger.h"
|
||||
#include "qgsreferencedgeometry.h"
|
||||
|
||||
class TestQgsRectangle: public QObject
|
||||
@ -475,7 +474,7 @@ void TestQgsRectangle::buffered()
|
||||
QCOMPARE( rectOut.xMaximum(), 1.0 );
|
||||
QCOMPARE( rectOut.yMaximum(), -9.0 );
|
||||
|
||||
rectIn.setMinimal();
|
||||
rectIn.setNull();
|
||||
rectOut = rectIn.buffered( 11 );
|
||||
QVERIFY( rectOut.isNull() );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user