sc/source/filter/lotus/lotimpop.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 79b58f222885cc0648ef46c7d05089f09060f793
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Aug 30 19:24:50 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Tue Aug 31 09:55:56 2021 +0200

    reversed condition
    
    Change-Id: I5d4440ed16fe6acc21923209f94067ce7df03564
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121323
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sc/source/filter/lotus/lotimpop.cxx 
b/sc/source/filter/lotus/lotimpop.cxx
index 9b3852f05a36..f1106b0c372c 100644
--- a/sc/source/filter/lotus/lotimpop.cxx
+++ b/sc/source/filter/lotus/lotimpop.cxx
@@ -113,7 +113,7 @@ void ImportLotus::Columnwidth( sal_uInt16 nRecLen )
 
     Skip( 2 );
 
-    while (nCnt && !pIn->good())
+    while (nCnt && pIn->good())
     {
         sal_uInt8 nCol(0), nSpaces(0);
         Read( nCol );
@@ -142,7 +142,7 @@ void ImportLotus::Hiddencolumn( sal_uInt16 nRecLen )
 
     Skip( 2 );
 
-    while (nCnt && !pIn->good())
+    while (nCnt && pIn->good())
     {
         sal_uInt8 nCol(0);
         Read( nCol );

Reply via email to