summaryrefslogtreecommitdiffstats
path: root/tdeprint/foomatic2loader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/foomatic2loader.cpp')
-rw-r--r--tdeprint/foomatic2loader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/foomatic2loader.cpp b/tdeprint/foomatic2loader.cpp
index c498477fd..0856cc012 100644
--- a/tdeprint/foomatic2loader.cpp
+++ b/tdeprint/foomatic2loader.cpp
@@ -53,7 +53,7 @@ bool Foomatic2Loader::readFromFile( const TQString& filename )
TQFile f( filename );
m_foodata.clear();
if ( f.open( IO_ReadOnly ) )
- return read( TQT_TQIODEVICE(&f) );
+ return read( &f );
return false;
}
@@ -63,7 +63,7 @@ bool Foomatic2Loader::readFromBuffer( const TQString& buffer )
TQBuffer d( buf );
m_foodata.clear();
if ( d.open( IO_ReadOnly ) )
- return read( TQT_TQIODEVICE(&d) );
+ return read( &d );
return false;
}