diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-07 15:44:21 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-07 15:44:21 +0200 |
commit | fa801ea0a0322711a652a05c8e48263dd210e2f4 (patch) | |
tree | fd7229ca86c7cc4a9412a486af0fabfa3812925f | |
parent | 1f240034908bfade7c70076fac3fea9bf99982d2 (diff) |
remove debug code
-rw-r--r-- | src/ImageMetaData.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ImageMetaData.cxx b/src/ImageMetaData.cxx index 3269465..1c6c3c6 100644 --- a/src/ImageMetaData.cxx +++ b/src/ImageMetaData.cxx @@ -21,7 +21,7 @@ #include <exiv2/exif.hpp> #include "ImageMetaData.H" -#define WIN32 1 + ImageMetaData::ImageMetaData() { _manufacturer = NULL; _model = NULL; @@ -74,6 +74,7 @@ ImageMetaData::save_image(char *in_img, char *out_img) { int ImageMetaData::load_image_exif(char *name) { Exiv2::Image::AutoPtr image; + try { image = Exiv2::ImageFactory::open(name); image->readMetadata(); |