[goffice] GOFormat: fix odf export in certain cases with text # or ?
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] GOFormat: fix odf export in certain cases with text # or ?
- Date: Thu, 3 Apr 2014 01:12:17 +0000 (UTC)
commit 94a32a50a70ff9522af59bae7c53b6a3e8b58874
Author: Morten Welinder <terra gnome org>
Date: Wed Apr 2 21:11:22 2014 -0400
GOFormat: fix odf export in certain cases with text # or ?
ChangeLog | 3 +++
goffice/utils/go-format.c | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 87da0e9..72e2e14 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2014-04-02 Morten Welinder <terra gnome org>
+ * goffice/utils/go-format.c (go_format_output_number_to_odf): Also
+ flush string on '#' and '?'.
+
* goffice/math/go-math.c (go_fake_round): Fix problem for 2^51 and
like integers.
(go_fake_roundl): Ditto, although for different set of numbers.
diff --git a/goffice/utils/go-format.c b/goffice/utils/go-format.c
index fe23330..41b4858 100644
--- a/goffice/utils/go-format.c
+++ b/goffice/utils/go-format.c
@@ -8319,6 +8319,7 @@ go_format_output_number_to_odf (GsfXMLOut *xout, GOFormat const *fmt,
case '#':
case '?':
+ ODF_FLUSH_STRING;
digits++;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]