]> git.lyx.org Git - features.git/blobdiff - src/insets/insetspecialchar.C
make the graphics backround render ok + other stuff more changes than Id like at...
[features.git] / src / insets / insetspecialchar.C
index d0fd3296e9534a345cd60fb6d98ff1d4ee6488aa..fa28dcc865c7fbfb9d8a67b82a468f70025d2fac 100644 (file)
@@ -61,11 +61,6 @@ int InsetSpecialChar::width(Painter &, LyXFont const & font) const
        {
                return lyxfont::width(" x ", font);
        }
-#if 0
-       case NEWLINE:
-       {
-       }
-#endif
        case PROTECTED_SEPARATOR:
        {
                return lyxfont::width('x', font);
@@ -119,11 +114,6 @@ void InsetSpecialChar::draw(Painter & pain, LyXFont const & f,
                x += width(pain, font);
                break;
        }
-#if 0
-       case NEWLINE:
-       {
-       }
-#endif
        case PROTECTED_SEPARATOR:
        {
                float w = width(pain, font);
@@ -159,9 +149,6 @@ void InsetSpecialChar::Write(ostream & os) const
        case END_OF_SENTENCE:   command = "\\@.";       break;
        case LDOTS:             command = "\\ldots{}";  break;
        case MENU_SEPARATOR:    command = "\\menuseparator"; break;
-#if 0
-       case NEWLINE:           command = "\\newline";  break;
-#endif
        case PROTECTED_SEPARATOR:
                                command = "\\protected_separator";          break;
        }