qt4/src/poppler-page.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 450934619a1c5b2a58f65649f567274af8d24ea7
Author: Albert Astals Cid <[email protected]>
Date:   Sat May 28 12:37:08 2011 +0100

    Parse that as unicode
    
    Fixes KDE Bug #274055

diff --git a/qt4/src/poppler-page.cc b/qt4/src/poppler-page.cc
index 62d16f9..f76700a 100644
--- a/qt4/src/poppler-page.cc
+++ b/qt4/src/poppler-page.cc
@@ -1,7 +1,7 @@
 /* poppler-page.cc: qt interface to poppler
  * Copyright (C) 2005, Net Integration Technologies, Inc.
  * Copyright (C) 2005, Brad Hards <[email protected]>
- * Copyright (C) 2005-2010, Albert Astals Cid <[email protected]>
+ * Copyright (C) 2005-2011, Albert Astals Cid <[email protected]>
  * Copyright (C) 2005, Stefan Kebekus <[email protected]>
  * Copyright (C) 2006-2011, Pino Toscano <[email protected]>
  * Copyright (C) 2008 Carlos Garcia Campos <[email protected]>
@@ -1358,7 +1358,7 @@ QString Page::label() const
   if (!m_page->parentDoc->doc->getCatalog()->indexToLabel(m_page->index, &goo))
     return QString();
 
-  return QString(goo.getCString());
+  return UnicodeParsedString(&goo);
 }
 
 
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to