| 145 | } |
| 146 | |
| 147 | static bool cv_is_cell_hidden (lay::CellViewRef *cv, const db::Cell *cell) |
| 148 | { |
| 149 | if (cv->is_valid () && cell) { |
| 150 | if (cell->layout () != &(*cv)->layout ()) { |
| 151 | throw tl::Exception (tl::to_string (tr ("The cell is not a cell of the view's layout"))); |
| 152 | } |
| 153 | return cv->view ()->is_cell_hidden (cell->cell_index (), cv->index ()); |
| 154 | } else { |
| 155 | return false; |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | static void cv_hide_cell (lay::CellViewRef *cv, const db::Cell *cell) |
| 160 | { |
nothing calls this directly
no test coverage detected