]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrc.C
fix reading the author field.
[lyx.git] / src / lyxrc.C
index f79b9e679c9d80731f3f570c2835ba62932cfad2..e78189949d8146c3be6e39c1c73c6d8751126fa4 100644 (file)
@@ -33,7 +33,6 @@
 
 #include "support/filetools.h"
 #include "support/lstrings.h"
-#include "support/translator.h"
 #include "support/tostr.h"
 #include "support/userinfo.h"
 
@@ -272,9 +271,6 @@ void LyXRC::setDefaults() {
        user_name = lyx::support::user_name();
 
        user_email = lyx::support::user_email();
-
-       if (user_email.empty())
-               user_email = _("email address unknown");
 }
 
 
@@ -787,9 +783,9 @@ int LyXRC::read(LyXLex & lexrc)
                                break;
                        }
 
-                       LColor::color const col = 
+                       LColor::color const col =
                                lcolor.getFromLyXName(lyx_name);
-                       if (col == LColor::none || 
+                       if (col == LColor::none ||
                            col == LColor::inherit ||
                            col == LColor::ignore)
                                break;