]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
fix warning
[lyx.git] / src / Paragraph.h
index 2e720d8aa6162817fff17b6d54b30f1c47c251e3..6fdb27017765955175ae263450220195b476fe07 100644 (file)
@@ -153,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;
        ///
@@ -308,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;