[Libreoffice-commits] core.git: sc/source

Caolán McNamara caolanm at redhat.com
Wed Nov 22 11:51:39 UTC 2017


 sc/source/filter/lotus/op.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 041e1ba3185fd73930129c19739ee62ba88826cc
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Nov 21 20:42:21 2017 +0000

    good() includes !IsEof() already
    
    Change-Id: I6eddd347333638c0a8ea924e6062f8e4d379a20e
    Reviewed-on: https://gerrit.libreoffice.org/45074
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/filter/lotus/op.cxx b/sc/source/filter/lotus/op.cxx
index 0b65d7ceee50..6491b0c08ae1 100644
--- a/sc/source/filter/lotus/op.cxx
+++ b/sc/source/filter/lotus/op.cxx
@@ -662,7 +662,7 @@ void OP_ApplyPatternArea123(LotusContext& rContext, SvStream& rStream)
                 break;
         }
     }
-    while( nLevel && !rStream.IsEof() && rStream.good() );
+    while( nLevel && rStream.good() );
 
     rContext.aLotusPatternPool.clear();
 }


More information about the Libreoffice-commits mailing list