[gnumeric] odf: another quoting issue.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] odf: another quoting issue.
- Date: Fri, 1 Nov 2019 00:07:29 +0000 (UTC)
commit d5e41c64a62dc6eebe6376ca737022233f882787
Author: Morten Welinder <terra gnome org>
Date: Thu Oct 31 20:07:19 2019 -0400
odf: another quoting issue.
plugins/openoffice/ChangeLog | 2 ++
plugins/openoffice/openoffice-read.c | 2 ++
2 files changed, 4 insertions(+)
---
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index 76446956d..256a56c1a 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -2,6 +2,8 @@
* openoffice-read.c (odf_number_color): Previous fix was a bit too
aggressive. Caught by "t8010 --corpus /amath/".
+ (odf_number_style): Mark quoting not opened. Caught by "t8010
+ --corpus /vdb/".
2019-07-02 Morten Welinder <terra gnome org>
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index 6849566e2..841f744ce 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -5293,6 +5293,7 @@ oo_date_style (GsfXMLIn *xin, xmlChar const **attrs)
/* We always save a magic number with source language, so if that is gone somebody may have changed
formats */
state->cur_format.magic = format_source_is_language ? magic : GO_FORMAT_MAGIC_NONE;
state->cur_format.accum = (state->cur_format.magic == GO_FORMAT_MAGIC_NONE) ? g_string_new (NULL) :
NULL;
+ state->cur_format.string_opened = FALSE;
state->cur_format.name = g_strdup (name);
state->cur_format.percentage = FALSE;
state->cur_format.truncate_hour_on_overflow = truncate_hour_on_overflow;
@@ -5640,6 +5641,7 @@ odf_number_style (GsfXMLIn *xin, xmlChar const **attrs)
state->cur_format.name = g_strdup (name);
state->cur_format.percentage = FALSE;
state->cur_format.percent_sign_seen = FALSE;
+ state->cur_format.string_opened = FALSE;
state->conditions = NULL;
state->cond_formats = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]