From 1a620eed38cfa429508f6ac347e09a694b4adf16 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:36:20 +0900 Subject: Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro --- src/htmlexporter.cpp | 2 +- src/notecontent.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/htmlexporter.cpp b/src/htmlexporter.cpp index a81c13f..413220b 100644 --- a/src/htmlexporter.cpp +++ b/src/htmlexporter.cpp @@ -200,7 +200,7 @@ void HTMLExporter::exportBasket(Basket *basket, bool isSubBasket) TQFile file(basketFilePath); if (!file.open(IO_WriteOnly)) return; - stream.setDevice(TQT_TQIODEVICE(&file)); + stream.setDevice(&file); stream.setEncoding(TQTextStream::UnicodeUTF8); // Compute the colors to draw dragient for notes: diff --git a/src/notecontent.cpp b/src/notecontent.cpp index ef01cb9..c3629f6 100644 --- a/src/notecontent.cpp +++ b/src/notecontent.cpp @@ -773,7 +773,7 @@ bool ImageContent::finishLazyLoad() TQBuffer buffer(content); buffer.open(IO_ReadOnly); - m_format = (char* /* from const char* */)TQImageIO::imageFormat(TQT_TQIODEVICE(&buffer)); // See TQImageIO to know what formats can be supported. + m_format = (char* /* from const char* */)TQImageIO::imageFormat(&buffer); // See TQImageIO to know what formats can be supported. buffer.close(); if (m_format) { m_pixmap.loadFromData(content); -- cgit v1.2.1