]> git.lyx.org Git - features.git/blobdiff - src/Paragraph.cpp
rename LColor into Color
[features.git] / src / Paragraph.cpp
index 232515060eb9552a8dbb617dc194088729c88f6a..d661e6ea0ca747c2a86c69b72ac2b64d321842dd 100644 (file)
@@ -27,7 +27,7 @@
 #include "gettext.h"
 #include "Language.h"
 #include "LaTeXFeatures.h"
-#include "LColor.h"
+#include "Color.h"
 #include "LyXLength.h"
 #include "LyXFont.h"
 #include "LyXRC.h"
@@ -789,10 +789,6 @@ void Paragraph::Pimpl::simpleTeXSpecialChars(Buffer const & buf,
                        column += 15;
                        break;
 
-               // The following characters could be written literally in latin1, but they
-               // would be wrongly converted on systems where char is signed, so we give
-               // the code points.
-               // This also makes us independant from the encoding of this source file.
                case '|': case '<': case '>':
                        // In T1 encoding, these characters exist
                        if (lyxrc.fontenc == "T1") {
@@ -973,13 +969,13 @@ void Paragraph::Pimpl::validate(LaTeXFeatures & features,
                                             << endl;
                }
                switch (fcit->font().color()) {
-               case LColor::none:
-               case LColor::inherit:
-               case LColor::ignore:
+               case Color::none:
+               case Color::inherit:
+               case Color::ignore:
                        // probably we should put here all interface colors used for
                        // font displaying! For now I just add this ones I know of (Jug)
-               case LColor::latex:
-               case LColor::note:
+               case Color::latex:
+               case Color::note:
                        break;
                default:
                        features.require("color");