summaryrefslogtreecommitdiff
path: root/fpdfsdk/formfiller/cffl_iformfiller.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-06-08 20:44:54 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-08 20:44:54 -0700
commit23ae4a55bfa8edca1069ac534bfd7c836fcc91ea (patch)
tree29c72f3e6d4dc68fa8e74cf4f46233404af4d455 /fpdfsdk/formfiller/cffl_iformfiller.cpp
parent947c87348d30ec8065a646e6da09e863e8f24cfa (diff)
downloadpdfium-23ae4a55bfa8edca1069ac534bfd7c836fcc91ea.tar.xz
Remove redundant casts, part 4
Review-Url: https://codereview.chromium.org/2053513002
Diffstat (limited to 'fpdfsdk/formfiller/cffl_iformfiller.cpp')
-rw-r--r--fpdfsdk/formfiller/cffl_iformfiller.cpp7
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 =