[poppler] poppler/Outline.cc

Albert Astals Cid aacid at kde.org
Wed Aug 23 17:37:06 UTC 2017


Ouch!

Good catch :)

We probably need a "dump outline to text" program so next time i can run it as 
regtest when doing such a big change.

Cheers,
  Albert

El dimecres, 23 d’agost de 2017, a les 11:32:34 CEST, Adrian Johnson va 
escriure:
>  poppler/Outline.cc |    1 +
>  1 file changed, 1 insertion(+)
> 
> New commits:
> commit 5be33ba49071a9ffeb62be93e5dc01267318d1c2
> Author: Adrian Johnson <ajohnson at redneon.com>
> Date:   Wed Aug 23 21:00:09 2017 +0930
> 
>     Fix Outline title
> 
> diff --git a/poppler/Outline.cc b/poppler/Outline.cc
> index 8d539ca7..925fc0c4 100644
> --- a/poppler/Outline.cc
> +++ b/poppler/Outline.cc
> @@ -66,6 +66,7 @@ OutlineItem::OutlineItem(Dict *dict, XRef *xrefA) {
>    kids = NULL;
> 
> 
> +  obj1 = dict->lookup("Title");
>    if (obj1.isString()) {
>      GooString *s = obj1.getString();
>      titleLen = TextStringToUCS4(s, &title);
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/poppler




More information about the poppler mailing list