diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:36:33 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-05 11:33:58 +0900 |
| commit | 9abcf51de91242d1ab70230ba46abd2108416edf (patch) | |
| tree | b06138af56a2addecdb37e556deb89f4972d59b8 /lib/kofficecore/KoDocument.cpp | |
| parent | 5761876d3a71e9b3c5a93b5b535b071d2240b08e (diff) | |
| download | koffice-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 'lib/kofficecore/KoDocument.cpp')
| -rw-r--r-- | lib/kofficecore/KoDocument.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficecore/KoDocument.cpp b/lib/kofficecore/KoDocument.cpp index 4c3854fe2..99bd84590 100644 --- a/lib/kofficecore/KoDocument.cpp +++ b/lib/kofficecore/KoDocument.cpp @@ -978,7 +978,7 @@ bool KoDocument::saveNativeFormat( const TQString & file ) TQFile f( file ); if ( f.open( IO_WriteOnly | IO_Translate ) ) { - bool success = saveToStream( TQT_TQIODEVICE(&f) ); + bool success = saveToStream( &f ); f.close(); return success; } @@ -1727,7 +1727,7 @@ bool KoDocument::loadNativeFormat( const TQString & file ) bool res; if ( doc.setContent( &in, true, &errorMsg, &errorLine, &errorColumn ) ) { - res = loadXML( TQT_TQIODEVICE(&in), doc ); + res = loadXML( &in, doc ); if ( res ) res = completeLoading( 0L ); } |
