summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kpdocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolourpaint/kpdocument.cpp')
-rw-r--r--kolourpaint/kpdocument.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kolourpaint/kpdocument.cpp b/kolourpaint/kpdocument.cpp
index 018dbb9c..2ba20cc3 100644
--- a/kolourpaint/kpdocument.cpp
+++ b/kolourpaint/kpdocument.cpp
@@ -686,7 +686,7 @@ bool kpDocument::savePixmapToFile (const TQPixmap &pixmap,
}
// Write to local temporary file.
- if (!savePixmapToDevice (pixmap, TQT_TQIODEVICE(atomicFileWriter.file ()),
+ if (!savePixmapToDevice (pixmap, atomicFileWriter.file (),
saveOptions, metaInfo,
false/*no lossy prompt*/,
parent))
@@ -746,7 +746,7 @@ bool kpDocument::savePixmapToFile (const TQPixmap &pixmap,
return false;
}
- if (!savePixmapToDevice (pixmap, TQT_TQIODEVICE(&file),
+ if (!savePixmapToDevice (pixmap, &file,
saveOptions, metaInfo,
false/*no lossy prompt*/,
parent))