summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrPixmapObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrPixmapObject.cpp')
-rw-r--r--kpresenter/KPrPixmapObject.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}
}