summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-06-09 11:46:16 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-09 11:46:16 -0700
commit20d6b76d82a762e75e8c2a89976f93acd9af7467 (patch)
tree9142c0179606d9909158678559e0adcac8b9991f /xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp
parente64c3c60bdc1ca2e937e4317a9238ab4c210dfe5 (diff)
downloadpdfium-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/parser/xfa_script_layoutpseudomodel.cpp')
-rw-r--r--xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp b/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp
index 4ec6c14dfd..37c64b6b05 100644
--- a/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp
+++ b/xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp
@@ -211,8 +211,7 @@ void CScript_LayoutPseudoModel::Script_LayoutPseudoModel_GetObjArray(
const CFX_WideString& wsType,
FX_BOOL bOnPageArea,
CXFA_NodeArray& retArray) {
- CXFA_ContainerLayoutItem* pLayoutPage =
- (CXFA_ContainerLayoutItem*)pDocLayout->GetPage(iPageNo);
+ CXFA_ContainerLayoutItem* pLayoutPage = pDocLayout->GetPage(iPageNo);
if (!pLayoutPage) {
return;
}