[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/tools/kfile-plugins/ooo
From: Laurent Montel <montel () kde ! org>
Date: 2006-03-30 17:17:30
Message-ID: 1143739050.343458.4108.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 524564 by mlaurent:
Fix someerror
M +2 -2 kfile_ooo.cpp
--- trunk/koffice/tools/kfile-plugins/ooo/kfile_ooo.cpp #524563:524564
@@ -515,11 +515,11 @@
/* To correct problem with OOo 1.1, we have to recreate the file from scratch */
if (!m_zip->open(QIODevice::WriteOnly) || !current->open(QIODevice::ReadOnly) )
return false;
- Q3CString text = doc.toCString();
+ QString text = doc.toString();
m_zip->setCompression(KZip::DeflateCompression);
if (!copyZipToZip(current, m_zip))
return false;
- m_zip->writeFile(metafile, QString::null, QString::null,text.length(),
+ m_zip->writeFile(QString(metafile), QString::null, QString::null,text.length(),
text);
delete current;
delete m_zip;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic