]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
fix warning
[lyx.git] / src / Paragraph.h
index c83ede5975788122307fe8715662ddde34b66bf9..6fdb27017765955175ae263450220195b476fe07 100644 (file)
@@ -89,6 +89,9 @@ public:
        Paragraph();
        ///
        Paragraph(Paragraph const &);
+       /// Partial copy constructor.
+       /// Copy the Paragraph contents from \p beg to \p end (without end).
+       Paragraph(Paragraph const & par, pos_type beg, pos_type end);
        ///
        Paragraph & operator=(Paragraph const &);
        ///
@@ -150,9 +153,9 @@ public:
        void makeSameLayout(Paragraph const & par);
 
        ///
-       void setInsetOwner(Inset * inset);
+       void setInsetOwner(Inset const * inset);
        ///
-       Inset * inInset() const;
+       Inset const & inInset() const;
        ///
        InsetCode ownerCode() const;
        ///
@@ -305,8 +308,6 @@ public:
        void insertInset(pos_type pos, Inset * inset,
                         Font const &, Change const & change);
        ///
-       bool insetAllowed(InsetCode code);
-       ///
        Inset * getInset(pos_type pos);
        ///
        Inset const * getInset(pos_type pos) const;
@@ -319,6 +320,8 @@ public:
 
        ///
        InsetList const & insetList() const;
+       ///
+       void setBuffer(Buffer &);
 
        ///
        bool isHfill(pos_type pos) const;