Author: post
Date: 2011-11-23 19:13:09 +0100 (Wed, 23 Nov 2011)
New Revision: 394
Modified:
RawSpeed/TiffEntry.h
Log:
Use function to throw Exception (for easier debugging)
Modified: RawSpeed/TiffEntry.h
===================================================================
--- RawSpeed/TiffEntry.h 2011-11-20 12:31:35 UTC (rev 393)
+++ RawSpeed/TiffEntry.h 2011-11-23 18:13:09 UTC (rev 394)
@@ -36,7 +36,7 @@
#undef CHECKSIZE
#endif
-#define CHECKSIZE(A) if (A >= f->getSize() || A < 1) throw
TiffParserException("Error reading TIFF Entry structure size. File Corrupt")
+#define CHECKSIZE(A) if (A >= f->getSize() || A < 1) ThrowTPE("Error reading
TIFF Entry structure size. File Corrupt")
// 0-1-2-3-4-5-6-7-8-9-10-11-12-13
/*
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit