]> git.lyx.org Git - lyx.git/blobdiff - src/support/Path.cpp
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / support / Path.cpp
index fbf48d8d1371568e5a8d019d48a5ff1d24bdc391..d6b048d7d2c4af9f071cd687babdaced5279e0ad 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -11,7 +11,6 @@
 #include <config.h>
 
 #include "support/Path.h"
-#include "support/lyxlib.h"
 
 // undef PathChanger macro when building PathChanger
 #undef PathChanger
@@ -24,7 +23,7 @@ PathChanger::PathChanger(FileName const & path)
        : popped_(false)
 {
        if (!path.empty()) {
-               pushedDir_ = getcwd();
+               pushedDir_ = FileName::getcwd();
 
                if (pushedDir_.empty() || !path.chdir()) {
                        /* FIXME: throw */