]> git.lyx.org Git - lyx.git/blobdiff - src/support/path.C
Make it possible to uses non-ascii labelstring, endlabelstring and
[lyx.git] / src / support / path.C
index 2d347118839be3863e573c4b484789a3cd8b4ff4..71ab4b6b87acdb8cba67f2f120d43e34f25862d7 100644 (file)
 // Needed to prevent the definition of the unnamed_Path macro in the header file.
 #define PATH_C
 
-#include "path.h"
-#include "lyxlib.h"
+#include "support/path.h"
+#include "support/lyxlib.h"
+
+
+using std::string;
+
 
 namespace lyx {
 namespace support {
@@ -24,8 +28,10 @@ Path::Path(string const & path)
 {
        if (!path.empty()) {
                pushedDir_ = getcwd();
-               if (pushedDir_.empty() || chdir(path))
-                       /* FIXME: throw */;
+
+               if (pushedDir_.empty() || chdir(path)) {
+                       /* FIXME: throw */
+               }
        } else {
                popped_ = true;
        }