| 1275 | } |
| 1276 | |
| 1277 | bool ValidBodyLine(const GenericVector<RowScratchRegisters> *rows, |
| 1278 | int row, const ParagraphModel *model) { |
| 1279 | if (!StrongModel(model)) { |
| 1280 | tprintf("ValidBodyLine() should only be called with strong models!\n"); |
| 1281 | } |
| 1282 | return StrongModel(model) && |
| 1283 | model->ValidBodyLine( |
| 1284 | (*rows)[row].lmargin_, (*rows)[row].lindent_, |
| 1285 | (*rows)[row].rindent_, (*rows)[row].rmargin_); |
| 1286 | } |
| 1287 | |
| 1288 | bool CrownCompatible(const GenericVector<RowScratchRegisters> *rows, |
| 1289 | int a, int b, const ParagraphModel *model) { |
no test coverage detected