Commit 36bd07da authored by Morten Welinder's avatar Morten Welinder

gnm_expr_get_range: handle parenthesis.

parent 47f3fb1f
2009-05-08 Morten Welinder <terra@gnome.org>
* src/expr.c (gnm_expr_get_range): Handle parenthesis.
2009-05-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): write
......
......@@ -2467,7 +2467,7 @@ gnm_expr_get_range (GnmExpr const *expr)
g_return_val_if_fail (expr != NULL, NULL);
switch (GNM_EXPR_GET_OPER (expr)) {
case GNM_EXPR_OP_CELLREF :
case GNM_EXPR_OP_CELLREF:
return value_new_cellrange_unsafe (
&expr->cellref.ref, &expr->cellref.ref);
......@@ -2481,6 +2481,9 @@ gnm_expr_get_range (GnmExpr const *expr)
return NULL;
return gnm_expr_top_get_range (expr->name.name->texpr);
case GNM_EXPR_OP_PAREN:
return gnm_expr_get_range (expr->unary.value);
default:
return NULL;
}
......
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