diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2007-09-03 13:11:14 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2007-09-03 13:11:14 (GMT) |
commit | b3e9c25c9bdbe47af1b79ab109c71382d6aa0e6d (patch) | |
tree | 67f384b2078214802cb3e40f23921353eb58bf61 /backend | |
parent | c12e2f7c2d59af4e4f5fddec97f24970e6d9d5c4 (diff) |
Ignore outline items without a title. Fixes bug #453913.
2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/pdf/ev-poppler.cc: (build_tree):
Ignore outline items without a title. Fixes bug #453913.
svn path=/trunk/; revision=2654
Diffstat (limited to 'backend')
-rw-r--r-- | backend/pdf/ev-poppler.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc index bb4d5c4..1fa2354 100644 --- a/backend/pdf/ev-poppler.cc +++ b/backend/pdf/ev-poppler.cc @@ -1060,8 +1060,11 @@ build_tree (PdfDocument *pdf_document, break; } - if (!link) { + if (!link || strlen (ev_link_get_title (link)) <= 0) { poppler_action_free (action); + if (link) + g_object_unref (link); + continue; } |