summaryrefslogtreecommitdiff
path: root/core/src/fpdfapi/fpdf_font
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-08-19 10:42:45 -0700
committerTom Sepez <tsepez@chromium.org>2015-08-19 10:42:45 -0700
commit7da980351d6fc428fd95be3015081d911f4470c0 (patch)
tree5e0e0dd1e24b770c17bd79397ae097ffd22c5559 /core/src/fpdfapi/fpdf_font
parent33db790486b89e9a84622788940fd7995e37cf5e (diff)
downloadpdfium-7da980351d6fc428fd95be3015081d911f4470c0.tar.xz
Merge to XFA: Extern in .cpp files is a code smell, part 1.
(cherry picked from commit 71c15a5e6652952a94ba3a3ef7ac0392e3a06962) Original Review URL: https://codereview.chromium.org/1299963002 . R=thestig@chromium.org TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1301073003 .
Diffstat (limited to 'core/src/fpdfapi/fpdf_font')
-rw-r--r--core/src/fpdfapi/fpdf_font/font_int.h3
-rw-r--r--core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp5
2 files changed, 3 insertions, 5 deletions
diff --git a/core/src/fpdfapi/fpdf_font/font_int.h b/core/src/fpdfapi/fpdf_font/font_int.h
index 59acfcbd35..79c25219a0 100644
--- a/core/src/fpdfapi/fpdf_font/font_int.h
+++ b/core/src/fpdfapi/fpdf_font/font_int.h
@@ -19,6 +19,9 @@ class CPDF_Stream;
typedef void* FXFT_Library;
+short TT2PDF(int m, FXFT_Face face);
+FX_BOOL FT_UseTTCharmap(FXFT_Face face, int platform_id, int encoding_id);
+
class CPDF_CMapManager {
public:
CPDF_CMapManager();
diff --git a/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp b/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp
index ebb99fad63..2fc1255989 100644
--- a/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp
+++ b/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp
@@ -12,11 +12,6 @@
#include "../fpdf_cmaps/cmap_int.h"
#include "font_int.h"
-extern short TT2PDF(int m, FXFT_Face face);
-extern FX_BOOL FT_UseTTCharmap(FXFT_Face face,
- int platform_id,
- int encoding_id);
-
CPDF_CMapManager::CPDF_CMapManager() {
m_bPrompted = FALSE;
FXSYS_memset(m_CID2UnicodeMaps, 0, sizeof m_CID2UnicodeMaps);