1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Code cleanup

This commit is contained in:
Martin Tůma 2021-11-10 20:33:13 +01:00
parent de028cd2d4
commit caae981c6a
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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()),