X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetMarginal.h;h=db0f6db0239d15cdf9543f29088a916dc77a1563;hb=c0adb03a7ae15cf6409ee3cb64f4cc91c24c052e;hp=237beeeef8550542e9f519de44d9a82d8c7491ed;hpb=d5a5fbb8ee87d4a8ae1c55f9ba72819251bb6fb7;p=lyx.git diff --git a/src/insets/InsetMarginal.h b/src/insets/InsetMarginal.h index 237beeeef8..db0f6db023 100644 --- a/src/insets/InsetMarginal.h +++ b/src/insets/InsetMarginal.h @@ -25,7 +25,7 @@ namespace lyx { class InsetMarginal : public InsetFootlike { public: /// - InsetMarginal(Buffer *); + explicit InsetMarginal(Buffer *); /// InsetCode lyxCode() const { return MARGIN_CODE; } /// @@ -35,9 +35,8 @@ public: size_t max_length = INT_MAX) const; /// int docbook(odocstream &, OutputParams const & runparams) const; - /// - void addToToc(DocIterator const & di, bool output_active, - UpdateType utype) const; + /// Is the content of this inset part of the immediate (visible) text sequence? + bool isPartOfTextSequence() const { return false; } private: /// Inset * clone() const { return new InsetMarginal(*this); }