| 1264 | } |
| 1265 | |
| 1266 | bool ValidFirstLine(const GenericVector<RowScratchRegisters> *rows, |
| 1267 | int row, const ParagraphModel *model) { |
| 1268 | if (!StrongModel(model)) { |
| 1269 | tprintf("ValidFirstLine() should only be called with strong models!\n"); |
| 1270 | } |
| 1271 | return StrongModel(model) && |
| 1272 | model->ValidFirstLine( |
| 1273 | (*rows)[row].lmargin_, (*rows)[row].lindent_, |
| 1274 | (*rows)[row].rindent_, (*rows)[row].rmargin_); |
| 1275 | } |
| 1276 | |
| 1277 | bool ValidBodyLine(const GenericVector<RowScratchRegisters> *rows, |
| 1278 | int row, const ParagraphModel *model) { |
no test coverage detected