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

Issue 2024463002: Avoid two C-style FX_WCHAR* casts in pdfium (Closed)

Created:
4 years, 6 months ago by brucedawson
Modified:
4 years, 6 months ago
Reviewers:
Lei Zhang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Avoid two C-style FX_WCHAR* casts in pdfium FX_WCHAR* casts were hiding a number of misuses of narrow strings in pdfium, which /analyze identified. Now that those are fixed I did a search for other instances of (FX_WCHAR*) to see if any other bugs were lurking. No bugs were found but one unnecessary cast and one that should be a const_cast were identified. This change fixes those. No behavioral change. Committed: https://pdfium.googlesource.com/pdfium/+/2f109ab836682cb465270ed303d27955db97d98f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M xfa/fde/css/fde_csssyntax.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fgas/font/fgas_stdfontmgr.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (3 generated)
brucedawson
Tiny code improvement to finish off the (FX_WCHAR*)"" fixes. PTAL.
4 years, 6 months ago (2016-05-27 22:53:52 UTC) #2
Lei Zhang
lgtm
4 years, 6 months ago (2016-05-27 23:02:54 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024463002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2024463002/1
4 years, 6 months ago (2016-05-27 23:11:18 UTC) #5
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 23:13:18 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://pdfium.googlesource.com/pdfium/+/2f109ab836682cb465270ed303d27955db97...

Powered by Google App Engine
This is Rietveld 408576698