| Index: core/fxge/ge/fx_ge_font.cpp
|
| diff --git a/core/fxge/ge/fx_ge_font.cpp b/core/fxge/ge/fx_ge_font.cpp
|
| index b2c92f516da6b4b83a3f2aeca092a42580f92699..f9f6dbbd075ab3ecf0312d5a8aa467e2505077dd 100644
|
| --- a/core/fxge/ge/fx_ge_font.cpp
|
| +++ b/core/fxge/ge/fx_ge_font.cpp
|
| @@ -4,6 +4,7 @@
|
|
|
| // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
|
|
|
| +#include "core/fpdfapi/fpdf_font/include/cpdf_font.h"
|
| #include "core/fxge/ge/fx_text_int.h"
|
| #include "core/include/fxge/fx_freetype.h"
|
| #include "core/include/fxge/fx_ge.h"
|
| @@ -516,7 +517,7 @@ FX_DWORD CFX_UnicodeEncodingEx::CharCodeFromUnicode(FX_WCHAR Unicode) const {
|
| return Unicode;
|
| }
|
| }
|
| - return static_cast<FX_DWORD>(-1);
|
| + return CPDF_Font::kInvalidCharCode;
|
| }
|
|
|
| CFX_UnicodeEncodingEx* FX_CreateFontEncodingEx(CFX_Font* pFont,
|
|
|