]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetspecialchar.C
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / insetspecialchar.C
index 01784e6be1c2ef08e8463ae80cf0976438195af5..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,7 +180,8 @@ int InsetSpecialChar::latex(Buffer const &, ostream & os,
 }
 
 
-int InsetSpecialChar::ascii(Buffer const &, ostream & os, int) const
+int InsetSpecialChar::plaintext(Buffer const &, ostream & os,
+                           OutputParams const &) const
 {
        switch (kind_) {
        case HYPHENATION:
@@ -200,7 +201,8 @@ int InsetSpecialChar::ascii(Buffer const &, ostream & os, int) const
 }
 
 
-int InsetSpecialChar::linuxdoc(Buffer const &, ostream & os) const
+int InsetSpecialChar::linuxdoc(Buffer const &, ostream & os,
+                              OutputParams const &) const
 {
        switch (kind_) {
        case HYPHENATION:
@@ -220,7 +222,8 @@ int InsetSpecialChar::linuxdoc(Buffer const &, ostream & os) const
 }
 
 
-int InsetSpecialChar::docbook(Buffer const &, ostream & os, bool) const
+int InsetSpecialChar::docbook(Buffer const &, ostream & os,
+                             OutputParams const &) const
 {
        switch (kind_) {
        case HYPHENATION:
@@ -266,12 +269,6 @@ bool InsetSpecialChar::isLetter() const
 }
 
 
-bool InsetSpecialChar::isSpace() const
-{
-       return false;
-}
-
-
 bool InsetSpecialChar::isLineSeparator() const
 {
 #if 0