value: Get rid of value_str(), value_str_rw(), value_num().
[pspp] / src / data / mdd-writer.c
index 495be8cafea8c1127eab718bec0209eee6110936..3db5f2bd3f22eb3168e4f6e1d7af7b570f7ed01c 100644 (file)
@@ -288,7 +288,7 @@ write_value_label_value (xmlTextWriter *writer, const struct val_lab *vl,
   const union value *value = val_lab_get_value (vl);
   if (width)
     {
-      char *s = xmemdup0 (value_str (value, width), width);
+      char *s = xmemdup0 (value->s, width);
       xmlTextWriterWriteAttribute (writer, _xml ("value"), _xml (s));
       free (s);
     }