]> git.lyx.org Git - lyx.git/blobdiff - src/support/userinfo.C
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / support / userinfo.C
index 17b8fc5c26703d30d25577e85a21a8b3ed202e69..24a84637df578bb0903e90bc97017f9c313bfd22 100644 (file)
 #include <pwd.h>
 #include <unistd.h>
 #include <sys/types.h>
+
 namespace lyx {
+namespace support {
 
 string const user_name()
 {
        struct passwd * pw(getpwuid(geteuid()));
-       lyx::Assert(pw);
+       Assert(pw);
+
        string name = pw->pw_gecos;
        if (name.empty())
                name = pw->pw_name;
        return name;
 }
+
 
 string const user_email()
 {
@@ -40,5 +41,5 @@ string const user_email()
        return email;
 }
 
-
+} // namespace support
 } // namespace lyx