Commit bab4901f authored by Arturo Espinosa's avatar Arturo Espinosa

Revert hack in gnumeric-util.c. Please, do not commit this sort of stuff

parent 584601d5
...@@ -829,7 +829,6 @@ void ...@@ -829,7 +829,6 @@ void
cell_relocate (Cell *cell, int target_col, int target_row) cell_relocate (Cell *cell, int target_col, int target_row)
{ {
g_return_if_fail (cell != NULL); g_return_if_fail (cell != NULL);
g_return_if_fail (cell->parsed_node);
/* 1. Tag the cell as modified */ /* 1. Tag the cell as modified */
cell_modified (cell); cell_modified (cell);
......
...@@ -162,22 +162,13 @@ font_change_component (char *fontname, int idx, char *newvalue) ...@@ -162,22 +162,13 @@ font_change_component (char *fontname, int idx, char *newvalue)
char * char *
font_get_bold_name (char *fontname) font_get_bold_name (char *fontname)
{ {
char *f; char *f;
f = font_change_component (fontname, 2, "bold"); f = font_change_component (fontname, 2, "bold");
/* Horrible hack to test the ms-excel importation stuff.
* f = font_change_component (fontname, 2, "bold"); */
f = "-Adobe-Helvetica-Bold-R-Normal--14-140-75-75-P-82-ISO8859-1";
return f;
}
char * return f;
font_get_italic_name (char *fontname)
{
char *f;
f = "-Adobe-Helvetica-Medium-O-Normal--14-140-75-75-P-78-ISO8859-1";
return f;
} }
...@@ -162,22 +162,13 @@ font_change_component (char *fontname, int idx, char *newvalue) ...@@ -162,22 +162,13 @@ font_change_component (char *fontname, int idx, char *newvalue)
char * char *
font_get_bold_name (char *fontname) font_get_bold_name (char *fontname)
{ {
char *f; char *f;
f = font_change_component (fontname, 2, "bold"); f = font_change_component (fontname, 2, "bold");
/* Horrible hack to test the ms-excel importation stuff.
* f = font_change_component (fontname, 2, "bold"); */
f = "-Adobe-Helvetica-Bold-R-Normal--14-140-75-75-P-82-ISO8859-1";
return f;
}
char * return f;
font_get_italic_name (char *fontname)
{
char *f;
f = "-Adobe-Helvetica-Medium-O-Normal--14-140-75-75-P-78-ISO8859-1";
return f;
} }
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