diff options
author | Wei Li <weili@chromium.org> | 2016-03-22 19:19:01 -0700 |
---|---|---|
committer | Wei Li <weili@chromium.org> | 2016-03-22 19:19:01 -0700 |
commit | e91afbabec3b7c891b464efd221748edaba3c2bc (patch) | |
tree | a1f0cbd94320b43b1f0e949ee91b15367156a0a2 /core/fpdfapi | |
parent | 0ac525005e15a6a67b04e8ab1553f4a1e18b0da7 (diff) | |
download | pdfium-e91afbabec3b7c891b464efd221748edaba3c2bc.tar.xz |
Re-enable MSVC warning 4702
BUG=pdfium:29
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1821423002 .
Diffstat (limited to 'core/fpdfapi')
-rw-r--r-- | core/fpdfapi/fpdf_font/fpdf_font_cid.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp b/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp index 97a3d4dbc1..351df608d2 100644 --- a/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp +++ b/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp @@ -1052,12 +1052,13 @@ FX_WCHAR CPDF_CIDFont::GetUnicodeFromCharCode(FX_DWORD charcode) const { return 0; } return unicode; -#endif +#else if (m_pCMap->m_pEmbedMap) { return EmbeddedUnicodeFromCharcode(m_pCMap->m_pEmbedMap, m_pCMap->m_Charset, charcode); } return 0; +#endif } return m_pCID2UnicodeMap->UnicodeFromCID(CIDFromCharCode(charcode)); } |