summaryrefslogtreecommitdiff
path: root/fpdfsdk/pwl/cpwl_font_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/pwl/cpwl_font_map.h')
-rw-r--r--fpdfsdk/pwl/cpwl_font_map.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/fpdfsdk/pwl/cpwl_font_map.h b/fpdfsdk/pwl/cpwl_font_map.h
index c465a0fc0c..159bd7ff56 100644
--- a/fpdfsdk/pwl/cpwl_font_map.h
+++ b/fpdfsdk/pwl/cpwl_font_map.h
@@ -61,7 +61,7 @@ class CPWL_FontMap : public IPVT_FontMap {
bool bFind);
int32_t AddFontData(CPDF_Font* pFont,
const ByteString& sFontAlias,
- int32_t nCharset = FX_CHARSET_Default);
+ int32_t nCharset);
ByteString EncodeFontAlias(const ByteString& sFontName, int32_t nCharset);
ByteString EncodeFontAlias(const ByteString& sFontName);
@@ -70,9 +70,7 @@ class CPWL_FontMap : public IPVT_FontMap {
std::vector<std::unique_ptr<CPWL_FontMap_Native>> m_NativeFont;
private:
- int32_t FindFont(const ByteString& sFontName,
- int32_t nCharset = FX_CHARSET_Default);
-
+ int32_t FindFont(const ByteString& sFontName, int32_t nCharset);
ByteString GetNativeFont(int32_t nCharset);
CPDF_Font* AddFontToDocument(CPDF_Document* pDoc,
ByteString& sFontName,