diff options
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/unx/file.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |