[gnumeric] Do not change workbook save info when exporting. [#672323]
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Do not change workbook save info when exporting. [#672323]
- Date: Sun, 5 Aug 2012 01:20:13 +0000 (UTC)
commit 2d6aa4c3041e3dcfc3bc248e65f08c51d493e60f
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Sat Aug 4 19:17:39 2012 -0600
Do not change workbook save info when exporting. [#672323]
2012-08-03 Andreas J. Guelzow <aguelzow pyrshep ca>
* src/workbook.c (workbook_set_saveinfo): enforce the
distinction between save and export
ChangeLog | 5 +++++
NEWS | 1 +
src/workbook.c | 2 +-
3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d62d9f1..fa32f98 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,11 @@
2012-08-03 Andreas J. Guelzow <aguelzow pyrshep ca>
+ * src/workbook.c (workbook_set_saveinfo): enforce the
+ distinction between save and export
+
+2012-08-03 Andreas J. Guelzow <aguelzow pyrshep ca>
+
* src/xml-sax-write.c (gnm_xml_file_save): renamed to
gnm_xml_file_save_full
(gnm_xml_file_save): new
diff --git a/NEWS b/NEWS
index 3bbe87e..9103d13 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,7 @@ Andreas:
* Map captions onto text rectangles on ODF import.
* Add new autofilter op. [#647401]
* Provide new saver for uncompressed Gnumeric xml. [#672622]
+ * Do not change workbook save info when exporting. [#672323]
Jean:
* Fix component references issues. [#680190]
diff --git a/src/workbook.c b/src/workbook.c
index 0bdb430..3f980bb 100644
--- a/src/workbook.c
+++ b/src/workbook.c
@@ -422,7 +422,7 @@ workbook_set_saveinfo (Workbook *wb, GOFileFormatLevel level, GOFileSaver *fs)
(GWeakNotify) cb_saver_finalize, wb);
}
- if (level == GO_FILE_FL_WRITE_ONLY)
+ if (level != GO_FILE_FL_AUTO)
return FALSE;
wb->file_format_level = level;
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]