Misc. source and comment typos

These need a little more review, so I added them in to a separate PR.
This commit is contained in:
luz.paz 2018-01-11 19:17:06 -05:00 committed by Nyall Dawson
parent ade747bcdd
commit 2a6ae6ac96
4 changed files with 5 additions and 5 deletions

View File

@ -1947,8 +1947,8 @@ bool DRW_Header::parseDwg( DRW::Version version, dwgBuffer *buf, dwgBuffer *hBbu
if ( version > DRW::AC1021 && mv > 3 ) //2010+
{
duint32 hSize = buf->getRawLong32();
endBitPos += 32; //start bit: + 4 hight size
QgsDebugMsg( QString( "2010+ & MV> 3, higth 32b:%1" ).arg( hSize ) );
endBitPos += 32; //start bit: + 4 height size
QgsDebugMsg( QString( "2010+ & MV> 3, height 32b:%1" ).arg( hSize ) );
Q_UNUSED( hSize );
}
//RLZ TODO add $ACADVER var & $DWGCODEPAGE & $MEASUREMENT

View File

@ -644,7 +644,7 @@ bool dwgReader18::readDwgClasses()
if ( version > DRW::AC1021 && maintenanceVersion > 3 ) //2010+
{
duint32 hSize = dataBuf.getRawLong32();
DRW_DBG( "\n2010+ & MV> 3, higth 32b: " );
DRW_DBG( "\n2010+ & MV> 3, height 32b: " );
DRW_DBG( hSize );
}
duint32 bitSize = 0;

View File

@ -34,7 +34,7 @@ class CORE_EXPORT QgsGeometryValidator : public QThread
/**
* Constructor for QgsGeometryValidator.
*/
QgsGeometryValidator( const QgsGeometry &geoemtry, QVector<QgsGeometry::Error> *errors = nullptr, QgsGeometry::ValidationMethod method = QgsGeometry::ValidatorQgisInternal );
QgsGeometryValidator( const QgsGeometry &geometry, QVector<QgsGeometry::Error> *errors = nullptr, QgsGeometry::ValidationMethod method = QgsGeometry::ValidatorQgisInternal );
~QgsGeometryValidator() override;
void run() override;

View File

@ -822,7 +822,7 @@ bool QgsWcsCapabilities::parseDescribeCoverageDom10( QByteArray const &xml, QgsW
QList<int> high = parseInts( domElementText( gridElement, QStringLiteral( "limits.GridEnvelope.high" ) ) );
if ( low.size() == 2 && high.size() == 2 )
{
// low/high are indexes in grid -> size is hight - low + 1
// low/high are indexes in grid -> size is height - low + 1
double width = high[0] - low[0] + 1;
double height = high[1] - low[1] + 1;
if ( width > 0 && height > 0 )