X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetMarginal.h;h=db0f6db0239d15cdf9543f29088a916dc77a1563;hb=c0adb03a7ae15cf6409ee3cb64f4cc91c24c052e;hp=38e1a9c50a067590c3f53ebfe10c726acb9cda7c;hpb=86994bf75320524ec656fd70950633c83d445a6c;p=lyx.git diff --git a/src/insets/InsetMarginal.h b/src/insets/InsetMarginal.h index 38e1a9c50a..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,8 +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) 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); }