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

New commits:
commit b3e44fc59a9258ad701bc67132dea0646fd8b61a
Author: Albert Astals Cid <[email protected]>
Date:   Tue May 7 21:53:31 2013 +0200

    We need UnicodeParsedString here too
    
    Fixes KDE bug #307786

diff --git a/qt4/src/poppler-embeddedfile.cc b/qt4/src/poppler-embeddedfile.cc
index 5b3f7d3..f70573a 100644
--- a/qt4/src/poppler-embeddedfile.cc
+++ b/qt4/src/poppler-embeddedfile.cc
@@ -1,5 +1,5 @@
 /* poppler-document.cc: qt interface to poppler
- * Copyright (C) 2005, 2008, 2009, 2012, Albert Astals Cid <[email protected]>
+ * Copyright (C) 2005, 2008, 2009, 2012, 2013, Albert Astals Cid 
<[email protected]>
  * Copyright (C) 2005, Brad Hards <[email protected]>
  * Copyright (C) 2008, 2011, Pino Toscano <[email protected]>
  *
@@ -69,7 +69,7 @@ EmbeddedFile::~EmbeddedFile()
 QString EmbeddedFile::name() const
 {
        GooString *goo = m_embeddedFile->filespec->getFileName();
-       return goo ? QString(goo->getCString()) : QString();
+       return goo ? UnicodeParsedString(goo) : QString();
 }
 
 QString EmbeddedFile::description() const
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to