X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferEncodings.cpp;h=87000ac9c82402e7f24443f580926dc6c2340bf1;hb=e57889ff2f38ed8e804a7e3c7e62114e31bf7715;hp=d883990df1ef721fb2439086412b5607bc4ec790;hpb=2e23774c6c65376512b31ec8a5248242a68c20e3;p=lyx.git diff --git a/src/BufferEncodings.cpp b/src/BufferEncodings.cpp index d883990df1..87000ac9c8 100644 --- a/src/BufferEncodings.cpp +++ b/src/BufferEncodings.cpp @@ -58,7 +58,7 @@ void BufferEncodings::validate(char_type c, LaTeXFeatures & features, bool for_m CharInfo const & ci = Encodings::unicodeCharInfo(c); if (ci.isUnicodeSymbol()) { // In mathed, c could be used both in textmode and mathmode - docstring const textcommand = ci.textcommand; + docstring const textcommand = ci.textcommand(); bool const math_mode = for_mathed && isMathCmd(c); bool const use_math = math_mode || (!for_mathed && textcommand.empty()); @@ -71,7 +71,7 @@ void BufferEncodings::validate(char_type c, LaTeXFeatures & features, bool for_m // and if we do not use unicode-math if ((math_mode && !unicode_math) || (use_math && !plain_utf8)) { - string const mathpreamble = ci.mathpreamble; + string const mathpreamble = ci.mathpreamble(); if (!mathpreamble.empty()) { if (ci.mathfeature()) { string feats = mathpreamble; @@ -86,7 +86,7 @@ void BufferEncodings::validate(char_type c, LaTeXFeatures & features, bool for_m } // with utf8-plain, we do not load packages (see #7766) if (use_text && !plain_utf8) { - string const textpreamble = ci.textpreamble; + string const textpreamble = ci.textpreamble(); if (!textpreamble.empty()) { if (ci.textfeature()) { string feats = textpreamble;