summaryrefslogtreecommitdiffstats
path: root/karbon/karbon_part.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:36:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-05 11:33:58 +0900
commit9abcf51de91242d1ab70230ba46abd2108416edf (patch)
treeb06138af56a2addecdb37e556deb89f4972d59b8 /karbon/karbon_part.cpp
parent5761876d3a71e9b3c5a93b5b535b071d2240b08e (diff)
downloadkoffice-9abcf51d.tar.gz
koffice-9abcf51d.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fb6b4d204d1155fa3a1bc7a128873340db1524f7)
Diffstat (limited to 'karbon/karbon_part.cpp')
-rw-r--r--karbon/karbon_part.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/karbon/karbon_part.cpp b/karbon/karbon_part.cpp
index a34a4da11..e3abb2012 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