summaryrefslogtreecommitdiffstats
path: root/filters
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-03 18:10:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-03 18:10:36 +0000
commite7e4b0b68cf15e861bb8f0f7ee76156460cdf97d (patch)
tree0d7b18b719cc71b15efcb5be91e4ca2f9926bf9e /filters
parent86ea45fe5947020ff39e593b7f86f3c8b518d79b (diff)
downloadkoffice-e7e4b0b68cf15e861bb8f0f7ee76156460cdf97d.tar.gz
koffice-e7e4b0b68cf15e861bb8f0f7ee76156460cdf97d.zip
Fix instances of Orientation in quotes which were accidentally renamed to Qt::Orientation during TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1244690 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'filters')
-rw-r--r--filters/chalk/jpeg/kis_jpeg_converter.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/filters/chalk/jpeg/kis_jpeg_converter.cc b/filters/chalk/jpeg/kis_jpeg_converter.cc
index 8daebc00..5fa8e78a 100644
--- a/filters/chalk/jpeg/kis_jpeg_converter.cc
+++ b/filters/chalk/jpeg/kis_jpeg_converter.cc
@@ -274,7 +274,7 @@ KisImageBuilder_Result KisJPEGConverter::decode(const KURL& uri)
exifIO.readExifFromMem( marker->data , marker->data_length );
// Interpret orientation tag
ExifValue v;
- if( layer->paintDevice()->exifInfo()->getValue("Qt::Orientation", v) && v.type() == ExifValue::EXIF_TYPE_SHORT)
+ if( layer->paintDevice()->exifInfo()->getValue("Orientation", v) && v.type() == ExifValue::EXIF_TYPE_SHORT)
{
switch(v.asShort(0)) //
{
@@ -305,7 +305,7 @@ KisImageBuilder_Result KisJPEGConverter::decode(const KURL& uri)
break;
}
v.setValue(0, (TQ_UINT16)1);
- layer->paintDevice()->exifInfo()->setValue("Qt::Orientation", v);
+ layer->paintDevice()->exifInfo()->setValue("Orientation", v);
}
break;
}