From fb6b4d204d1155fa3a1bc7a128873340db1524f7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:36:33 +0900 Subject: Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro --- kpresenter/KPrPixmapObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kpresenter/KPrPixmapObject.cpp') diff --git a/kpresenter/KPrPixmapObject.cpp b/kpresenter/KPrPixmapObject.cpp index 09dcb789..155fe47c 100644 --- a/kpresenter/KPrPixmapObject.cpp +++ b/kpresenter/KPrPixmapObject.cpp @@ -435,7 +435,7 @@ double KPrPixmapObject::load(const TQDomElement &element) TQByteArray rawData=_data.utf8(); // XPM is normally ASCII, therefore UTF-8 rawData[rawData.size()-1]=char(10); // Replace the NULL character by a LINE FEED TQBuffer buffer(rawData); // ### TODO: open? - image.loadXpm(TQT_TQIODEVICE(&buffer)); + image.loadXpm(&buffer); } } } -- cgit v1.2.1