Don't use deprecated method

This commit is contained in:
Nyall Dawson 2023-10-20 12:00:37 +13:00
parent 993c95dacc
commit 9bbae4c6ac

View File

@ -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() );
}