summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoDocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoDocument.cpp')
-rw-r--r--lib/kofficecore/KoDocument.cpp4
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 );
}