X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FFont.cpp;h=0ca4080db3e52da5a0ccc94424e2035314a6252c;hb=0c7bd9a57f2a308bb9659200eda3b7e45f8d5d3c;hp=34c5c0b508a230c6933bb09c41d755edfe70e645;hpb=e35bb3126a70384544b315771288db116f894926;p=lyx.git diff --git a/src/Font.cpp b/src/Font.cpp index 34c5c0b508..0ca4080db3 100644 --- a/src/Font.cpp +++ b/src/Font.cpp @@ -25,6 +25,7 @@ #include "LyXRC.h" #include "output_latex.h" #include "OutputParams.h" +#include "texstream.h" #include "support/lassert.h" #include "support/convert.h" @@ -707,6 +708,7 @@ void Font::validate(LaTeXFeatures & features) const case Color_teal: case Color_violet: features.require("xcolor"); + break; default: features.require("color"); LYXERR(Debug::LATEX, "Color enabled. Font: " << to_utf8(stateText(0)));