[gnumeric] xlsx: fix reading of internal links.



commit c9ae76f3c6c97b1ec8094992e46976702cba0bbc
Author: Morten Welinder <terra gnome org>
Date:   Wed Mar 8 14:41:27 2017 -0500

    xlsx: fix reading of internal links.

 plugins/excel/xlsx-read.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/excel/xlsx-read.c b/plugins/excel/xlsx-read.c
index a33eae4..2e3cc66 100644
--- a/plugins/excel/xlsx-read.c
+++ b/plugins/excel/xlsx-read.c
@@ -3176,7 +3176,7 @@ xlsx_CT_HyperLinks (GsfXMLIn *xin, xmlChar const **attrs)
                                        : g_strdup (url);
                        }
                }
-       } else if (NULL != target) {
+       } else if (location) {
                target = g_strdup (location);
                link_type = gnm_hlink_cur_wb_get_type ();
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]