| 304 | } |
| 305 | |
| 306 | static void delete_layers2 (lay::LayoutViewBase *view, unsigned int index, const std::vector<lay::LayerPropertiesConstIterator> &iters) |
| 307 | { |
| 308 | std::vector<lay::LayerPropertiesConstIterator> sorted (iters); |
| 309 | std::sort (sorted.begin (), sorted.end (), lay::CompareLayerIteratorBottomUp ()); |
| 310 | for (std::vector<lay::LayerPropertiesConstIterator>::iterator s = sorted.begin (); s != sorted.end (); ++s) { |
| 311 | view->delete_layer (index, *s); |
| 312 | } |
| 313 | } |
| 314 | |
| 315 | static void save_as1 (lay::LayoutViewBase *view, unsigned int index, const std::string &filename, const db::SaveLayoutOptions &options) |
| 316 | { |
nothing calls this directly
no test coverage detected