]> 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 e2c772522168a5c502210683cf30f4bfd91e39a1..84c00cfb1274310b7436dff087fd4ca537607a62 100644 (file)
@@ -19,8 +19,7 @@
 #include <Carbon/Carbon.h>
 #endif
 
-using std::string;
-
+using namespace std;
 
 namespace lyx {
 namespace support {
@@ -86,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";