summaryrefslogtreecommitdiffstats
path: root/keduca/libkeduca
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-03 00:48:10 +0900
committerMichele Calgaro <[email protected]>2023-12-03 22:54:07 +0900
commitf08f58fdc18573fbdf637e872a0a4646be58628c (patch)
tree32f6f2b36cfb27b11ed74eafef1933fc3fddf3bd /keduca/libkeduca
parent82c5609d05e453863a10f1d77a925dc1c7abdd31 (diff)
downloadtdeedu-f08f58fdc18573fbdf637e872a0a4646be58628c.tar.gz
tdeedu-f08f58fdc18573fbdf637e872a0a4646be58628c.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'keduca/libkeduca')
-rw-r--r--keduca/libkeduca/fileread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/keduca/libkeduca/fileread.cpp b/keduca/libkeduca/fileread.cpp
index 8ba07b50..67c60d00 100644
--- a/keduca/libkeduca/fileread.cpp
+++ b/keduca/libkeduca/fileread.cpp
@@ -689,7 +689,7 @@ bool FileRead::saveFile( const TQString &filename, bool copyimages, bool saveCom
TQFile file(filename);
TQStringList copyJOB;
- stream.setDevice(TQT_TQIODEVICE(&buffer));
+ stream.setDevice(&buffer);
if ( (!file.open(IO_WriteOnly)) || (!buffer.open(IO_WriteOnly)) )
{
@@ -862,7 +862,7 @@ bool FileRead::saveResults( const TQString &filename, const TQString &results )
TQFile file(filename);
TQStringList copyJOB;
- stream.setDevice(TQT_TQIODEVICE(&file));
+ stream.setDevice(&file);
if(!file.open(IO_WriteOnly))
{