]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.C
Fix bug 886 and others not reported related with the document paper size.
[lyx.git] / src / buffer.C
index d6c34394d0fac1fa1c032f6b4bc41a2cfd2a9228..89593a0b2b4dfc233c9ebd68625a22034e98a6d0 100644 (file)
@@ -498,7 +498,6 @@ void Buffer::insertStringAsLines(ParagraphList & pars,
 {
        LyXFont font = fn;
 
-       pars[pit].checkInsertChar(font);
        // insert the string, don't insert doublespace
        bool space_inserted = true;
        for (string::const_iterator cit = str.begin();
@@ -685,7 +684,6 @@ bool Buffer::readFile(LyXLex & lex, string const & filename, pit_type const pit)
        //lyxerr << "removing " << MacroTable::localMacros().size()
        //      << " temporary macro entries" << endl;
        //MacroTable::localMacros().clear();
-       params().setPaperStuff();
 
        pimpl_->file_fully_loaded = true;
        return true;