Kaydet (Commit) dff3a597 authored tarafından Chris Sherlock's avatar Chris Sherlock Kaydeden (comit) Noel Grandin

osl: for should be a while

Change-Id: Id4e92f0c7927bbc767061461361936dbad8da778
Reviewed-on: https://gerrit.libreoffice.org/39204Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst dda035f0
......@@ -605,7 +605,7 @@ oslFileError FileHandle_Impl::readLineAt(
size_t bufpos = nOffset - m_bufptr, curpos = bufpos, dstpos = 0;
int state = (bufpos >= m_buflen) ? LINE_STATE_LF : LINE_STATE_BEGIN;
for ( ; state != LINE_STATE_LF; )
while (state != LINE_STATE_LF)
{
if (curpos >= m_buflen)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment