~ubuntu-branches/ubuntu/feisty/gnumeric/feisty

« back to all changes in this revision

Viewing changes to plugins/lotus-123/lotus.c

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2006-12-06 13:55:23 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20061206135523-6bh02cebuk0hduva
Tags: 1.7.5-1ubuntu1
* Merge with debian experimental:
  - debian/control, debian/*-gtk-*, debian/rules,
    debian/shlibs.local: Xubuntu changes for
    gtk/gnome multibuild.
  - run intltool-update in po*
  - Build Depend on intltool

Show diffs side-by-side

added added

removed removed

Lines of Context:
743
743
{
744
744
        char *fmt_string = lotus_format_string (fmt);
745
745
        if (fmt_string[0])
746
 
                cell_set_format (cell, fmt_string);
 
746
                gnm_cell_set_format (cell, fmt_string);
747
747
#ifdef DEBUG_FORMAT
748
748
        g_print ("Format: %s\n", fmt_string);
749
749
#endif
1463
1463
 
1464
1464
        cell = sheet_cell_fetch (sheet, col, row);
1465
1465
 
1466
 
        cell_set_value (cell, val);
 
1466
        gnm_cell_set_value (cell, val);
1467
1467
 
1468
1468
#if LOTUS_DEBUG > 0
1469
1469
        printf ("Inserting value at %s:\n",
1581
1581
                        } else
1582
1582
                                v = lotus_value (gsf_le_get_double (r->data + 5));
1583
1583
                        cell = sheet_cell_fetch (state->sheet, col, row);
1584
 
                        cell_set_expr_and_value (cell, texpr, v, TRUE);
 
1584
                        gnm_cell_set_expr_and_value (cell, texpr, v, TRUE);
1585
1585
 
1586
1586
                        gnm_expr_top_unref (texpr);
1587
1587
                        cell_set_format_from_lotus_format (cell, fmt);
2095
2095
                                                     r->data + 12,
2096
2096
                                                     r->len - 12);
2097
2097
                        cell = sheet_cell_fetch (sheet, col, row);
2098
 
                        cell_set_expr_and_value (cell, texpr, curval, TRUE);
 
2098
                        gnm_cell_set_expr_and_value (cell, texpr, curval, TRUE);
2099
2099
 
2100
2100
                        gnm_expr_top_unref (texpr);
2101
2101
                        break;
2118
2118
                                                     r->data + 14,
2119
2119
                                                     r->len - 14);
2120
2120
                        cell = sheet_cell_fetch (sheet, col, row);
2121
 
                        cell_set_expr_and_value (cell, texpr, curval, TRUE);
 
2121
                        gnm_cell_set_expr_and_value (cell, texpr, curval, TRUE);
2122
2122
 
2123
2123
                        gnm_expr_top_unref (texpr);
2124
2124
                        break;