]> git.lyx.org Git - lyx.git/blobdiff - src/Text.cpp
Cosmetics.
[lyx.git] / src / Text.cpp
index 9fde15b3a2429dd00f17f65497d743693b14565f..31bc420673d83b99a6374a993b0a2bc4a59f6c9c 100644 (file)
@@ -521,7 +521,7 @@ void Text::insertChar(Cursor & cur, char_type c)
                        // adjacent character whose direction is the paragraph's
                        // direction; don't touch other properties of the font
                        Language const * lang = 
-                               (pre_space_rtl == par.isRightToLeftPar(buffer.params())) ?
+                               (pre_space_rtl == par.isRTL(buffer.params())) ?
                                pre_space_font.language() : post_space_font.language();
 
                        Font space_font = tm.getDisplayFont(cur.pit(), cur.pos() - 1);
@@ -1141,7 +1141,7 @@ bool Text::dissolveInset(Cursor & cur) {
                                        b.getLanguage());
                }
 
-               pasteParagraphList(cur, plist, b.params().getTextClass_ptr(),
+               pasteParagraphList(cur, plist, b.params().getTextClassPtr(),
                                   b.errorList("Paste"));
                // restore position
                cur.pit() = std::min(cur.lastpit(), spit);