X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfloatlist.C;h=3cb79a2c25c2d32143ec42d82ea1d10f3f86f5b5;hb=7c0dad35b33c8f23f3d74d26f5689cc4d869c8b2;hp=63b0ba6bcf00580af63b7e2f0049ac571805aa0b;hpb=52153a589b4224d794de4f61f3f55b8d8832186f;p=lyx.git diff --git a/src/insets/insetfloatlist.C b/src/insets/insetfloatlist.C index 63b0ba6bcf..3cb79a2c25 100644 --- a/src/insets/insetfloatlist.C +++ b/src/insets/insetfloatlist.C @@ -10,6 +10,7 @@ #include "gettext.h" #include "debug.h" +using std::endl; string const InsetFloatList::getScreenLabel() const { @@ -22,19 +23,19 @@ string const InsetFloatList::getScreenLabel() const } -Inset::Code InsetFloatList::LyxCode() const +Inset::Code InsetFloatList::lyxCode() const { return Inset::FLOAT_LIST_CODE; } -void InsetFloatList::Write(Buffer const *, ostream & os) const +void InsetFloatList::write(Buffer const *, std::ostream & os) const { os << "FloatList " << float_type << "\n"; } -void InsetFloatList::Read(Buffer const *, LyXLex & lex) +void InsetFloatList::read(Buffer const *, LyXLex & lex) { string token; @@ -56,7 +57,7 @@ void InsetFloatList::Read(Buffer const *, LyXLex & lex) } -void InsetFloatList::Edit(BufferView *, int, int, unsigned int) +void InsetFloatList::edit(BufferView *, int, int, unsigned int) { #ifdef WITH_WARNINGS #warning Implement me please. @@ -67,7 +68,13 @@ void InsetFloatList::Edit(BufferView *, int, int, unsigned int) } -int InsetFloatList::Latex(Buffer const *, ostream & os, bool, bool) const +void InsetFloatList::edit(BufferView * bv, bool) +{ + edit(bv, 0, 0, 0); +} + + +int InsetFloatList::latex(Buffer const *, std::ostream & os, bool, bool) const { FloatList::const_iterator cit = floatList[float_type]; @@ -95,7 +102,7 @@ int InsetFloatList::Latex(Buffer const *, ostream & os, bool, bool) const } -int InsetFloatList::Ascii(Buffer const * buffer, std::ostream & os, int) const +int InsetFloatList::ascii(Buffer const * buffer, std::ostream & os, int) const { os << getScreenLabel() << "\n\n";