Index: fpdfsdk/formfiller/cffl_iformfiller.cpp |
diff --git a/fpdfsdk/formfiller/cffl_iformfiller.cpp b/fpdfsdk/formfiller/cffl_iformfiller.cpp |
index db1f538e9d8b6f5b7f292b959dc17b02c694d5a2..24a6122f62e8c08bb995c9a8c998ce458172c671 100644 |
--- a/fpdfsdk/formfiller/cffl_iformfiller.cpp |
+++ b/fpdfsdk/formfiller/cffl_iformfiller.cpp |
@@ -724,8 +724,7 @@ void CFFL_IFormFiller::OnFormat(CPDFSDK_Widget* pWidget, |
return; |
if (bFormatted) { |
- pInterForm->ResetFieldAppearance(pWidget->GetFormField(), sValue.c_str(), |
- TRUE); |
+ pInterForm->ResetFieldAppearance(pWidget->GetFormField(), &sValue, TRUE); |
pInterForm->UpdateField(pWidget->GetFormField()); |
} |