]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetspecialchar.C
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / insetspecialchar.C
index da11a2350fc6fcf9d2800b04531dd24fceb0779e..c9ea76abe57ac075718fedc1e171cd0802afc1be 100644 (file)
@@ -138,7 +138,7 @@ void InsetSpecialChar::write(Buffer const &, ostream & os) const
 // This function will not be necessary when lyx3
 void InsetSpecialChar::read(Buffer const &, LyXLex & lex)
 {
-       lex.nextToken();
+       lex.next();
        string const command = lex.getString();
 
        if (command == "\\-")
@@ -157,7 +157,7 @@ void InsetSpecialChar::read(Buffer const &, LyXLex & lex)
 
 
 int InsetSpecialChar::latex(Buffer const &, ostream & os,
-                           LatexRunParams const &) const
+                           OutputParams const &) const
 {
        switch (kind_) {
        case HYPHENATION:
@@ -180,8 +180,8 @@ int InsetSpecialChar::latex(Buffer const &, ostream & os,
 }
 
 
-int InsetSpecialChar::ascii(Buffer const &, ostream & os,
-                           LatexRunParams const &) const
+int InsetSpecialChar::plaintext(Buffer const &, ostream & os,
+                           OutputParams const &) const
 {
        switch (kind_) {
        case HYPHENATION:
@@ -202,7 +202,7 @@ int InsetSpecialChar::ascii(Buffer const &, ostream & os,
 
 
 int InsetSpecialChar::linuxdoc(Buffer const &, ostream & os,
-                              LatexRunParams const &) const
+                              OutputParams const &) const
 {
        switch (kind_) {
        case HYPHENATION:
@@ -223,7 +223,7 @@ int InsetSpecialChar::linuxdoc(Buffer const &, ostream & os,
 
 
 int InsetSpecialChar::docbook(Buffer const &, ostream & os,
-                             LatexRunParams const &) const
+                             OutputParams const &) const
 {
        switch (kind_) {
        case HYPHENATION:
@@ -269,12 +269,6 @@ bool InsetSpecialChar::isLetter() const
 }
 
 
-bool InsetSpecialChar::isSpace() const
-{
-       return false;
-}
-
-
 bool InsetSpecialChar::isLineSeparator() const
 {
 #if 0