| 76 | } |
| 77 | |
| 78 | std::string PropertyFileIncluded::getDocTransientPath() const |
| 79 | { |
| 80 | std::string path; |
| 81 | PropertyContainer* co = getContainer(); |
| 82 | if (co->isDerivedFrom<DocumentObject>()) { |
| 83 | path = static_cast<DocumentObject*>(co)->getDocument()->TransientDir.getValue(); |
| 84 | std::replace(path.begin(), path.end(), '\\', '/'); |
| 85 | } |
| 86 | return path; |
| 87 | } |
| 88 | |
| 89 | std::string PropertyFileIncluded::getUniqueFileName(const std::string& path, |
| 90 | const std::string& filename) const |
nothing calls this directly
no test coverage detected