]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.h
don't rm emergency saves ever
[lyx.git] / src / buffer.h
index 24bd723d3fc9b7f187ede32b9ffdc82282cb4292..c6a2cb8901e50c1fffdd4e708735c2d690200b12 100644 (file)
@@ -123,6 +123,8 @@ public:
                                 LyXFont const &, string const &);
        ///
        ParagraphList::iterator getParFromID(int id) const;
+       /// do we have a paragraph with this id?
+       bool hasParWithID(int id) const;
 
 public:
        /** Save file.
@@ -366,7 +368,7 @@ public:
                pointer operator->();
 
                ///
-               Paragraph * getPar();
+               ParagraphList::iterator getPar() const;
                ///
                lyx::pos_type getPos() const;
                ///