sal/osl/unx/file.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit dff3a597dad3b76990311ee356e0bd603753d8d3 Author: Chris Sherlock <chris.sherloc...@gmail.com> Date: Sat Jun 24 17:31:34 2017 +1000 osl: for should be a while Change-Id: Id4e92f0c7927bbc767061461361936dbad8da778 Reviewed-on: https://gerrit.libreoffice.org/39204 Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Tested-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx index 2689e5b73309..0452f2dfac7f 100644 --- a/sal/osl/unx/file.cxx +++ b/sal/osl/unx/file.cxx @@ -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) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits