Commit 988e54c2 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Delete. (parse_util_init): Don't set up gnm_expr_conventions_default_1_0.

2002-12-19  Morten Welinder  <terra@diku.dk>

	* src/parse-util.c (gnm_expr_conventions_default_1_0): Delete.
	(parse_util_init): Don't set up gnm_expr_conventions_default_1_0.
	(parse_util_shutdown): Don't free it.
parent 2d5e0806
2002-12-19 Morten Welinder <terra@diku.dk>
* src/parse-util.c (gnm_expr_conventions_default_1_0): Delete.
(parse_util_init): Don't set up gnm_expr_conventions_default_1_0.
(parse_util_shutdown): Don't free it.
2002-12-17 Morten Welinder <terra@diku.dk>
* src/value.c (value_new_from_string): Take new "translated"
......
2002-12-19 Morten Welinder <terra@diku.dk>
* src/parse-util.c (gnm_expr_conventions_default_1_0): Delete.
(parse_util_init): Don't set up gnm_expr_conventions_default_1_0.
(parse_util_shutdown): Don't free it.
2002-12-17 Morten Welinder <terra@diku.dk>
* src/value.c (value_new_from_string): Take new "translated"
......
2002-12-19 Morten Welinder <terra@diku.dk>
* src/parse-util.c (gnm_expr_conventions_default_1_0): Delete.
(parse_util_init): Don't set up gnm_expr_conventions_default_1_0.
(parse_util_shutdown): Don't free it.
2002-12-17 Morten Welinder <terra@diku.dk>
* src/value.c (value_new_from_string): Take new "translated"
......
2002-12-19 Morten Welinder <terra@diku.dk>
* xml-sax-read.c (xml_sax_named_expr_end):
s/gnm_expr_conventions_default_1_0/gnm_expr_conventions_default/.
They're both wrong, but I want to get rid of the former.
2002-12-03 Morten Welinder <terra@diku.dk>
* xml-sax-read.c (xml_sax_print_margins_unit): Use
......
......@@ -1270,7 +1270,8 @@ xml_sax_named_expr_end (GsfXmlSAXState *gsf_state)
parse_error_init (&perr);
expr = gnm_expr_parse_str (state->name.value, &pos,
GNM_EXPR_PARSE_DEFAULT, gnm_expr_conventions_default_1_0, &perr);
GNM_EXPR_PARSE_DEFAULT,
gnm_expr_conventions_default, &perr);
if (expr != NULL) {
char *err = NULL;
expr_name_add (&pos, state->name.name, expr, &err, TRUE);
......
......@@ -1027,7 +1027,6 @@ gnm_expr_conventions_free (GnmExprConventions *c)
/* ------------------------------------------------------------------------- */
GnmExprConventions *gnm_expr_conventions_default;
GnmExprConventions *gnm_expr_conventions_default_1_0;
void
parse_util_init (void)
......@@ -1037,12 +1036,6 @@ parse_util_init (void)
gnm_expr_conventions_default->range_sep_colon = TRUE;
gnm_expr_conventions_default->sheet_sep_exclamation = TRUE;
gnm_expr_conventions_default->dots_in_names = TRUE;
gnm_expr_conventions_default_1_0 = gnm_expr_conventions_new ();
gnm_expr_conventions_default_1_0->ref_parser = gnm_1_0_rangeref_parse;
gnm_expr_conventions_default_1_0->range_sep_colon = TRUE;
gnm_expr_conventions_default_1_0->sheet_sep_exclamation = TRUE;
gnm_expr_conventions_default_1_0->dots_in_names = TRUE;
}
void
......@@ -1050,9 +1043,6 @@ parse_util_shutdown (void)
{
gnm_expr_conventions_free (gnm_expr_conventions_default);
gnm_expr_conventions_default = NULL;
gnm_expr_conventions_free (gnm_expr_conventions_default_1_0);
gnm_expr_conventions_default_1_0 = NULL;
}
GnmExpr const *
......
......@@ -166,7 +166,6 @@ GnmExprConventions *gnm_expr_conventions_new (void);
void gnm_expr_conventions_free (GnmExprConventions *c);
extern GnmExprConventions *gnm_expr_conventions_default;
extern GnmExprConventions *gnm_expr_conventions_default_1_0;
void parse_util_init (void);
void parse_util_shutdown (void);
......
......@@ -1270,7 +1270,8 @@ xml_sax_named_expr_end (GsfXmlSAXState *gsf_state)
parse_error_init (&perr);
expr = gnm_expr_parse_str (state->name.value, &pos,
GNM_EXPR_PARSE_DEFAULT, gnm_expr_conventions_default_1_0, &perr);
GNM_EXPR_PARSE_DEFAULT,
gnm_expr_conventions_default, &perr);
if (expr != NULL) {
char *err = NULL;
expr_name_add (&pos, state->name.name, expr, &err, TRUE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment