Skip to content

Commit 5153091

Browse files
committed
removed dead code
1 parent daf992e commit 5153091

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/folia_impl.cxx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)