diff options
Diffstat (limited to 'xfa/src/fgas/src/layout/fx_textbreak.cpp')
-rw-r--r-- | xfa/src/fgas/src/layout/fx_textbreak.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/src/fgas/src/layout/fx_textbreak.cpp b/xfa/src/fgas/src/layout/fx_textbreak.cpp index 20089c966f..779ddadcda 100644 --- a/xfa/src/fgas/src/layout/fx_textbreak.cpp +++ b/xfa/src/fgas/src/layout/fx_textbreak.cpp @@ -1165,7 +1165,7 @@ typedef struct _FX_FORMCHAR { int32_t iWidth; } FX_FORMCHAR, *FX_LPFORMCHAR; typedef FX_FORMCHAR const* FX_LPCFORMCHAR; -int32_t CFX_TxtBreak::GetDisplayPos(FX_LPCTXTRUN pTxtRun, +int32_t CFX_TxtBreak::GetDisplayPos(const FX_TXTRUN* pTxtRun, FXTEXT_CHARPOS* pCharPos, FX_BOOL bCharCode, CFX_WideString* pWSForms, @@ -1548,7 +1548,7 @@ int32_t CFX_TxtBreak::GetDisplayPos(FX_LPCTXTRUN pTxtRun, } return iCount; } -int32_t CFX_TxtBreak::GetCharRects(FX_LPCTXTRUN pTxtRun, +int32_t CFX_TxtBreak::GetCharRects(const FX_TXTRUN* pTxtRun, CFX_RectFArray& rtArray, FX_BOOL bCharBBox) const { if (pTxtRun == NULL || pTxtRun->iLength < 1) { |