]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_unix.cpp
Replace the text class shared ptr by good old index-into-global-list.
[lyx.git] / src / support / os_unix.cpp
index f5e4c841028240bcb00d8b0ce558ede37bed3935..50701eaeb13b0c17539c2fc64f2bd50348949c24 100644 (file)
 #include <config.h>
 
 #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 {
@@ -85,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";