]> git.lyx.org Git - features.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 02:45:56 +0000 (22:45 -0400)
(cherry picked from commit f15c4159aa9fa1c78b7b642e58edbff333292d5a)

src/insets/InsetSpecialChar.h

index a5761864d8ca1cce7d6461067312b98d7eb09574..ebdfb1a6e4f42754be5c731d5d19114d3744d41e 100644 (file)
@@ -78,6 +78,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; }