]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
Let paragraph::requestSpellcheck() consider contained insets
[lyx.git] / src / support / filetools.h
index 84b2378572694e92f6781976d9a15d61984e1077..404dec210f591a41a5b039d1d586132d04040c08 100644 (file)
@@ -354,6 +354,10 @@ void fileUnlock(int fd, const char * lock_file);
  */
 std::string toHexHash(const std::string & str);
 
+/// Replace non-ASCII characters to ensure that the string can be used as a
+/// file name on all platforms and as a LaTeX name.
+std::string sanitizeFileName(const std::string & str);
+
 } // namespace support
 } // namespace lyx