]> git.lyx.org Git - lyx.git/blobdiff - src/support/userinfo.cpp
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / support / userinfo.cpp
index da86eb3355b96861dadaf0649ac8ef42197f983d..df8a3ac83ff1f3defc4b6aa0e6c04939a8d83871 100644 (file)
 #include "support/environment.h"
 #include "support/docstring.h"
 
-#include <boost/assert.hpp>
+#include "support/assert.h"
 
 #if defined (_WIN32)
-# include "gettext.h"
+# include "support/gettext.h"
 # include <windows.h>
 # include <lmcons.h>
 #else
@@ -30,7 +30,7 @@
 # include <sys/types.h>
 #endif
 
-using std::string;
+using namespace std;
 
 namespace lyx {
 namespace support {
@@ -46,7 +46,7 @@ docstring const user_name()
        return from_local8bit(name);
 #else
        struct passwd * pw = getpwuid(geteuid());
-       BOOST_ASSERT(pw);
+       LASSERT(pw, /**/);
 
        string name = pw->pw_gecos;
        if (name.empty())