File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1715,7 +1715,6 @@ namespace folia {
17151715 cerr << " DEBUG: BEGIN check_text_consistency_while_parsing("
17161716 << trim_spaces << " )" << endl;
17171717 }
1718- // map<string,bool> text_found;
17191718 // check the text for every possible text class
17201719 for ( const auto & st : doc ()->textclasses () ){
17211720 UnicodeString s1, s2;
@@ -1732,7 +1731,6 @@ namespace folia {
17321731 catch (...){
17331732 }
17341733 if ( !s1.isEmpty () ){
1735- // text_found[st] = true;
17361734 if ( debug ){
17371735 cerr << " S1: " << s1 << endl;
17381736 }
@@ -1795,11 +1793,6 @@ namespace folia {
17951793 }
17961794 }
17971795 }
1798- // else {
1799- // auto is_text_node = []( auto elt ){ return elt->element_id() == XmlText_t; };
1800- // text_found[st] = std::any_of( _data.begin(), _data.end(),
1801- // is_text_node );
1802- // }
18031796 }
18041797 if ( element_id () == TextContent_t ){
18051798 // we have to check for at least one XmlText or TEXTCONTAINER child
You can’t perform that action at this time.
0 commit comments