diff options
Diffstat (limited to 'dw/iterator.cc')
-rw-r--r-- | dw/iterator.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dw/iterator.cc b/dw/iterator.cc index d42bdae3..b6fde502 100644 --- a/dw/iterator.cc +++ b/dw/iterator.cc @@ -655,12 +655,8 @@ CharIterator::CharIterator () */ CharIterator::CharIterator (Widget *widget, bool followReferences) { - Content::Type widgetMask = (Content::Type) - (Content::WIDGET_IN_FLOW | - (followReferences ? Content::WIDGET_OOF_REF : Content::WIDGET_OOF_CONT)); Iterator *i = - widget->iterator ((Content::Type) - (Content::SELECTION_CONTENT | widgetMask), false); + widget->iterator (Content::maskForSelection (followReferences), false); it = new DeepIterator (i); i->unref (); ch = START; |