[poppler] qt4/src
Albert Astals Cid
aacid at kemper.freedesktop.org
Mon Jun 23 17:33:54 PDT 2008
qt4/src/poppler-base-converter.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c75632d62a052d3c3739b96f5586f97c68baf25b
Author: Albert Astals Cid <aacid at kde.org>
Date: Tue Jun 24 02:31:43 2008 +0200
Open in WriteOnly mode, fixes the fact that when writing to an existing file, the contents beyond what we wrote were still there
diff --git a/qt4/src/poppler-base-converter.cc b/qt4/src/poppler-base-converter.cc
index 012ba9e..b5f2035 100644
--- a/qt4/src/poppler-base-converter.cc
+++ b/qt4/src/poppler-base-converter.cc
@@ -46,7 +46,7 @@ QIODevice* BaseConverterPrivate::openDevice()
Q_ASSERT(iodev);
if (!iodev->isOpen())
{
- if (!iodev->open(QIODevice::ReadWrite))
+ if (!iodev->open(QIODevice::WriteOnly))
{
if (ownIodev)
{
More information about the poppler
mailing list