24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
$OpenBSD: patch-kipi-plugins_jpeglossless_utils_cpp,v 1.2 2009/09/10 16:43:41 sthen Exp $
|
|
--- kipi-plugins/jpeglossless/utils.cpp.orig Sat Oct 11 13:46:33 2008
|
|
+++ kipi-plugins/jpeglossless/utils.cpp Sun Jun 28 18:10:45 2009
|
|
@@ -109,7 +109,8 @@ bool Utils::updateMetadataImageMagick(const QString& s
|
|
memcpy(exifData.data()+sizeof(exifHeader), ba.data(), ba.size());
|
|
QByteArray iptcData = meta.getIptc(true);
|
|
|
|
- KTempFile exifTemp(QString(), "kipipluginsiptc.app1");
|
|
+ QString t;
|
|
+ KTempFile exifTemp(t, "kipipluginsiptc.app1");
|
|
exifTemp.setAutoDelete(true);
|
|
QFile *exifFile = exifTemp.file();
|
|
if ( !exifFile )
|
|
@@ -121,7 +122,8 @@ bool Utils::updateMetadataImageMagick(const QString& s
|
|
streamExif.writeRawBytes(exifData.data(), exifData.size());
|
|
exifFile->close();
|
|
|
|
- KTempFile iptcTemp(QString(), "kipipluginsiptc.8bim");
|
|
+ QString t2;
|
|
+ KTempFile iptcTemp(t2, "kipipluginsiptc.8bim");
|
|
iptcTemp.setAutoDelete(true);
|
|
QFile *iptcFile = iptcTemp.file();
|
|
if ( !iptcFile )
|