Skip to content
Permalink
Browse files

Fix doxygen warnings

  • Loading branch information
nyalldawson committed Dec 8, 2015
1 parent 8cac364 commit f13104be37c5f8c4b4538e384e68687644abd3dd
Showing with 4 additions and 4 deletions.
  1. +1 −1 src/core/qgsrectangle.cpp
  2. +3 −3 src/core/raster/qgsrasterlayer.cpp
@@ -35,7 +35,7 @@ QgsRectangle::QgsRectangle( double newxmin, double newymin, double newxmax, doub
normalize();
}

QgsRectangle::QgsRectangle( QgsPoint const & p1, QgsPoint const & p2 )
QgsRectangle::QgsRectangle( const QgsPoint& p1, const QgsPoint& p2 )
{
set( p1, p2 );
}
@@ -89,8 +89,8 @@ QgsRasterLayer::QgsRasterLayer()
}

QgsRasterLayer::QgsRasterLayer(
QString const & path,
QString const & baseName,
const QString& path,
const QString& baseName,
bool loadDefaultStyleFlag )
: QgsMapLayer( RasterLayer, baseName, path )
, QSTRING_NOT_SET( "Not Set" )
@@ -167,7 +167,7 @@ QgsRasterLayer::~QgsRasterLayer()
/**
* This helper checks to see whether the file name appears to be a valid raster file name
*/
bool QgsRasterLayer::isValidRasterFileName( QString const & theFileNameQString, QString & retErrMsg )
bool QgsRasterLayer::isValidRasterFileName( const QString& theFileNameQString, QString& retErrMsg )
{
isvalidrasterfilename_t *pValid = ( isvalidrasterfilename_t * ) cast_to_fptr( QgsProviderRegistry::instance()->function( "gdal", "isValidRasterFileName" ) );
if ( ! pValid )

0 comments on commit f13104b

Please sign in to comment.
You can’t perform that action at this time.