Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(593)

Issue 2500963006: Replace fcvt with std::stringstream in AFNumber_Format (Closed)

Created:
4 years, 1 month ago by npm
Modified:
4 years, 1 month ago
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Replace fcvt with std::stringstream in AFNumber_Format On Mac, fcvt is returning an empty string when ndigit is 0. This causes the field to be replaced with "0" when applying AFNumber_Format. BUG=chromium:113910 Committed: https://pdfium.googlesource.com/pdfium/+/49c5928f4725c679c52b34400610d898a799ffd9

Patch Set 1 #

Patch Set 2 : Not you, Android #

Total comments: 4

Patch Set 3 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -41 lines) Patch
M fpdfsdk/javascript/PublicMethods.cpp View 1 2 4 chunks +40 lines, -41 lines 0 comments Download

Messages

Total messages: 18 (13 generated)
npm
PTAL
4 years, 1 month ago (2016-11-15 21:22:18 UTC) #9
Tom Sepez
lgtm https://codereview.chromium.org/2500963006/diff/20001/fpdfsdk/javascript/PublicMethods.cpp File fpdfsdk/javascript/PublicMethods.cpp (right): https://codereview.chromium.org/2500963006/diff/20001/fpdfsdk/javascript/PublicMethods.cpp#newcode94 fpdfsdk/javascript/PublicMethods.cpp:94: int* iNegative) { nit: maybe iNegative should be ...
4 years, 1 month ago (2016-11-15 22:37:30 UTC) #12
npm
https://codereview.chromium.org/2500963006/diff/20001/fpdfsdk/javascript/PublicMethods.cpp File fpdfsdk/javascript/PublicMethods.cpp (right): https://codereview.chromium.org/2500963006/diff/20001/fpdfsdk/javascript/PublicMethods.cpp#newcode94 fpdfsdk/javascript/PublicMethods.cpp:94: int* iNegative) { On 2016/11/15 22:37:30, Tom Sepez wrote: ...
4 years, 1 month ago (2016-11-15 22:54:14 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2500963006/40001
4 years, 1 month ago (2016-11-15 22:54:27 UTC) #16
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 23:14:10 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/49c5928f4725c679c52b34400610d898a799...

Powered by Google App Engine
This is Rietveld 408576698