summaryrefslogtreecommitdiff
path: root/XMPFiles/source/NativeMetadataSupport/IMetadata.h
diff options
context:
space:
mode:
authorHubert Figuière <hub@figuiere.net>2016-12-07 00:25:52 -0500
committerHubert Figuière <hub@figuiere.net>2016-12-07 00:29:32 -0500
commit1696cff2133f0eab1fea45c164cb771a6e5e4526 (patch)
treed526dab08731fd8f6a4978b67df6e788979b567c /XMPFiles/source/NativeMetadataSupport/IMetadata.h
parent93571bfffb172a92f602de38a615902c52da111a (diff)
parent6071af09b5e263b63e57b28ab8a78484bc65e3fe (diff)
Merge branch 'adobe-sdk' into integration
Merge Adobe SDK CC 2016.07
Diffstat (limited to 'XMPFiles/source/NativeMetadataSupport/IMetadata.h')
-rw-r--r--XMPFiles/source/NativeMetadataSupport/IMetadata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMPFiles/source/NativeMetadataSupport/IMetadata.h b/XMPFiles/source/NativeMetadataSupport/IMetadata.h
index b85239b..608d4a2 100644
--- a/XMPFiles/source/NativeMetadataSupport/IMetadata.h
+++ b/XMPFiles/source/NativeMetadataSupport/IMetadata.h
@@ -237,7 +237,7 @@ template<class T> void IMetadata::setValue( XMP_Uns32 id, const T& value )
//
// check if the value is "empty"
//
- if( this->isEmptyValue( id, *valueObj ) )
+ if( valueObj == NULL || this->isEmptyValue( id, *valueObj ) )
{
//
// value is "empty", delete it