Fix warnings

This commit is contained in:
Matthias Kuhn 2015-05-26 19:20:54 +02:00
parent 050aa8d0f4
commit 5f0d1b4bf1
2 changed files with 1 additions and 3 deletions

View File

@ -18,7 +18,7 @@
#include <QHash>
class sqlite3;
struct sqlite3;
class CORE_EXPORT QgsSLConnect
{

View File

@ -32,9 +32,7 @@ class TestQgsMapToPixel: public QObject
void TestQgsMapToPixel::legacy()
{
Q_NOWARN_DEPRECATED_PUSH
QgsMapToPixel m2p( 2, 10, -4, 3 );
Q_NOWARN_DEPRECATED_POP
QgsPoint p( 0, 0 ); // in geographical units
QgsPoint d = m2p.transform( p ); // to device pixels