]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_unix.cpp
Now that exceptions are allowed, handle gracefully the case where a Buffer temp direc...
[lyx.git] / src / support / os_unix.cpp
index e2c772522168a5c502210683cf30f4bfd91e39a1..50701eaeb13b0c17539c2fc64f2bd50348949c24 100644 (file)
 
 #include "support/os.h"
 #include "support/docstring.h"
+#include "support/FileName.h"
 
 #ifdef __APPLE__
 #include <Carbon/Carbon.h>
 #endif
 
-using std::string;
-
+using namespace std;
 
 namespace lyx {
 namespace support {
@@ -86,12 +86,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";