[gnumeric] Fix import of dbf files with more than 65536 rows. [#644189]



commit 247264d49241bd748ba76deebd19493fce562ab6
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Tue Mar 8 10:51:13 2011 -0700

    Fix import of dbf files with more than 65536 rows. [#644189]
    
    2011-03-08  Andreas J. Guelzow <aguelzow prshep ca>
    
    	* boot.c (xbase_file_open): do not overwrite the
    	correct initialization of the row counter

 NEWS                    |    1 +
 plugins/xbase/ChangeLog |    5 +++++
 plugins/xbase/boot.c    |    1 -
 3 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index bc5cc68..3012113 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ Andreas:
 	  comments. [#642850]
 	* Trigger configurable text importer on paste of tabs. [#395631]
 	* Fix ctrl-end in presence of hidden rows. [#643971]
+	* Fix import of dbf files with more than 65536 rows. [#644189]
 
 Jean:
 	* Fix cursor position inside a cell edited in a zoomed sheet. [#641709]
diff --git a/plugins/xbase/ChangeLog b/plugins/xbase/ChangeLog
index b02b2fb..5b56207 100644
--- a/plugins/xbase/ChangeLog
+++ b/plugins/xbase/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-08  Andreas J. Guelzow <aguelzow prshep ca>
+
+	* boot.c (xbase_file_open): do not overwrite the
+	correct initialization of the row counter
+
 2011-02-02  Morten Welinder <terra gnome org>
 
 	* Release 1.10.13
diff --git a/plugins/xbase/boot.c b/plugins/xbase/boot.c
index 4eb474f..484e8c5 100644
--- a/plugins/xbase/boot.c
+++ b/plugins/xbase/boot.c
@@ -162,7 +162,6 @@ xbase_file_open (GOFileOpener const *fo, GOIOContext *io_context,
 		return;
 	}
 
-	rows = 0;
 	wb = wb_view_get_workbook (wb_view);
 
 	for (pass = 1; pass <= 2; pass++) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]