Index: xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp |
diff --git a/xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp b/xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp |
index 75bcbbecae58d547711380ef1780c9cb7a58bafd..08ce54f844f9d32e0922a5d34f95b8b21a2cca65 100644 |
--- a/xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp |
+++ b/xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp |
@@ -274,7 +274,7 @@ static CXFA_Node* XFA_ResolveBreakTarget(CXFA_Node* pPageSetRoot, |
if (wsTargetExpr.IsEmpty()) { |
return NULL; |
} |
- CFX_WideString wsTargetAll = wsTargetExpr; |
+ CFX_WideString wsTargetAll(wsTargetExpr); |
wsTargetAll.TrimLeft(); |
wsTargetAll.TrimRight(); |
int32_t iSpliteIndex = 0; |