Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorCarlos 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)
commitb3e9c25c9bdbe47af1b79ab109c71382d6aa0e6d (patch)
tree67f384b2078214802cb3e40f23921353eb58bf61 /backend
parentc12e2f7c2d59af4e4f5fddec97f24970e6d9d5c4 (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.cc5
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;
}