From fb6b4d204d1155fa3a1bc7a128873340db1524f7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:36:33 +0900 Subject: Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro --- kspread/kspread_doc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kspread/kspread_doc.cpp') 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(); -- cgit v1.2.1