diff options
author | tsepez <tsepez@chromium.org> | 2016-06-09 11:46:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-09 11:46:16 -0700 |
commit | 20d6b76d82a762e75e8c2a89976f93acd9af7467 (patch) | |
tree | 9142c0179606d9909158678559e0adcac8b9991f /xfa/fxfa/app/xfa_fffield.cpp | |
parent | e64c3c60bdc1ca2e937e4317a9238ab4c210dfe5 (diff) | |
download | pdfium-20d6b76d82a762e75e8c2a89976f93acd9af7467.tar.xz |
Use static_cast<CXFA_WidgetAcc*> in xfa.
Remove a few other unused casts, simplify.
Review-Url: https://codereview.chromium.org/2052593003
Diffstat (limited to 'xfa/fxfa/app/xfa_fffield.cpp')
-rw-r--r-- | xfa/fxfa/app/xfa_fffield.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/app/xfa_fffield.cpp b/xfa/fxfa/app/xfa_fffield.cpp index 72fb14380f..df366217b0 100644 --- a/xfa/fxfa/app/xfa_fffield.cpp +++ b/xfa/fxfa/app/xfa_fffield.cpp @@ -692,7 +692,7 @@ int32_t CXFA_FFField::CalculateOverride() { } CXFA_WidgetAcc* pWidgetAcc = NULL; while (pNode) { - pWidgetAcc = (CXFA_WidgetAcc*)pNode->GetWidgetData(); + pWidgetAcc = static_cast<CXFA_WidgetAcc*>(pNode->GetWidgetData()); if (!pWidgetAcc) { return 1; } |