[gnumeric] xls: fix debug print.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] xls: fix debug print.
- Date: Thu, 6 Jan 2011 19:35:54 +0000 (UTC)
commit ef03e1d8f8cfae6619bf3254a8047ab4944b12ad
Author: Morten Welinder <terra gnome org>
Date: Thu Jan 6 14:35:37 2011 -0500
xls: fix debug print.
NEWS | 1 +
plugins/excel/ChangeLog | 1 +
plugins/excel/xls-read-pivot.c | 8 +++++---
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/NEWS b/NEWS
index 17bb446..48e4fe2 100644
--- a/NEWS
+++ b/NEWS
@@ -21,6 +21,7 @@ Morten:
* Make sure columns are wide enough for dates in csv import.
* Plug a few leaks.
* Fix number-match issue regarding fraction.
+ * Fix problems with pivot reading from xls. [#638776]
--------------------------------------------------------------------------
Gnumeric 1.10.12
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index d83c19c..a6d0669 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -2,6 +2,7 @@
* xls-read-pivot.c (xls_read_SXVIEW): The record contains a cache
index, not a cache id.
+ (xls_read_SXVI): Fix debug print.
2010-12-26 Jean Brefort <jean brefort normalesup org>
diff --git a/plugins/excel/xls-read-pivot.c b/plugins/excel/xls-read-pivot.c
index e91a129..acb2447 100644
--- a/plugins/excel/xls-read-pivot.c
+++ b/plugins/excel/xls-read-pivot.c
@@ -646,9 +646,11 @@ xls_read_SXVI (BiffQuery *q, ExcelReadSheet *esheet, unsigned int i)
if (type == 0x00 && (flags & 1))
{
XL_CHECK_CONDITION (cache_index != 0xffff);
- g_print ("hide : ");
- go_data_cache_dump_value (go_data_cache_field_get_val (dcf, cache_index));
- g_print ("\n");
+ d(0, {
+ g_printerr ("hide : ");
+ go_data_cache_dump_value (go_data_cache_field_get_val (dcf, cache_index));
+ g_printerr ("\n");
+ });
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]