| 463 | } |
| 464 | |
| 465 | MapFormatPtr Map::getMapFormatForFilenameSafe(const std::string& filename) |
| 466 | { |
| 467 | auto candidate = GlobalMapFormatManager().getMapFormatForFilename(filename); |
| 468 | |
| 469 | // Fall back to the format of the current map if the selection is empty (#5808) |
| 470 | return candidate ? candidate : getFormat(); |
| 471 | } |
| 472 | |
| 473 | // free all map elements, reinitialize the structures that depend on them |
| 474 | void Map::freeMap() |
no test coverage detected