diff options
Diffstat (limited to 'lib/store/KoStore.cpp')
-rw-r--r-- | lib/store/KoStore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/store/KoStore.cpp b/lib/store/KoStore.cpp index 221c6b5c..fa6e88d1 100644 --- a/lib/store/KoStore.cpp +++ b/lib/store/KoStore.cpp @@ -69,7 +69,7 @@ KoStore* KoStore::createStore( const TQString& fileName, Mode mode, const TQCStr { TQFile file( fileName ); if ( file.open( IO_ReadOnly ) ) - backend = determineBackend( TQT_TQIODEVICE(&file) ); + backend = determineBackend( &file ); else backend = DefaultFormat; // will create a "bad" store (bad()==true) } @@ -143,7 +143,7 @@ KoStore* KoStore::createStore( TQWidget* window, const KURL& url, Mode mode, con TQFile file( tmpFile ); if ( file.open( IO_ReadOnly ) ) { - backend = determineBackend( TQT_TQIODEVICE(&file) ); + backend = determineBackend( &file ); file.close(); } } |