Skip to content
Permalink
Browse files

Misc. source and comment typos

These need a little more review, so I added them in to a separate PR.
  • Loading branch information
luzpaz authored and nyalldawson committed Jan 12, 2018
1 parent ade747b commit 2a6ae6ac96a12b81099c0a9a712d1452d4584455
@@ -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
@@ -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;
@@ -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;
@@ -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 )

0 comments on commit 2a6ae6a

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