mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
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:
parent
ade747bcdd
commit
2a6ae6ac96
4
external/libdxfrw/drw_header.cpp
vendored
4
external/libdxfrw/drw_header.cpp
vendored
@ -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
|
||||
|
2
external/libdxfrw/intern/dwgreader18.cpp
vendored
2
external/libdxfrw/intern/dwgreader18.cpp
vendored
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user