X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFootlike.h;h=f16f355a963b09d44adee31689717c95065892c3;hb=d4550b7a4d64e9ff772cf3a7635cb4ca532fb340;hp=7a48f7d3f5cbff92cb16938792db350bebc7609a;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/insets/InsetFootlike.h b/src/insets/InsetFootlike.h index 7a48f7d3f5..f16f355a96 100644 --- a/src/insets/InsetFootlike.h +++ b/src/insets/InsetFootlike.h @@ -23,7 +23,9 @@ namespace lyx { class InsetFootlike : public InsetCollapsable { public: /// - InsetFootlike(Buffer const &); + InsetFootlike(Buffer *); + /// + bool hasSettings() const { return false; } private: /// void metrics(MetricsInfo &, Dimension &) const; @@ -33,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; } };