]> git.lyx.org Git - lyx.git/blobdiff - src/support/path.h
lyx-devel.diff
[lyx.git] / src / support / path.h
index 893b4bdc7176d5fc0b7a319b95ca582aa32e5aeb..9e8f67ba8e10c83ab21b587313724c8fc49541fd 100644 (file)
@@ -3,9 +3,9 @@
 #define PATH_H
 
 #include "LString.h"
-#include "filetools.h"
+//#include "filetools.h"
 #include "lyxlib.h"
-#include "utility.hpp"
+#include <boost/utility.hpp>
 
 #ifdef __GNUG__
 #pragma interface
@@ -20,7 +20,7 @@ public:
                : popped_(false)
        {
                if (!path.empty()) { 
-                       pushedDir_ = GetCWD();
+                       pushedDir_ = lyx::getcwd(); // GetCWD();
                        if (pushedDir_.empty() || lyx::chdir(path)) {
                                // should throw an exception
                                // throw DirChangeError();