summaryrefslogtreecommitdiff
path: root/xfa/src/fgas/src/layout/fx_textbreak.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fgas/src/layout/fx_textbreak.cpp')
-rw-r--r--xfa/src/fgas/src/layout/fx_textbreak.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/xfa/src/fgas/src/layout/fx_textbreak.cpp b/xfa/src/fgas/src/layout/fx_textbreak.cpp
index 779ddadcda..700af7975e 100644
--- a/xfa/src/fgas/src/layout/fx_textbreak.cpp
+++ b/xfa/src/fgas/src/layout/fx_textbreak.cpp
@@ -1159,12 +1159,13 @@ void CFX_TxtBreak::Reset() {
m_pTxtLine1->RemoveAll(TRUE);
m_pTxtLine2->RemoveAll(TRUE);
}
-typedef struct _FX_FORMCHAR {
+
+struct FX_FORMCHAR {
FX_WORD wch;
FX_WORD wForm;
int32_t iWidth;
-} FX_FORMCHAR, *FX_LPFORMCHAR;
-typedef FX_FORMCHAR const* FX_LPCFORMCHAR;
+};
+
int32_t CFX_TxtBreak::GetDisplayPos(const FX_TXTRUN* pTxtRun,
FXTEXT_CHARPOS* pCharPos,
FX_BOOL bCharCode,