]> git.lyx.org Git - features.git/blobdiff - src/support/os_cygwin.cpp
Implement on screen numbering for Subequation module
[features.git] / src / support / os_cygwin.cpp
index 64436f115aff943bf1a90eb0172c876c532b277e..0261e2c70d99f395fa5da387b3b0e49eeb061ff1 100644 (file)
@@ -342,7 +342,7 @@ string latex_path(string const & p)
 
        if (windows_style_tex_paths_ && FileName::isAbsolute(p)) {
                string dos_path = convert_path(p, PathStyle(windows));
-               LYXERR(Debug::LATEX, "<Path correction for LaTeX> ["
+               LYXERR(Debug::OUTFILE, "<Path correction for LaTeX> ["
                        << p << "]->>[" << dos_path << ']');
                return dos_path;
        }
@@ -364,23 +364,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;
-}
-
-
 // returns a string suitable to be passed to popen when
 // reading a pipe
 char const * popen_read_mode()