diff options
Diffstat (limited to 'karbon/karbon_part.cpp')
-rw-r--r-- | karbon/karbon_part.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/karbon/karbon_part.cpp b/karbon/karbon_part.cpp index a34a4da1..e3abb201 100644 --- a/karbon/karbon_part.cpp +++ b/karbon/karbon_part.cpp @@ -377,7 +377,7 @@ KarbonPart::saveOasis( KoStore *store, KoXmlWriter *manifestWriter ) KTempFile contentTmpFile; contentTmpFile.setAutoDelete( true ); TQFile* tmpFile = contentTmpFile.file(); - KoXmlWriter contentTmpWriter( TQT_TQIODEVICE(tmpFile), 1 ); + KoXmlWriter contentTmpWriter( tmpFile, 1 ); contentTmpWriter.startElement( "office:body" ); contentTmpWriter.startElement( "office:drawing" ); @@ -398,7 +398,7 @@ KarbonPart::saveOasis( KoStore *store, KoXmlWriter *manifestWriter ) // And now we can copy over the contents from the tempfile to the real one tmpFile->close(); - docWriter->addCompleteElement( TQT_TQIODEVICE(tmpFile) ); + docWriter->addCompleteElement( tmpFile ); contentTmpFile.close(); docWriter->endElement(); // Root element |