summaryrefslogtreecommitdiff
path: root/xfa/fee
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fee')
-rw-r--r--xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp4
-rw-r--r--xfa/fee/fx_wordbreak/fx_wordbreak_impl.h2
-rw-r--r--xfa/fee/fx_wordbreak/fx_wordbreakdata.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp b/xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp
index d1b079edb1..6b8ae806d6 100644
--- a/xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp
+++ b/xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp
@@ -158,8 +158,8 @@ FX_BOOL CFX_WordBreak::FindNextBreakPos(IFX_CharIter* pIter,
pIter->Next(bPrev);
FX_WCHAR wcTemp = pIter->GetChar();
eNextType = FX_GetWordBreakProperty(wcTemp);
- FX_WORD wBreak =
- gs_FX_WordBreak_Table[eCurType] & ((FX_WORD)(1 << eNextType));
+ uint16_t wBreak =
+ gs_FX_WordBreak_Table[eCurType] & ((uint16_t)(1 << eNextType));
if (wBreak) {
if (pIter->IsEOF(!bPrev)) {
pIter->Next(!bPrev);
diff --git a/xfa/fee/fx_wordbreak/fx_wordbreak_impl.h b/xfa/fee/fx_wordbreak/fx_wordbreak_impl.h
index 95f5a43eb0..e7421ca1af 100644
--- a/xfa/fee/fx_wordbreak/fx_wordbreak_impl.h
+++ b/xfa/fee/fx_wordbreak/fx_wordbreak_impl.h
@@ -15,7 +15,7 @@
#include "xfa/fee/fx_wordbreak/fx_wordbreak_impl.h"
#include "xfa/fee/ifde_txtedtengine.h"
-extern const FX_WORD gs_FX_WordBreak_Table[16];
+extern const uint16_t gs_FX_WordBreak_Table[16];
extern const uint8_t gs_FX_WordBreak_CodePointProperties[(0xFFFF - 1) / 2 + 1];
enum FX_WordBreakProp {
FX_WordBreakProp_None = 0,
diff --git a/xfa/fee/fx_wordbreak/fx_wordbreakdata.cpp b/xfa/fee/fx_wordbreak/fx_wordbreakdata.cpp
index ffb4889954..b632d5fafc 100644
--- a/xfa/fee/fx_wordbreak/fx_wordbreakdata.cpp
+++ b/xfa/fee/fx_wordbreak/fx_wordbreakdata.cpp
@@ -6,7 +6,7 @@
#include "xfa/fee/fx_wordbreak/fx_wordbreak_impl.h"
-const FX_WORD gs_FX_WordBreak_Table[16] = {
+const uint16_t gs_FX_WordBreak_Table[16] = {
0xFFFF, 0xFFF9, 0xFFFB, 0xFFFB, 0xFFFB, 0xFFFB, 0xEFBB, 0xE77B,
0xFFFB, 0xFFFB, 0xFFFB, 0xE77B, 0xE73B, 0xFFFB, 0xFFFB, 0xFFFB,
};