[poppler] qt5/src

Albert Astals Cid aacid at kemper.freedesktop.org
Wed Mar 22 22:46:06 UTC 2017


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

New commits:
commit 0dbec24428d96ae78be8ca06b230d68cde445614
Author: Christoph Cullmann <cullmann at kde.org>
Date:   Wed Mar 22 23:45:41 2017 +0100

    qt5: Compile with -DQT_NO_CAST_FROM_BYTEARRAY
    
    Bug #100311

diff --git a/qt5/src/poppler-private.h b/qt5/src/poppler-private.h
index ac384a41..fed4f260 100644
--- a/qt5/src/poppler-private.h
+++ b/qt5/src/poppler-private.h
@@ -92,7 +92,7 @@ namespace Poppler {
 #ifdef _WIN32
 		doc = new PDFDoc((wchar_t *)filePath.utf16(), filePath.length(), ownerPassword, userPassword);
 #else
-		GooString *fileName = new GooString(QFile::encodeName(filePath));
+		GooString *fileName = new GooString(QFile::encodeName(filePath).constData());
 		doc = new PDFDoc(fileName, ownerPassword, userPassword);
 #endif
 


More information about the poppler mailing list