[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.2/kdegraphics/libs/libkexiv2/libkexiv2
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2009-02-22 11:05:55
Message-ID: 1235300755.420466.10903.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 929836 by cgilles:

backport commit #929807 from trunk


 M  +3 -3      kexiv2exif.cpp  


--- branches/KDE/4.2/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2exif.cpp #929835:929836
@@ -685,9 +685,9 @@
         Exiv2::ExifData::iterator it = exifData.findKey(exifKey);
         if (it != exifData.end())
         {
-            std::ostringstream os;
-            os << *it;
-            QString tagValue = QString::fromLocal8Bit(os.str().c_str());
+            // See B.K.O #184156 comment #13
+            std::string val  = it->print(&exifData);
+            QString tagValue = QString::fromLocal8Bit(val.c_str());
 
             if (escapeCR)
                 tagValue.replace("\n", " ");
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic