From c75fee7ff7bdf6e1d1380e641c746e3fc7eb04bf Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:48:10 +0900 Subject: Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro (cherry picked from commit f08f58fdc18573fbdf637e872a0a4646be58628c) --- keduca/libkeduca/fileread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keduca/libkeduca') 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)) { -- cgit v1.2.1