@@ -115,7 +115,7 @@ void QgsCustomProjectionDialog::getProjList ()
115
115
assert(myResult == 0);
116
116
}
117
117
118
- // Set up the query to retreive the projection information needed to populate the PROJECTION list
118
+ // Set up the query to retrieve the projection information needed to populate the PROJECTION list
119
119
QString mySql = "select * from tbl_projection order by name";
120
120
myResult = sqlite3_prepare(myDatabase, mySql.toUtf8(), mySql.length(), &myPreparedStatement, &myTail);
121
121
// XXX Need to free memory from the error msg if one is set
@@ -150,7 +150,7 @@ void QgsCustomProjectionDialog::getEllipsoidList()
150
150
assert(myResult == 0);
151
151
}
152
152
153
- // Set up the query to retreive the projection information needed to populate the ELLIPSOID list
153
+ // Set up the query to retrieve the projection information needed to populate the ELLIPSOID list
154
154
QString mySql = "select * from tbl_ellipsoid order by name";
155
155
myResult = sqlite3_prepare(myDatabase, mySql.toUtf8(), mySql.length(), &myPreparedStatement, &myTail);
156
156
// XXX Need to free memory from the error msg if one is set
@@ -193,7 +193,7 @@ void QgsCustomProjectionDialog::on_pbnDelete_clicked()
193
193
// database if it does not exist.
194
194
assert (myResult == 0 );
195
195
}
196
- // Set up the query to retreive the projection information needed to populate the ELLIPSOID list
196
+ // Set up the query to retrieve the projection information needed to populate the ELLIPSOID list
197
197
QString mySql = " delete from tbl_srs where srs_id='" + mCurrentRecordId + " '" ;
198
198
myResult = sqlite3_prepare (myDatabase, mySql.toUtf8 (), mySql.length (), &myPreparedStatement, &myTail);
199
199
// XXX Need to free memory from the error msg if one is set
@@ -253,7 +253,7 @@ long QgsCustomProjectionDialog::getRecordCount()
253
253
// database if it does not exist.
254
254
assert (myResult == 0 );
255
255
}
256
- // Set up the query to retreive the projection information needed to populate the ELLIPSOID list
256
+ // Set up the query to retrieve the projection information needed to populate the ELLIPSOID list
257
257
QString mySql = " select count(*) from tbl_srs" ;
258
258
myResult = sqlite3_prepare (myDatabase, mySql.toUtf8 (), mySql.length (), &myPreparedStatement, &myTail);
259
259
// XXX Need to free memory from the error msg if one is set
@@ -288,7 +288,7 @@ QString QgsCustomProjectionDialog::getProjectionFamilyName(QString theProjection
288
288
// database if it does not exist.
289
289
assert (myResult == 0 );
290
290
}
291
- // Set up the query to retreive the projection information needed to populate the ELLIPSOID list
291
+ // Set up the query to retrieve the projection information needed to populate the ELLIPSOID list
292
292
QString mySql = " select name from tbl_projection where acronym='" + theProjectionFamilyAcronym + " '" ;
293
293
myResult = sqlite3_prepare (myDatabase, mySql.toUtf8 (), mySql.length (), &myPreparedStatement, &myTail);
294
294
// XXX Need to free memory from the error msg if one is set
@@ -319,7 +319,7 @@ QString QgsCustomProjectionDialog::getEllipsoidName(QString theEllipsoidAcronym)
319
319
// database if it does not exist.
320
320
assert (myResult == 0 );
321
321
}
322
- // Set up the query to retreive the projection information needed to populate the ELLIPSOID list
322
+ // Set up the query to retrieve the projection information needed to populate the ELLIPSOID list
323
323
QString mySql = " select name from tbl_ellipsoid where acronym='" + theEllipsoidAcronym + " '" ;
324
324
myResult = sqlite3_prepare (myDatabase, mySql.toUtf8 (), mySql.length (), &myPreparedStatement, &myTail);
325
325
// XXX Need to free memory from the error msg if one is set
@@ -350,7 +350,7 @@ QString QgsCustomProjectionDialog::getProjectionFamilyAcronym(QString theProject
350
350
// database if it does not exist.
351
351
assert (myResult == 0 );
352
352
}
353
- // Set up the query to retreive the projection information needed to populate the ELLIPSOID list
353
+ // Set up the query to retrieve the projection information needed to populate the ELLIPSOID list
354
354
QString mySql = " select acronym from tbl_projection where name='" + theProjectionFamilyName + " '" ;
355
355
myResult = sqlite3_prepare (myDatabase, mySql.toUtf8 (), mySql.length (), &myPreparedStatement, &myTail);
356
356
// XXX Need to free memory from the error msg if one is set
@@ -381,7 +381,7 @@ QString QgsCustomProjectionDialog::getEllipsoidAcronym(QString theEllipsoidName)
381
381
// database if it does not exist.
382
382
assert (myResult == 0 );
383
383
}
384
- // Set up the query to retreive the projection information needed to populate the ELLIPSOID list
384
+ // Set up the query to retrieve the projection information needed to populate the ELLIPSOID list
385
385
QString mySql = " select acronym from tbl_ellipsoid where name='" + theEllipsoidName + " '" ;
386
386
myResult = sqlite3_prepare (myDatabase, mySql.toUtf8 (), mySql.length (), &myPreparedStatement, &myTail);
387
387
// XXX Need to free memory from the error msg if one is set
@@ -1000,7 +1000,7 @@ void QgsCustomProjectionDialog::cboProjectionFamily_highlighted( const QString &
1000
1000
assert(myResult == 0);
1001
1001
}
1002
1002
1003
- // Set up the query to retreive the projection information needed to populate the PROJECTION list
1003
+ // Set up the query to retrieve the projection information needed to populate the PROJECTION list
1004
1004
QString mySql = "select parameters from tbl_projection name where name='"+theText+"'";
1005
1005
#ifdef QGISDEBUG
1006
1006
std::cout << "Query to get proj params:" << mySql.toLocal8Bit().data() << std::endl;
0 commit comments