Skip to content

Commit

Permalink
Source typos
Browse files Browse the repository at this point in the history
  • Loading branch information
luzpaz authored and nyalldawson committed May 7, 2018
1 parent f01bff2 commit c11c1cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/gui/qgsvariableeditorwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class QgsVariableEditorTree : public QTreeWidget

public:

enum VaribleRoles
enum VariableRoles
{
ContextIndex = Qt::UserRole,
RowBaseColor
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/georeferencer/qgsimagewarper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ void *QgsImageWarper::addGeoToPixelTransform( GDALTransformerFunc GDALTransforme
return ( void * )chain;
}

void QgsImageWarper::destroyGeoToPixelTransform( void *GeoToPixelTransfomArg ) const
void QgsImageWarper::destroyGeoToPixelTransform( void *GeoToPixelTransformArg ) const
{
delete static_cast<TransformChain *>( GeoToPixelTransfomArg );
delete static_cast<TransformChain *>( GeoToPixelTransformArg );
}

int QgsImageWarper::GeoToPixelTransform( void *pTransformerArg, int bDstToSrc, int nPointCount,
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/georeferencer/qgsimagewarper.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class QgsImageWarper
* \returns Argument to use with the static GDAL callback \ref GeoToPixelTransform
*/
void *addGeoToPixelTransform( GDALTransformerFunc GDALTransformer, void *GDALTransformerArg, double *padfGeotransform ) const;
void destroyGeoToPixelTransform( void *GeoToPixelTransfomArg ) const;
void destroyGeoToPixelTransform( void *GeoToPixelTransformArg ) const;

bool openSrcDSAndGetWarpOpt( const QString &input, ResamplingMethod resampling,
const GDALTransformerFunc &pfnTransform, gdal::dataset_unique_ptr &hSrcDS,
Expand Down

0 comments on commit c11c1cf

Please sign in to comment.