]> git.lyx.org Git - lyx.git/blobdiff - src/support/path.h
small changes read changelog
[lyx.git] / src / support / path.h
index ced3358c240c8c37a30606b858a3d2fbec733ef4..6081881062c7464f38861e3e88a2358cd976ac2c 100644 (file)
@@ -3,7 +3,7 @@
 #define PATH_H
 
 #include "LString.h"
-#include "filetools.h"
+//#include "filetools.h"
 #include "lyxlib.h"
 #include <boost/utility.hpp>
 
@@ -12,7 +12,7 @@
 #endif
 
 ///
-class Path : public noncopyable {
+class Path : boost::noncopyable {
 public:
        ///
        explicit
@@ -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();