| Index: xfa/fxfa/app/xfa_textlayout.cpp
|
| diff --git a/xfa/fxfa/app/xfa_textlayout.cpp b/xfa/fxfa/app/xfa_textlayout.cpp
|
| index a15fb959250ff79944dd62a31f097840c8d028e7..3c17c5877ca8221947249023cbc3c7e76b3e84fd 100644
|
| --- a/xfa/fxfa/app/xfa_textlayout.cpp
|
| +++ b/xfa/fxfa/app/xfa_textlayout.cpp
|
| @@ -737,12 +737,12 @@ CFDE_XMLNode* CXFA_TextLayout::GetXMLContainerNode() {
|
| }
|
| return pXMLContainer;
|
| }
|
| -IFX_RTFBreak* CXFA_TextLayout::CreateBreak(FX_BOOL bDefault) {
|
| +CFX_RTFBreak* CXFA_TextLayout::CreateBreak(FX_BOOL bDefault) {
|
| uint32_t dwStyle = FX_RTFLAYOUTSTYLE_ExpandTab;
|
| if (!bDefault) {
|
| dwStyle |= FX_RTFLAYOUTSTYLE_Pagination;
|
| }
|
| - IFX_RTFBreak* pBreak = IFX_RTFBreak::Create(0);
|
| + CFX_RTFBreak* pBreak = new CFX_RTFBreak(0);
|
| pBreak->SetLayoutStyles(dwStyle);
|
| pBreak->SetLineBreakChar(L'\n');
|
| pBreak->SetLineBreakTolerance(1);
|
|
|