summaryrefslogtreecommitdiffstats
path: root/tdeprint/foomatic2loader.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:48:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-05 12:00:35 +0900
commit44e712a770ad0ab59d33790a80b5f6235cff6921 (patch)
tree9dcde270e75b838740733976badcd5584777a039 /tdeprint/foomatic2loader.cpp
parentcca633c6bdfe25e82f175f251c76e63c9e91b895 (diff)
downloadtdelibs-44e712a770ad0ab59d33790a80b5f6235cff6921.tar.gz
tdelibs-44e712a770ad0ab59d33790a80b5f6235cff6921.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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;
}