output: Make table_item a pivot_table, table_cell a pivot_value.
[pspp] / src / output / spv / spv-output.c
index 00b3dead4729416faa1ca19cb28a63314a850ced..c21ec22bcb29bc0c80dfd98cc41462e24aeea527 100644 (file)
@@ -33,8 +33,7 @@ spv_text_submit (const struct spv_item *in)
        : class == SPV_CLASS_PAGETITLE ? TEXT_ITEM_PAGE_TITLE
        : TEXT_ITEM_LOG);
   const struct pivot_value *value = spv_item_get_text (in);
-  char *text = pivot_value_to_string (value, SETTINGS_VALUE_SHOW_DEFAULT,
-                                      SETTINGS_VALUE_SHOW_DEFAULT);
+  char *text = pivot_value_to_string_defaults (value);
   char *label = in->label ? xstrdup (in->label) : NULL;
   struct text_item *item = text_item_create_nocopy (type, text, label);