aboutsummaryrefslogtreecommitdiffstats
path: root/src/exiv2wrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/exiv2wrapper.cpp')
-rw-r--r--src/exiv2wrapper.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/exiv2wrapper.cpp b/src/exiv2wrapper.cpp
index 8782b23..b2a1585 100644
--- a/src/exiv2wrapper.cpp
+++ b/src/exiv2wrapper.cpp
@@ -33,8 +33,6 @@
#define METADATA_NOT_READ 101
#define NON_REPEATABLE 102
#define KEY_NOT_FOUND 103
-#define THUMB_ACCESS 104
-#define NO_THUMBNAIL 105
// Custom macros
#define CHECK_METADATA_READ \
@@ -808,12 +806,6 @@ void translateExiv2Error(Exiv2::Error const& error)
case KEY_NOT_FOUND:
PyErr_SetString(PyExc_KeyError, "Tag not set");
break;
- case THUMB_ACCESS:
- PyErr_SetString(PyExc_IOError, "Cannot access image thumbnail");
- break;
- case NO_THUMBNAIL:
- PyErr_SetString(PyExc_IOError, "The EXIF data does not contain a thumbnail");
- break;
default:
PyErr_SetString(PyExc_RuntimeError, message);