Index: xfa/fxfa/app/xfa_fffield.cpp |
diff --git a/xfa/fxfa/app/xfa_fffield.cpp b/xfa/fxfa/app/xfa_fffield.cpp |
index dc1cebbf66cb4aab9fab4f2bbf68ba914c6452bb..e91dd96b95b7d8ff42bbe77f7c33b14b3f4766b8 100644 |
--- a/xfa/fxfa/app/xfa_fffield.cpp |
+++ b/xfa/fxfa/app/xfa_fffield.cpp |
@@ -731,9 +731,8 @@ int32_t CXFA_FFField::CalculateWidgetAcc(CXFA_WidgetAcc* pAcc) { |
wsMessage += wsWarning; |
CFX_WideString wsTitle; |
pAppProvider->LoadString(XFA_IDS_CalcOverride, wsTitle); |
- pAppProvider->MsgBox(wsMessage.AsWideStringC(), |
- wsTitle.AsWideStringC(), XFA_MBICON_Warning, |
- XFA_MB_OK); |
+ pAppProvider->MsgBox(wsMessage.AsStringC(), wsTitle.AsStringC(), |
+ XFA_MBICON_Warning, XFA_MB_OK); |
} |
} |
return 0; |
@@ -764,8 +763,8 @@ int32_t CXFA_FFField::CalculateWidgetAcc(CXFA_WidgetAcc* pAcc) { |
wsMessage += wsWarning; |
CFX_WideString wsTitle; |
pAppProvider->LoadString(XFA_IDS_CalcOverride, wsTitle); |
- if (pAppProvider->MsgBox(wsMessage.AsWideStringC(), |
- wsTitle.AsWideStringC(), XFA_MBICON_Warning, |
+ if (pAppProvider->MsgBox(wsMessage.AsStringC(), wsTitle.AsStringC(), |
+ XFA_MBICON_Warning, |
XFA_MB_YesNo) == XFA_IDYes) { |
pAcc->GetNode()->SetFlag(XFA_NODEFLAG_UserInteractive, TRUE, FALSE); |
return 1; |