]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetText.cpp
move more functions from InsetCollapsable::getStatus to Text
[features.git] / src / insets / InsetText.cpp
index 709ae04b4f16b272f8df511466723dbd06fd00a3..e960e87347afbbda4abac8b00e088a0a061b7f90 100644 (file)
@@ -276,7 +276,7 @@ void InsetText::doDispatch(Cursor & cur, FuncRequest & cmd)
 
        // FIXME this use of forceLTR is dubious
        // introduced in http://www.lyx.org/trac/changeset/21285
-       if (getLayout().isForceLtr()) {
+       if (forceLTR()) {
                // Force any new text to latex_language FIXME: This
                // should only be necessary in constructor, but new
                // paragraphs that are created by pressing enter at