Commits
Marcus Calhoun-Lopez authored 3aec201398c
1 1 | --- ufraw_exiv2.cc.orig 2015-06-15 20:58:38.000000000 -0700 |
2 2 | +++ ufraw_exiv2.cc 2018-12-22 18:59:36.000000000 -0800 |
3 - | |
3 + | |
4 + | #include "ufraw.h" |
5 + | |
6 + | #ifdef HAVE_EXIV2 |
7 + | -#include <exiv2/image.hpp> |
8 + | -#include <exiv2/easyaccess.hpp> |
9 + | -#include <exiv2/exif.hpp> |
10 + | +#include <exiv2/exiv2.hpp> |
11 + | +#include <iostream> |
12 + | #include <sstream> |
13 + | #include <cassert> |
14 + | |
15 + | |
4 16 | if (exifData.empty()) { |
5 17 | std::string error(uf->filename); |
6 18 | error += ": No Exif data found in the file"; |
7 19 | - throw Exiv2::Error(1, error); |
8 20 | + throw Exiv2::Error(Exiv2::kerErrorMessage, error); |
9 21 | } |
10 22 | |
11 23 | /* List of tag names taken from exiv2's printSummary() in actions.cpp */ |