diff options
author | tsepez <tsepez@chromium.org> | 2016-06-08 20:44:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-08 20:44:54 -0700 |
commit | 23ae4a55bfa8edca1069ac534bfd7c836fcc91ea (patch) | |
tree | 29c72f3e6d4dc68fa8e74cf4f46233404af4d455 /fpdfsdk/formfiller | |
parent | 947c87348d30ec8065a646e6da09e863e8f24cfa (diff) | |
download | pdfium-23ae4a55bfa8edca1069ac534bfd7c836fcc91ea.tar.xz |
Remove redundant casts, part 4
Review-Url: https://codereview.chromium.org/2053513002
Diffstat (limited to 'fpdfsdk/formfiller')
-rw-r--r-- | fpdfsdk/formfiller/cffl_iformfiller.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/fpdfsdk/formfiller/cffl_iformfiller.cpp b/fpdfsdk/formfiller/cffl_iformfiller.cpp index 107197fa72..c63ee0e8c4 100644 --- a/fpdfsdk/formfiller/cffl_iformfiller.cpp +++ b/fpdfsdk/formfiller/cffl_iformfiller.cpp @@ -709,10 +709,8 @@ void CFFL_IFormFiller::OnCalculate(CPDFSDK_Widget* pWidget, if (!m_bNotifying) { ASSERT(pWidget); CPDFSDK_Document* pDocument = pPageView->GetSDKDocument(); - CPDFSDK_InterForm* pInterForm = - (CPDFSDK_InterForm*)pDocument->GetInterForm(); + CPDFSDK_InterForm* pInterForm = pDocument->GetInterForm(); pInterForm->OnCalculate(pWidget->GetFormField()); - m_bNotifying = FALSE; } } @@ -724,8 +722,7 @@ void CFFL_IFormFiller::OnFormat(CPDFSDK_Widget* pWidget, if (!m_bNotifying) { ASSERT(pWidget); CPDFSDK_Document* pDocument = pPageView->GetSDKDocument(); - CPDFSDK_InterForm* pInterForm = - (CPDFSDK_InterForm*)pDocument->GetInterForm(); + CPDFSDK_InterForm* pInterForm = pDocument->GetInterForm(); FX_BOOL bFormated = FALSE; CFX_WideString sValue = |