@@ -115,7 +115,7 @@ void QgsCustomProjectionDialog::getProjList ()
115115 assert(myResult == 0);
116116 }
117117
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
119119 QString mySql = "select * from tbl_projection order by name";
120120 myResult = sqlite3_prepare(myDatabase, mySql.toUtf8(), mySql.length(), &myPreparedStatement, &myTail);
121121 // XXX Need to free memory from the error msg if one is set
@@ -150,7 +150,7 @@ void QgsCustomProjectionDialog::getEllipsoidList()
150150 assert(myResult == 0);
151151 }
152152
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
154154 QString mySql = "select * from tbl_ellipsoid order by name";
155155 myResult = sqlite3_prepare(myDatabase, mySql.toUtf8(), mySql.length(), &myPreparedStatement, &myTail);
156156 // XXX Need to free memory from the error msg if one is set
@@ -193,7 +193,7 @@ void QgsCustomProjectionDialog::on_pbnDelete_clicked()
193193 // database if it does not exist.
194194 assert (myResult == 0 );
195195 }
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
197197 QString mySql = " delete from tbl_srs where srs_id='" + mCurrentRecordId + " '" ;
198198 myResult = sqlite3_prepare (myDatabase, mySql.toUtf8 (), mySql.length (), &myPreparedStatement, &myTail);
199199 // XXX Need to free memory from the error msg if one is set
@@ -253,7 +253,7 @@ long QgsCustomProjectionDialog::getRecordCount()
253253 // database if it does not exist.
254254 assert (myResult == 0 );
255255 }
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
257257 QString mySql = " select count(*) from tbl_srs" ;
258258 myResult = sqlite3_prepare (myDatabase, mySql.toUtf8 (), mySql.length (), &myPreparedStatement, &myTail);
259259 // XXX Need to free memory from the error msg if one is set
@@ -288,7 +288,7 @@ QString QgsCustomProjectionDialog::getProjectionFamilyName(QString theProjection
288288 // database if it does not exist.
289289 assert (myResult == 0 );
290290 }
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
292292 QString mySql = " select name from tbl_projection where acronym='" + theProjectionFamilyAcronym + " '" ;
293293 myResult = sqlite3_prepare (myDatabase, mySql.toUtf8 (), mySql.length (), &myPreparedStatement, &myTail);
294294 // XXX Need to free memory from the error msg if one is set
@@ -319,7 +319,7 @@ QString QgsCustomProjectionDialog::getEllipsoidName(QString theEllipsoidAcronym)
319319 // database if it does not exist.
320320 assert (myResult == 0 );
321321 }
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
323323 QString mySql = " select name from tbl_ellipsoid where acronym='" + theEllipsoidAcronym + " '" ;
324324 myResult = sqlite3_prepare (myDatabase, mySql.toUtf8 (), mySql.length (), &myPreparedStatement, &myTail);
325325 // XXX Need to free memory from the error msg if one is set
@@ -350,7 +350,7 @@ QString QgsCustomProjectionDialog::getProjectionFamilyAcronym(QString theProject
350350 // database if it does not exist.
351351 assert (myResult == 0 );
352352 }
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
354354 QString mySql = " select acronym from tbl_projection where name='" + theProjectionFamilyName + " '" ;
355355 myResult = sqlite3_prepare (myDatabase, mySql.toUtf8 (), mySql.length (), &myPreparedStatement, &myTail);
356356 // XXX Need to free memory from the error msg if one is set
@@ -381,7 +381,7 @@ QString QgsCustomProjectionDialog::getEllipsoidAcronym(QString theEllipsoidName)
381381 // database if it does not exist.
382382 assert (myResult == 0 );
383383 }
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
385385 QString mySql = " select acronym from tbl_ellipsoid where name='" + theEllipsoidName + " '" ;
386386 myResult = sqlite3_prepare (myDatabase, mySql.toUtf8 (), mySql.length (), &myPreparedStatement, &myTail);
387387 // XXX Need to free memory from the error msg if one is set
@@ -1000,7 +1000,7 @@ void QgsCustomProjectionDialog::cboProjectionFamily_highlighted( const QString &
10001000 assert(myResult == 0);
10011001 }
10021002
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
10041004 QString mySql = "select parameters from tbl_projection name where name='"+theText+"'";
10051005#ifdef QGISDEBUG
10061006 std::cout << "Query to get proj params:" << mySql.toLocal8Bit().data() << std::endl;
0 commit comments