gnumeric r17088 - trunk/plugins/openoffice



Author: mortenw
Date: Fri Jan 23 23:52:04 2009
New Revision: 17088
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17088&view=rev

Log:
2009-01-23  Morten Welinder  <terra gnome org>

	* openoffice-read.c (oo_cellref_parse): Don't try to create empty
	names.  Partially fixes #568928.



Modified:
   trunk/plugins/openoffice/ChangeLog
   trunk/plugins/openoffice/openoffice-read.c

Modified: trunk/plugins/openoffice/openoffice-read.c
==============================================================================
--- trunk/plugins/openoffice/openoffice-read.c	(original)
+++ trunk/plugins/openoffice/openoffice-read.c	Fri Jan 23 23:52:04 2009
@@ -821,6 +821,9 @@
 			ptr = tmp1 + 1;
 		}
 
+		if (name[0] == 0)
+			return start;
+
 		/* OpenCalc does not pre-declare its sheets, but it does have a
 		 * nice unambiguous format.  So if we find a name that has not
 		 * been added yet add it.  Reorder below. */



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