diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-10 23:43:26 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-10 23:43:26 +0000 |
commit | 6fdfe387645217cdd77e8e4230a0d8348d831e31 (patch) | |
tree | 5c7e9340f3ef0a7cefdff19733a0c9fcad311cb4 /fpdfsdk/pwl/cpwl_font_map.h | |
parent | 8ba9749e2f39287137a96ec5ceff2ac694566f48 (diff) | |
download | pdfium-6fdfe387645217cdd77e8e4230a0d8348d831e31.tar.xz |
Kill some optional parameters that are always supplied.
No need to even bring any .cpp files in line with these headers.
Change-Id: I934169d77ae09adc11f02e5ea92b1f8b078c9477
Reviewed-on: https://pdfium-review.googlesource.com/39876
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/pwl/cpwl_font_map.h')
-rw-r--r-- | fpdfsdk/pwl/cpwl_font_map.h | 6 |
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, |