sal/osl/unx/file.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit dff3a597dad3b76990311ee356e0bd603753d8d3 Author: Chris Sherlock <[email protected]> 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 <[email protected]> Tested-by: Noel Grandin <[email protected]> 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 [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
