]> git.lyx.org Git - lyx.git/blobdiff - src/Text.cpp
small simplification
[lyx.git] / src / Text.cpp
index 6ca5d485dcbdedbb7d76f1d6df2ac7589c727cd0..fc99e1336ea205e784685372f505e799267e48df 100644 (file)
@@ -68,6 +68,7 @@
 #include "support/convert.h"
 
 #include <boost/current_function.hpp>
+#include <boost/next_prior.hpp>
 
 #include <sstream>
 
@@ -1141,7 +1142,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);