]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfloatlist.C
* BufferParams:
[lyx.git] / src / insets / insetfloatlist.C
index 6d11d93aa0b04536dff1d1ac6322ef0f12bc5ec1..057cd1bda7de3e066437cbbc770476e50b15177c 100644 (file)
@@ -99,7 +99,7 @@ void InsetFloatList::read(Buffer const & buf, LyXLex & lex)
 
 
 int InsetFloatList::latex(Buffer const & buf, odocstream & os,
-                         OutputParams const &) const
+                          OutputParams const &) const
 {
        FloatList const & floats = buf.params().getLyXTextClass().floats();
        FloatList::const_iterator cit = floats[to_ascii(getParam("type"))];
@@ -135,8 +135,7 @@ int InsetFloatList::plaintext(Buffer const & buffer, odocstream & os,
 
        buffer.tocBackend().writePlaintextTocList(to_ascii(getParam("type")), os);
 
-       os << "\n";
-       return 0;
+       return PLAINTEXT_NEWLINE;
 }