summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-03-23 09:44:31 -0400
committerDan Sinclair <dsinclair@chromium.org>2016-03-23 09:44:31 -0400
commit13dcc976ac07fc4462261023d36789a3e5931559 (patch)
tree41a9312a47c039956cc77797f0babb94777bfb70
parentdb98f18c7e1268f59166cd9dfd0c896efb187b88 (diff)
downloadpdfium-13dcc976ac07fc4462261023d36789a3e5931559.tar.xz
Fix win/clang part 2.
After moving EmbeddedUnicodeFromCharcode the IsValidEmbeddedCharcodeFromUnicodeCharset method is no longer used on windows. TBR=weili@chromium.org Review URL: https://codereview.chromium.org/1827823002 .
-rw-r--r--core/fpdfapi/fpdf_font/fpdf_font_cid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp b/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp
index 98051cb7aa..b952cda4e5 100644
--- a/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp
+++ b/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp
@@ -284,6 +284,8 @@ int GetCharSizeImpl(FX_DWORD charcode,
return 1;
}
+#if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_
+
bool IsValidEmbeddedCharcodeFromUnicodeCharset(CIDSet charset) {
switch (charset) {
case CIDSET_GB1:
@@ -297,8 +299,6 @@ bool IsValidEmbeddedCharcodeFromUnicodeCharset(CIDSet charset) {
}
}
-#if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_
-
FX_DWORD EmbeddedCharcodeFromUnicode(const FXCMAP_CMap* pEmbedMap,
CIDSet charset,
FX_WCHAR unicode) {