summaryrefslogtreecommitdiff
path: root/core/fpdfapi
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-03-22 19:19:01 -0700
committerWei Li <weili@chromium.org>2016-03-22 19:19:01 -0700
commite91afbabec3b7c891b464efd221748edaba3c2bc (patch)
treea1f0cbd94320b43b1f0e949ee91b15367156a0a2 /core/fpdfapi
parent0ac525005e15a6a67b04e8ab1553f4a1e18b0da7 (diff)
downloadpdfium-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.cpp3
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));
}