[gnumeric] We may not use '+' inside an ODF style name.



commit 26670e3b17383ab352d53411c8bb8e094ca66d15
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date:   Sun Jun 21 20:44:58 2009 -0600

    We may not use '+' inside an ODF  style name.
    
    2009-06-21 Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* openoffice-write.c (xl_find_format): We may not use '+' inside a
    	  style name.

 plugins/openoffice/ChangeLog          |    5 +++++
 plugins/openoffice/openoffice-write.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index 4f7508c..a25cf7d 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,5 +1,10 @@
 2009-06-21 Andreas J. Guelzow <aguelzow pyrshep ca>
 
+	* openoffice-write.c (xl_find_format): We may not use '+' inside a 
+	  style name.
+	
+2009-06-21 Andreas J. Guelzow <aguelzow pyrshep ca>
+
 	* openoffice-read.c (oo_func_map_in): we now have JIS
 	* openoffice-write.c (odf_expr_func_handler): ditto
 
diff --git a/plugins/openoffice/openoffice-write.c b/plugins/openoffice/openoffice-write.c
index 2c7816a..56fb2b9 100644
--- a/plugins/openoffice/openoffice-write.c
+++ b/plugins/openoffice/openoffice-write.c
@@ -448,7 +448,7 @@ xl_find_format (GnmOOExport *state, GOFormat const *format, int i)
 	switch (i) {
 	case 0: 
 		hash = state->xl_styles;
-		prefix = "ND+%i";
+		prefix = "ND.%i";
 		break;
 	case 1: 
 		hash = state->xl_styles_neg;



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