]> git.lyx.org Git - lyx.git/commitdiff
implement isChar() in header like all other insets
authorStephan Witt <switt@lyx.org>
Tue, 14 Sep 2010 12:39:33 +0000 (12:39 +0000)
committerStephan Witt <switt@lyx.org>
Tue, 14 Sep 2010 12:39:33 +0000 (12:39 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35368 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetSpecialChar.cpp
src/insets/InsetSpecialChar.h

index 469e82c1c6712bbcb69cb0adaac560add98b9336..91c13645b535af7e541e949f2c71748b8fce16b2 100644 (file)
@@ -333,12 +333,6 @@ void InsetSpecialChar::validate(LaTeXFeatures & features) const
 }
 
 
-bool InsetSpecialChar::isChar() const
-{
-       return true;
-}
-
-
 bool InsetSpecialChar::isLetter() const
 {
        return kind_ == HYPHENATION || kind_ == LIGATURE_BREAK;
index fe24dc8553197789df74c6c292f61775d80f1f5f..7fff625da0b2a9c8be97ac94dc84923c9a210179 100644 (file)
@@ -76,7 +76,7 @@ public:
        void validate(LaTeXFeatures &) const;
 
        // should this inset be handled like a normal charater
-       bool isChar() const;
+       bool isChar() const { return true; }
        /// is this equivalent to a letter?
        bool isLetter() const;
        // should we break lines after this inset?