value: Get rid of value_str(), value_str_rw(), value_num().
[pspp] / src / output / pivot-table.c
index 092ebfc53a9564da3d9488a3972a87231ce8f527..dc15285b48b130d0eb94b9b5ca2e2d6c557cfb6b 100644 (file)
@@ -2024,8 +2024,7 @@ pivot_value_new_value (const union value *value, int width,
   struct pivot_value *pv = xzalloc (sizeof *pv);
   if (width > 0)
     {
-      char *s = recode_string (UTF8, encoding,
-                               CHAR_CAST (char *, value_str (value, width)),
+      char *s = recode_string (UTF8, encoding, CHAR_CAST (char *, value->s),
                                width);
       size_t n = strlen (s);
       while (n > 0 && s[n - 1] == ' ')