summaryrefslogtreecommitdiff
path: root/core/fpdfapi/font
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-11-02 18:30:32 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-02 18:30:32 +0000
commit92492c1455e59c18f274c1f2b3ecfe9d042509fa (patch)
tree3f0daa69d9f4e82fedcd71aecd0f140573e8dd73 /core/fpdfapi/font
parent8a884a481d9f31dbb2d21972b52639b33626b4de (diff)
downloadpdfium-92492c1455e59c18f274c1f2b3ecfe9d042509fa.tar.xz
Simplify some CMap code.
Change-Id: Ie7eb2605a789d2c841cb1dc123509f473c4c5a5e Reviewed-on: https://pdfium-review.googlesource.com/17410 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/font')
-rw-r--r--core/fpdfapi/font/cpdf_cmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/font/cpdf_cmap.cpp b/core/fpdfapi/font/cpdf_cmap.cpp
index 1eabfff866..a654fcced3 100644
--- a/core/fpdfapi/font/cpdf_cmap.cpp
+++ b/core/fpdfapi/font/cpdf_cmap.cpp
@@ -283,7 +283,7 @@ void CPDF_CMap::LoadPredefined(CPDF_CMapManager* pMgr,
m_MixedTwoByteLeadingBytes[b] = true;
}
}
- FPDFAPI_FindEmbeddedCMap(bsName, m_Charset, m_Coding, m_pEmbedMap);
+ m_pEmbedMap = FPDFAPI_FindEmbeddedCMap(bsName, m_Charset, m_Coding);
if (!m_pEmbedMap)
return;