]> git.lyx.org Git - features.git/blobdiff - src/Paragraph.cpp
\protect xymatrix in fragile context
[features.git] / src / Paragraph.cpp
index f09143a2b1fc8e8cdddf26e5216ac79596239641..369bda0d7e80e39e4cc47dc55276a3309071618d 100644 (file)
@@ -4125,9 +4125,7 @@ bool Paragraph::needsCProtection(bool const fragile) const
                if (!im || im->cell(0).empty())
                        continue;
                switch(im->cell(0)[0]->lyxCode()) {
-               case MATH_SUBSTACK_CODE:
                case MATH_ENV_CODE:
-               case MATH_XYMATRIX_CODE:
                        // these need cprotection
                        return true;
                default: