diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-06-13 16:14:26 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-06-13 16:14:26 +0000 |
commit | 5f032995b3d7f874eafbd9dc4a56e8f08fbfa87d (patch) | |
tree | 05b80131ca245b0eb9b64d9be4ca18ed37ccebda /fpdfsdk/pwl | |
parent | 81a3085b250deafd18a2183a311cc57e2ec1c6f0 (diff) | |
download | pdfium-5f032995b3d7f874eafbd9dc4a56e8f08fbfa87d.tar.xz |
CPDFSDK_Widget(): bDisplay arg always passed as true (default).
So remove it and combine the XFA/non-XFA cases.
Change-Id: I13d718de13ec31bf4f5c045164ea5791bf22f92d
Reviewed-on: https://pdfium-review.googlesource.com/35050
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/pwl')
-rw-r--r-- | fpdfsdk/pwl/cpwl_appstream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/pwl/cpwl_appstream.cpp b/fpdfsdk/pwl/cpwl_appstream.cpp index 01ef48a298..aa612f0c07 100644 --- a/fpdfsdk/pwl/cpwl_appstream.cpp +++ b/fpdfsdk/pwl/cpwl_appstream.cpp @@ -1781,7 +1781,7 @@ void CPWL_AppStream::SetAsTextField(const WideString* sValue) { #ifdef PDF_ENABLE_XFA WideString sValueTmp; if (!sValue && widget_->GetMixXFAWidget()) { - sValueTmp = widget_->GetValue(true); + sValueTmp = widget_->GetValue(); sValue = &sValueTmp; } #endif // PDF_ENABLE_XFA |