[poppler] qt5/src

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jan 5 19:28:24 UTC 2020


 qt5/src/poppler-form.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a9ef3cb7dd991ab935ad08f75ae4fc85bb594c78
Author: David García Garzón <voki at canvoki.net>
Date:   Sun Jan 5 19:53:04 2020 +0100

    Accepting UTF-16 uiNames for form fields

diff --git a/qt5/src/poppler-form.cc b/qt5/src/poppler-form.cc
index 5917e0a7..2f6948d4 100644
--- a/qt5/src/poppler-form.cc
+++ b/qt5/src/poppler-form.cc
@@ -173,7 +173,7 @@ QString FormField::uiName() const
   QString name;
   if (const GooString *goo = m_formData->fm->getAlternateUiName())
   {
-    name = QString::fromLatin1(goo->c_str());
+    name = UnicodeParsedString(goo);
   }
   return name;
 }


More information about the poppler mailing list