diff options
Diffstat (limited to 'kspread/kspread_doc.cpp')
-rw-r--r-- | kspread/kspread_doc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kspread/kspread_doc.cpp b/kspread/kspread_doc.cpp index 7643b31d..99feebe5 100644 --- a/kspread/kspread_doc.cpp +++ b/kspread/kspread_doc.cpp @@ -648,7 +648,7 @@ bool Doc::saveOasisHelper( KoStore* store, KoXmlWriter* manifestWriter, SaveFlag contentTmpFile.setAutoDelete( true ); TQFile* tmpFile = contentTmpFile.file(); - KoXmlWriter contentTmpWriter( TQT_TQIODEVICE(tmpFile), 1 ); + KoXmlWriter contentTmpWriter( tmpFile, 1 ); @@ -765,7 +765,7 @@ bool Doc::saveOasisHelper( KoStore* store, KoXmlWriter* manifestWriter, SaveFlag // And now we can copy over the contents from the tempfile to the real one tmpFile->close(); - contentWriter->addCompleteElement( TQT_TQIODEVICE(tmpFile) ); + contentWriter->addCompleteElement( tmpFile ); contentTmpFile.close(); |