| 179 | } |
| 180 | |
| 181 | bool ContractionState::GetExpanded(int lineDoc) const { |
| 182 | if (OneToOne()) { |
| 183 | return true; |
| 184 | } else { |
| 185 | Check(); |
| 186 | return expanded->ValueAt(lineDoc) == 1; |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | bool ContractionState::SetExpanded(int lineDoc, bool expanded_) { |
| 191 | if (OneToOne() && expanded_) { |
no test coverage detected