implement isChar() in header like all other insets

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35368 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2010-09-14 12:39:33 +00:00
parent 2f1ac0b4fd
commit c4d00e85eb
2 changed files with 1 additions and 7 deletions

View 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;

View 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?