Support for poppler 0.86, trial 3.

[GB.PDF]
* BUG: Support for poppler 0.86, trial 3.
This commit is contained in:
gambas 2020-03-10 02:12:54 +01:00
parent 7f549758f8
commit 4a39bd40fa

View file

@ -323,7 +323,7 @@ static char* aux_get_target_from_action(const_LinkAction *act)
case actionURI:
#if POPPLER_VERSION_0_86
str = ((LinkURI*)act)->getURI();
str = GooString(((LinkURI*)act)->getURI());
tmp = &str;
#else
tmp = ((LinkURI*)act)->getURI();
@ -332,7 +332,7 @@ static char* aux_get_target_from_action(const_LinkAction *act)
case actionNamed:
#if POPPLER_VERSION_0_86
str = ((LinkNamed*)act)->getName();
str = GooString(((LinkNamed*)act)->getName());
tmp = &str;
#else
tmp = ((LinkNamed*)act)->getName();
@ -341,7 +341,7 @@ static char* aux_get_target_from_action(const_LinkAction *act)
case actionMovie:
#if POPPLER_VERSION_0_86
str = ((LinkMovie*)act)->getAnnotTitle();
str = GooString(((LinkMovie*)act)->getAnnotTitle());
tmp = &str;
#else
tmp = ((LinkMovie*)act)->getAnnotTitle();