X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraph.h;h=6fdb27017765955175ae263450220195b476fe07;hb=2f271f61bcd514da3ab5b44d2b7bf61e12ac0c44;hp=2e720d8aa6162817fff17b6d54b30f1c47c251e3;hpb=236460445a8c8f4314e4f134d4979caaab8dce5d;p=lyx.git diff --git a/src/Paragraph.h b/src/Paragraph.h index 2e720d8aa6..6fdb270177 100644 --- a/src/Paragraph.h +++ b/src/Paragraph.h @@ -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;