[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Fri May 16 01:31:06 PDT 2014


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

New commits:
commit 8f1f935beee8495168b19f4b5e02bde8a9399154
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Tue May 13 14:02:45 2014 -0400

    fdo#78471: Don't forget to record the ID of the last record for BIFF5.
    
    Shared formula import code depends on this.
    
    Change-Id: Iecb009252c56673df33e0d681de825911154903a
    (cherry picked from commit 286760359bae7e21a772dd104ab17a1df69a57b0)
    Reviewed-on: https://gerrit.libreoffice.org/9347
    Tested-by: David Tardon <dtardon at redhat.com>
    Reviewed-by: David Tardon <dtardon at redhat.com>

diff --git a/sc/source/filter/excel/read.cxx b/sc/source/filter/excel/read.cxx
index a8f0fe6..4c69155 100644
--- a/sc/source/filter/excel/read.cxx
+++ b/sc/source/filter/excel/read.cxx
@@ -90,7 +90,7 @@ FltError ImportExcel::Read( void )
     sal_Size nProgressBasePos = 0;
     sal_Size nProgressBaseSize = 0;
 
-    while( eAkt != Z_Ende )
+    for (; eAkt != Z_Ende; mnLastRecId = nOpcode)
     {
         if( eAkt == Z_Biff5E )
         {


More information about the Libreoffice-commits mailing list