]> git.lyx.org Git - lyx.git/blobdiff - src/support/path.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / support / path.h
index 55b7c2bdb7a37f1364057c3fda1b848528fcfba5..1e71fbad88edb496dc57e9cc42672b8f11f9be12 100644 (file)
@@ -16,6 +16,9 @@
 #include "lyxlib.h"
 #include <boost/utility.hpp>
 
+namespace lyx {
+namespace support {
+
 /**
  * Path - utility closs for stackable working directories
  *
@@ -37,8 +40,8 @@ public:
                : popped_(false)
        {
                if (!path.empty()) {
-                       pushedDir_ = lyx::getcwd();
-                       if (pushedDir_.empty() || lyx::chdir(path))
+                       pushedDir_ = getcwd();
+                       if (pushedDir_.empty() || chdir(path))
                                /* FIXME: throw */;
                } else {
                        popped_ = true;
@@ -68,4 +71,7 @@ private:
 #define Path(x) unnamed_Path;
 // Tip gotten from Bobby Schmidt's column in C/C++ Users Journal
 
+} // namespace support
+} // namespace lyx
+
 #endif // PATH_H