]> git.lyx.org Git - lyx.git/blobdiff - src/Font.cpp
Correct Right Arrow key processing in Modules list
[lyx.git] / src / Font.cpp
index a8c8275c944878538a5ea40f3cff5cad4907127d..327bc1821befb52e3a0a19c02e4afeb2b797ff51 100644 (file)
@@ -310,10 +310,6 @@ int Font::latexWriteStartChanges(otexstream & os, BufferParams const & bparams,
                        string const tmp =
                                subst(lyxrc.language_command_local,
                                      "$$lang", language()->babel());
-                       if (needs_cprotection && !prefixIs(tmp, "\\begin{")) {
-                               os << "\\cprotect";
-                               count += 9;
-                       }
                        os << from_ascii(tmp);
                        count += tmp.length();
                        if (!lyxrc.language_command_end.empty())