diff options
Diffstat (limited to 'xfa/fxfa/parser')
-rw-r--r-- | xfa/fxfa/parser/cxfa_node.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp index 91e78dc485..674ec00d8e 100644 --- a/xfa/fxfa/parser/cxfa_node.cpp +++ b/xfa/fxfa/parser/cxfa_node.cpp @@ -171,8 +171,10 @@ FXCODEC_IMAGE_TYPE XFA_GetImageType(const WideString& wsType) { return FXCODEC_IMAGE_GIF; if (wsContentType == L"image/bmp") return FXCODEC_IMAGE_BMP; +#ifdef PDF_ENABLE_XFA_TIFF if (wsContentType == L"image/tif") - return FXCODEC_IMAGE_TIF; + return FXCODEC_IMAGE_TIFF; +#endif // PDF_ENABLE_XFA_TIFF return FXCODEC_IMAGE_UNKNOWN; } |