mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Code cleanup
This commit is contained in:
parent
de028cd2d4
commit
caae981c6a
@ -17,7 +17,6 @@ public:
|
|||||||
|
|
||||||
bool atEnd() const
|
bool atEnd() const
|
||||||
{return _symbolDataSize + _bs.bitsAvailable() < _table.symBits();}
|
{return _symbolDataSize + _bs.bitsAvailable() < _table.symBits();}
|
||||||
bool flush() {return _bs.flush();}
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
quint32 _symbolDataSize;
|
quint32 _symbolDataSize;
|
||||||
|
@ -312,7 +312,7 @@ bool RGNFile::extPolyObjects(Handle &hdl, const SubDiv *subdiv, quint32 shift,
|
|||||||
poly.boundingRect = poly.boundingRect.united(c);
|
poly.boundingRect = poly.boundingRect.united(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(stream.atEnd() && stream.flush()))
|
if (!(stream.atEnd() && bs.flush()))
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
pos = QPoint(subdiv->lon() + LS(lon, 24-subdiv->bits()),
|
pos = QPoint(subdiv->lon() + LS(lon, 24-subdiv->bits()),
|
||||||
|
Loading…
Reference in New Issue
Block a user