]> git.lyx.org Git - features.git/blobdiff - src/support/os_unix.cpp
transfer os::is_absolute_path() to FileName::isAbsolute().
[features.git] / src / support / os_unix.cpp
index f5e4c841028240bcb00d8b0ce558ede37bed3935..84c00cfb1274310b7436dff087fd4ca537607a62 100644 (file)
 #include <config.h>
 
 #include "support/os.h"
+#include "support/docstring.h"
 
 #ifdef __APPLE__
 #include <Carbon/Carbon.h>
 #endif
 
-using std::string;
-
+using namespace std;
 
 namespace lyx {
 namespace support {
@@ -85,12 +85,6 @@ string latex_path(string const & p)
 }
 
 
-bool is_absolute_path(string const & p)
-{
-       return !p.empty() && p[0] == '/';
-}
-
-
 char const * popen_read_mode()
 {
        return "r";