[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdegraphics/kpdf/core/generator_pdf
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2007-10-31 23:18:03
Message-ID: 1193872683.236489.14342.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 731536 by aacid:
PDF passwords are latin1, so encode them correctly
BUG: 138997
M +1 -1 generator_pdf.cpp
--- branches/KDE/3.5/kdegraphics/kpdf/core/generator_pdf/generator_pdf.cpp #731535:731536
@@ -152,7 +152,7 @@
}
// 2. reopen the document using the password
- GString * pwd2 = new GString( password.data() );
+ GString * pwd2 = new GString( QString::fromLocal8Bit(password.data()).latin1() );
delete pdfdoc;
pdfdoc = new PDFDoc( new GString( QFile::encodeName( filePath ) ), pwd2, pwd2 );
delete pwd2;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic