diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-08-14 11:09:35 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-14 15:54:57 +0000 |
commit | c068c8e1ac5d41ace2a89827601669e8b573ef48 (patch) | |
tree | 0c10481a29ae297b839279844a7446f3ac5d935a /xfa/fde/cfde_visualsetiterator.cpp | |
parent | 24b6af6c87f0d7f49f5213ae019616b9b07e2e8f (diff) | |
download | pdfium-c068c8e1ac5d41ace2a89827601669e8b573ef48.tar.xz |
Remove FDE_VISUALOBJ_Canvas
No code sets the visual object type of Canvas. Remove.
Change-Id: I213bf7bb93adbb08e949807f53a9e94579d59c1d
Reviewed-on: https://pdfium-review.googlesource.com/10614
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_visualsetiterator.cpp')
-rw-r--r-- | xfa/fde/cfde_visualsetiterator.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xfa/fde/cfde_visualsetiterator.cpp b/xfa/fde/cfde_visualsetiterator.cpp index 5fd84ede8a..d5b6b1bfe7 100644 --- a/xfa/fde/cfde_visualsetiterator.cpp +++ b/xfa/fde/cfde_visualsetiterator.cpp @@ -66,14 +66,6 @@ FDE_TEXTEDITPIECE* CFDE_VisualSetIterator::GetNext( ASSERT(pObj); FDE_VISUALOBJTYPE eType = pVisualSet->GetType(); - if (eType == FDE_VISUALOBJ_Canvas) { - FDE_CANVASITEM canvas; - canvas.hCanvas = pObj; - canvas.pCanvas = static_cast<CFDE_TxtEdtPage*>(pVisualSet); - canvas.pos = canvas.pCanvas->GetFirstPosition(); - m_CanvasStack.push(canvas); - break; - } uint32_t dwObj = (uint32_t)eType; if ((m_dwFilter & dwObj) != 0) { if (ppCanvasSet) |