summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_visualsetiterator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fde/cfde_visualsetiterator.cpp')
-rw-r--r--xfa/fde/cfde_visualsetiterator.cpp8
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)