| 134 | } |
| 135 | |
| 136 | void Document::saveToFile(const std::string& filename) const |
| 137 | { |
| 138 | std::lock_guard<std::mutex> lock(_lock); |
| 139 | |
| 140 | std::ofstream fileStream(filename); |
| 141 | saveToStream(fileStream); |
| 142 | } |
| 143 | |
| 144 | std::string Document::saveToString() const |
| 145 | { |
no outgoing calls
no test coverage detected