[Poppler-bugs] [Bug 79874] Compilation of Qt5 frontend fails with MinGW

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 19 13:48:26 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=79874

--- Comment #7 from Hib Eris <hib at hiberis.nl> ---
Comment on attachment 101282
  --> https://bugs.freedesktop.org/attachment.cgi?id=101282
Proposed patch for the problem, no copying anymore

Review of attachment 101282:
-----------------------------------------------------------------

::: qt5/src/poppler-private.h
@@ +86,4 @@
>  		m_filePath = filePath;	
>  
>  #ifdef _WIN32
> +		doc = new PDFDoc((wchar_t *)filePath.utf16(), filePath.length(), ownerPassword, userPassword);

I think that filePath.length() might not match the number of wchar's in
filePath.utf16().

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20140619/d2b4b806/attachment.html>


More information about the Poppler-bugs mailing list