]> git.lyx.org Git - lyx.git/blobdiff - src/Color.cpp
Fix dialog handling of Insert Plain Text
[lyx.git] / src / Color.cpp
index 93f142399c4e9e956fc61731ea2af39ee8961e92..073eef92aaaa0a221f4abc72dd7ed3b225270239 100644 (file)
@@ -253,9 +253,8 @@ bool ColorSet::setColor(string const & lyxname, string const &x11name)
 {
        string const lcname = ascii_lowercase(lyxname);
        if (lyxcolors.find(lcname) == lyxcolors.end()) {
-               LYXERR(Debug::GUI)
-                       << "ColorSet::setColor: Unknown color \""
-                      << lyxname << '"' << endl;
+               LYXERR(Debug::GUI, "ColorSet::setColor: Unknown color \""
+                      << lyxname << '"');
                addColor(static_cast<ColorCode>(infotab.size()), lcname);
        }