]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetnote.C
Make it compile when USE_BOOST_FORMAT is unset
[lyx.git] / src / insets / insetnote.C
index b060e919019d5065bdb5adbcac19c17b1c2e5d6a..f81d9b64b78b07617ceb1084ae61a5a8d5f49f38 100644 (file)
@@ -1,11 +1,11 @@
-/* This file is part of
- * ======================================================
+/**
+ * \file insetnote.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
+ * \author Angus Leeming
  *
- *          Copyright 1998 The LyX Team.
- *
- * ======================================================
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
@@ -77,7 +77,7 @@ InsetNote::InsetNote(Buffer const * buf, string const & contents,
                font.setLanguage(default_language);
 
        lyx::pos_type pos = 0;
-       buf->insertStringAsLines(par, pos, font, strip(contents, "\n"));
+       buf->insertStringAsLines(par, pos, font, rtrim(contents, "\n"));
 }