| Index: xfa/src/fgas/src/layout/fx_textbreak.cpp
|
| diff --git a/xfa/src/fgas/src/layout/fx_textbreak.cpp b/xfa/src/fgas/src/layout/fx_textbreak.cpp
|
| index 05f5510ccdf749b80880d845d5a8426599cb7d76..461ac03d470af0c8baea1940b591b077d1a4f760 100644
|
| --- a/xfa/src/fgas/src/layout/fx_textbreak.cpp
|
| +++ b/xfa/src/fgas/src/layout/fx_textbreak.cpp
|
| @@ -9,9 +9,6 @@
|
| #include "fx_unicode.h"
|
| #include "fx_textbreak.h"
|
|
|
| -extern const FX_DWORD gs_FX_TextLayout_CodeProperties[65536];
|
| -extern const FX_WCHAR gs_FX_TextLayout_VerticalMirror[64];
|
| -extern const FX_WCHAR gs_FX_TextLayout_BidiMirror[512];
|
| extern const FX_LINEBREAKTYPE gs_FX_LineBreak_PairTable[64][32];
|
| IFX_TxtBreak* IFX_TxtBreak::Create(FX_DWORD dwPolicies) {
|
| return new CFX_TxtBreak(dwPolicies);
|
| @@ -569,7 +566,7 @@ static const FX_TxtBreak_LPFAppendChar g_FX_TxtBreak_lpfAppendChar[16] = {
|
| &CFX_TxtBreak::AppendChar_Others, &CFX_TxtBreak::AppendChar_Others,
|
| };
|
| FX_DWORD CFX_TxtBreak::AppendChar(FX_WCHAR wch) {
|
| - FX_DWORD dwProps = gs_FX_TextLayout_CodeProperties[(FX_WORD)wch];
|
| + FX_DWORD dwProps = kTextLayoutCodeProperties[(FX_WORD)wch];
|
| FX_DWORD dwType = (dwProps & FX_CHARTYPEBITSMASK);
|
| CFX_TxtChar* pCurChar = m_pCurLine->m_pLineChars->AddSpace();
|
| pCurChar->m_wCharCode = (FX_WORD)wch;
|
|
|