]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.h
"Inter-word Space"
[lyx.git] / src / buffer.h
index d90526879789da9f2335f31d87ad9df769ffb694..02de0cb72b39a469f2d28bce1b002eb1b7d9be05 100644 (file)
@@ -20,7 +20,6 @@
 #include "bufferparams.h"
 #include "texrow.h"
 #include "ParagraphList.h"
-#include "paragraph.h"
 #include "author.h"
 #include "iterators.h"
 
@@ -148,14 +147,12 @@ public:
        void makeLaTeXFile(string const & filename,
                           string const & original_path,
                           LatexRunParams const &,
-                          bool nice,
                           bool only_body = false,
                           bool only_preamble = false);
        ///
        void makeLaTeXFile(std::ostream & os,
                           string const & original_path,
                           LatexRunParams const &,
-                          bool nice,
                           bool only_body = false,
                           bool only_preamble = false);
        ///
@@ -401,7 +398,7 @@ public:
 
        ///
        inset_iterator inset_const_iterator_begin() const {
-               return inset_iterator(paragraphs.begin(), paragraphs.end());
+               return inset_iterator(const_cast<ParagraphList&>(paragraphs).begin(), const_cast<ParagraphList&>(paragraphs).end());
        }
 
        ///