Exiv2::Image *image = imageData_->image();
#ifdef HAVE_EXIV2_ERROR_CODE
- if (!image) throw Exiv2::Error(Exiv2::ErrorCode::kerInputDataReadFailed);
+ if (!image) throw Exiv2::Error(Exiv2::kerInputDataReadFailed);
#else
if (!image) throw Exiv2::Error(21);
#endif
sidecar->writeMetadata();
#else
#ifdef HAVE_EXIV2_ERROR_CODE
- throw Exiv2::Error(Exiv2::ErrorCode::kerNotAnImage, "xmp");
+ throw Exiv2::Error(Exiv2::kerNotAnImage, "xmp");
#else
throw Exiv2::Error(3, "xmp");
#endif
#ifdef EXV_ENABLE_NLS
bind_textdomain_codeset (EXV_PACKAGE, "UTF-8");
#endif
+
+#ifdef EXV_ENABLE_BMFF
+ Exiv2::enableBMFF(TRUE);
+#endif
}
#if EXIV2_TEST_VERSION(0,16,0)
std::string str = em->toString(idx);
#else
- std::string str = em->toString(); // FIXME
+ std::string str = em->toString(); /**< @FIXME ?? */
#endif
if (idx == 0 && str == "") str = em->toString();
if (str.length() > 5 && str.substr(0, 5) == "lang=")
TRUE || /* no conversion support */
#endif
!values || /* deleting item */
- !ret /* writing to the explicitely given xmp tag failed */
+ !ret /* writing to the explicitly given xmp tag failed */
)
{
/* deleted xmp metadatum can't be converted, we have to delete also the corresponding legacy tag */