]> git.lyx.org Git - lyx.git/blobdiff - src/support/path.h
Fix small typos
[lyx.git] / src / support / path.h
index d2480670c3b5eebe6ffe93e83cc5c35dcdecffd0..ced3358c240c8c37a30606b858a3d2fbec733ef4 100644 (file)
@@ -5,7 +5,7 @@
 #include "LString.h"
 #include "filetools.h"
 #include "lyxlib.h"
-#include "utility.hpp"
+#include <boost/utility.hpp>
 
 #ifdef __GNUG__
 #pragma interface
@@ -21,7 +21,7 @@ public:
        {
                if (!path.empty()) { 
                        pushedDir_ = GetCWD();
-                       if (pushedDir_.empty() || lyx::chdir(path.c_str())) {
+                       if (pushedDir_.empty() || lyx::chdir(path)) {
                                // should throw an exception
                                // throw DirChangeError();
                                // The use of WriteFSAlert makes this