X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFootlike.h;h=f4bcbdef19445eef05d42ee074a8dbb211cc4410;hb=131f4b92bac3ecb75b47c266dfa3d8543bd4d578;hp=75d9acf213c2892b71bdde45da70b88f5ea0ff27;hpb=4c9fe33c833fb7239a790acc847f45393983da2b;p=lyx.git diff --git a/src/insets/InsetFootlike.h b/src/insets/InsetFootlike.h index 75d9acf213..f4bcbdef19 100644 --- a/src/insets/InsetFootlike.h +++ b/src/insets/InsetFootlike.h @@ -12,7 +12,7 @@ #ifndef INSETFOOTLIKE_H #define INSETFOOTLIKE_H -#include "InsetCollapsable.h" +#include "InsetCollapsible.h" namespace lyx { @@ -20,10 +20,10 @@ namespace lyx { // To have this class is probably a bit overkill... (Lgb) // The footnote inset -class InsetFootlike : public InsetCollapsable { +class InsetFootlike : public InsetCollapsible { public: /// - InsetFootlike(Buffer const &); + InsetFootlike(Buffer *); /// bool hasSettings() const { return false; } private: @@ -35,10 +35,10 @@ private: void write(std::ostream & os) const; /// bool insetAllowed(InsetCode) const; - /** returns true if, when outputing LaTeX, font changes should + /** returns false if, when outputing LaTeX, font changes should be closed before generating this inset. This is needed for insets that may contain several paragraphs */ - bool noFontChange() const { return true; } + bool inheritFont() const { return false; } };