From fa801ea0a0322711a652a05c8e48263dd210e2f4 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 7 Apr 2009 15:44:21 +0200 Subject: remove debug code --- src/ImageMetaData.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 #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(); -- cgit v1.2.3