]> git.lyx.org Git - lyx.git/commitdiff
Special characters should be output to the TOC.
authorRichard Heck <rgheck@lyx.org>
Fri, 5 Aug 2016 01:09:32 +0000 (21:09 -0400)
committerRichard Heck <rgheck@lyx.org>
Fri, 5 Aug 2016 01:09:32 +0000 (21:09 -0400)
src/insets/InsetSpecialChar.h

index a57f9df89bca071dda54599f4ee572ffd5d3a58f..c37e49880b9ab7eae4f2e69779d5de771cc6c5fa 100644 (file)
@@ -80,6 +80,8 @@ public:
        ///
        void toString(odocstream &) const;
        ///
+       bool isInToc() const { return true; }   
+       ///
        void forOutliner(docstring &, size_t const, bool const) const;
        ///
        InsetCode lyxCode() const { return SPECIALCHAR_CODE; }