diff options
Diffstat (limited to 'kspread/kspread_map.cpp')
-rw-r--r-- | kspread/kspread_map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kspread/kspread_map.cpp b/kspread/kspread_map.cpp index d54c340a..af6133ea 100644 --- a/kspread/kspread_map.cpp +++ b/kspread/kspread_map.cpp @@ -216,7 +216,7 @@ bool Map::saveOasis( KoXmlWriter & xmlWriter, KoGenStyles & mainStyles, KoStore bodyTmpFile.setAutoDelete( true ); TQFile* tmpFile = bodyTmpFile.file(); - KoXmlWriter bodyTmpWriter( TQT_TQIODEVICE(tmpFile) ); + KoXmlWriter bodyTmpWriter( tmpFile ); TQPtrListIterator<Sheet> it( m_lstSheets ); @@ -229,7 +229,7 @@ bool Map::saveOasis( KoXmlWriter & xmlWriter, KoGenStyles & mainStyles, KoStore tmpFile->close(); - xmlWriter.addCompleteElement( TQT_TQIODEVICE(tmpFile) ); + xmlWriter.addCompleteElement( tmpFile ); bodyTmpFile.close(); return true; |