commit c92b1aa35960b9ccf84d6e44154d7cc09d65fe4e
Author: Richard Heck <[email protected]>
Date:   Thu Aug 4 21:09:32 2016 -0400

    Special characters should be output to the TOC.
    
    (cherry picked from commit f15c4159aa9fa1c78b7b642e58edbff333292d5a)
---
 src/insets/InsetSpecialChar.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/insets/InsetSpecialChar.h b/src/insets/InsetSpecialChar.h
index a576186..ebdfb1a 100644
--- a/src/insets/InsetSpecialChar.h
+++ b/src/insets/InsetSpecialChar.h
@@ -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; }

Reply via email to