]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetspecialchar.C
Make it compile when USE_BOOST_FORMAT is unset
[lyx.git] / src / insets / insetspecialchar.C
index 7dcbc23afce438745a765e2f59f92dfa57f579b6..ce473a29f2a4d72a1a5ccf9323e8c16ca44eddfb 100644 (file)
@@ -1,11 +1,14 @@
-/* This file is part of
- * ======================================================
+/**
+ * \file insetspecialchar.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
+ * \author Asger Alstrup Nielsen
+ * \author Jean-Marc Lasgouttes
+ * \author Lars Gullik Bjønnes
  *
- *         Copyright 1997 Asger Alstrup
- *
- * ====================================================== */
+ * Full author contact details are available in file CREDITS
+ */
 
 #include <config.h>
 
@@ -182,7 +185,6 @@ void InsetSpecialChar::write(Buffer const *, ostream & os) const
                command = "\\menuseparator";
                break;
        case PROTECTED_SEPARATOR:
-               //command = "\\protected_separator";
                command = "~";
                break;
        }
@@ -206,8 +208,7 @@ void InsetSpecialChar::read(Buffer const *, LyXLex & lex)
                kind_ = LDOTS;
        else if (command == "\\menuseparator")
                kind_ = MENU_SEPARATOR;
-       else if (command == "\\protected_separator"
-                || command == "~")
+       else if (command == "~")
                kind_ = PROTECTED_SEPARATOR;
        else
                lex.printError("InsetSpecialChar: Unknown kind: `$$Token'");