Commit 460af4ad authored by Morten Welinder's avatar Morten Welinder

Retry commit.

parent 6c13ff3a
...@@ -86,7 +86,11 @@ cellref_name (CellRef const *cell_ref, ParsePos const *pp, gboolean no_sheetname ...@@ -86,7 +86,11 @@ cellref_name (CellRef const *cell_ref, ParsePos const *pp, gboolean no_sheetname
/* If it is a non-local reference, add the path to the external sheet */ /* If it is a non-local reference, add the path to the external sheet */
if (sheet != NULL && !no_sheetname) { if (sheet != NULL && !no_sheetname) {
/* pp->wb==NULL happens for the leak printer. */ if (pp->wb == NULL && pp->sheet == NULL) {
/* For the expression leak printer. */
return g_strconcat ("'?'|", buffer, NULL);
}
if (pp->wb == NULL || sheet->workbook == pp->wb) if (pp->wb == NULL || sheet->workbook == pp->wb)
return g_strconcat (sheet->name_quoted, "!", buffer, NULL); return g_strconcat (sheet->name_quoted, "!", buffer, NULL);
return g_strconcat ("[", sheet->workbook->filename, "]", return g_strconcat ("[", sheet->workbook->filename, "]",
......
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