summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/htmlexporter.cpp2
-rw-r--r--src/notecontent.cpp2
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);