]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_unix.cpp
Expand comment
[lyx.git] / src / support / os_unix.cpp
index 5a6c21fe63e72e98ca31e278e1c56ab3b8ba5d5f..34cfd478a61650ce9bcb0beec5a204886bd34dee 100644 (file)
@@ -193,23 +193,6 @@ string latex_path_list(string const & p)
 }
 
 
-bool is_valid_strftime(string const & p)
-{
-       string::size_type pos = p.find_first_of('%');
-       while (pos != string::npos) {
-               if (pos + 1 == string::npos)
-                       break;
-               if (!containsOnly(p.substr(pos + 1, 1),
-                       "aAbBcCdDeEFgGhHIjklmMnOpPrRsStTuUVwWxXyYzZ%+"))
-                       return false;
-               if (pos + 2 == string::npos)
-                     break;
-               pos = p.find_first_of('%', pos + 2);
-       }
-       return true;
-}
-
-
 char const * popen_read_mode()
 {
        return "r";