aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipe Saraiva <[email protected]>2015-06-06 14:21:25 -0300
committerFilipe Saraiva <[email protected]>2015-06-06 14:21:25 -0300
commit579615aa49fb034879184fe384a30636a95b286f (patch)
tree8a99167d2c8a81b957f9435aa260c577dee86c27
parent17bb0fd067eff8795a3b536e2f160abe3dfa3a51 (diff)
Port KArchive::writeFile away from deprecated version
REVIEW: 124020
-rw-r--r--src/worksheet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worksheet.cpp b/src/worksheet.cpp
index d60fb55..8d54032 100644
--- a/src/worksheet.cpp
+++ b/src/worksheet.cpp
@@ -844,7 +844,7 @@ void Worksheet::save( const QString& filename )
QByteArray content = toXML(&zipFile).toByteArray();
qDebug()<<"content: "<<content;
- zipFile.writeFile( QLatin1String("content.xml"), QString(), QString(), content.data(), content.size() );
+ zipFile.writeFile( QLatin1String("content.xml"), content.data());
/*zipFile.close();*/
}