summaryrefslogtreecommitdiff
path: root/xfa/fde/fde_iterator.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-06-09 11:09:22 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-09 11:09:22 -0700
commite64c3c60bdc1ca2e937e4317a9238ab4c210dfe5 (patch)
tree5507e29a647c0a7a8d87fc01fa64773244f2d3b0 /xfa/fde/fde_iterator.cpp
parent2334e9e583799a8cb2dfefb3c7e15c5a7da8ead0 (diff)
downloadpdfium-e64c3c60bdc1ca2e937e4317a9238ab4c210dfe5.tar.xz
Remove C-style casts in xfa/fde.
Review-Url: https://codereview.chromium.org/2040323004
Diffstat (limited to 'xfa/fde/fde_iterator.cpp')
-rw-r--r--xfa/fde/fde_iterator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fde/fde_iterator.cpp b/xfa/fde/fde_iterator.cpp
index d04467f06f..6e8ca0061a 100644
--- a/xfa/fde/fde_iterator.cpp
+++ b/xfa/fde/fde_iterator.cpp
@@ -72,7 +72,7 @@ FDE_TEXTEDITPIECE* CFDE_VisualSetIterator::GetNext(
if (eType == FDE_VISUALOBJ_Canvas) {
FDE_CANVASITEM canvas;
canvas.hCanvas = pObj;
- canvas.pCanvas = (IFDE_CanvasSet*)pVisualSet;
+ canvas.pCanvas = static_cast<IFDE_CanvasSet*>(pVisualSet);
canvas.hPos = canvas.pCanvas->GetFirstPosition();
m_CanvasStack.Push(canvas);
break;