summaryrefslogtreecommitdiff
path: root/xfa/fxfa
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-06-09 19:05:47 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-09 19:05:47 -0700
commit215507d8d612d4269723b49aaf28468b634f68ac (patch)
treedb75d238ac356b58ea796be9ddb441eefeb1dc3d /xfa/fxfa
parent6dc1d7753691c0ff2f390e8ffd95a3182064487e (diff)
downloadpdfium-215507d8d612d4269723b49aaf28468b634f68ac.tar.xz
Avoid casts via correct types in fgas_textbreak
FLW_DATEINFO cast not required. Review-Url: https://codereview.chromium.org/2053963002
Diffstat (limited to 'xfa/fxfa')
-rw-r--r--xfa/fxfa/app/xfa_rendercontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/app/xfa_rendercontext.cpp b/xfa/fxfa/app/xfa_rendercontext.cpp
index de78a202ad..bbb11cb5ec 100644
--- a/xfa/fxfa/app/xfa_rendercontext.cpp
+++ b/xfa/fxfa/app/xfa_rendercontext.cpp
@@ -51,7 +51,7 @@ int32_t CXFA_RenderContext::StartRender(CXFA_FFPageView* pPageView,
int32_t CXFA_RenderContext::DoRender(IFX_Pause* pPause) {
int32_t iCount = 0;
while (m_pWidget) {
- CXFA_FFWidget* pWidget = (CXFA_FFWidget*)m_pWidget;
+ CXFA_FFWidget* pWidget = m_pWidget;
CFX_RectF rtWidgetBox;
pWidget->GetBBox(rtWidgetBox, XFA_WidgetStatus_Visible);
rtWidgetBox.width += 1;