X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFootlike.cpp;h=08cc220374d1f51ab3904aff34a78e4b9d41d0ee;hb=4a1be58591ea5a7431d9426abb27d8b946c634cb;hp=c0647b0824f99b6bafcbabc9ef4c1f0f9d137df1;hpb=a8cd9a4b8fd325b00c75f601c66c6d618ba276db;p=lyx.git diff --git a/src/insets/InsetFootlike.cpp b/src/insets/InsetFootlike.cpp index c0647b0824..08cc220374 100644 --- a/src/insets/InsetFootlike.cpp +++ b/src/insets/InsetFootlike.cpp @@ -19,16 +19,13 @@ #include -namespace lyx { - +using namespace std; -InsetFootlike::InsetFootlike(BufferParams const & bp) - : InsetCollapsable(bp) -{} +namespace lyx { -InsetFootlike::InsetFootlike(InsetFootlike const & in) - : InsetCollapsable(in) +InsetFootlike::InsetFootlike(Buffer const & buf) + : InsetCollapsable(buf) {} @@ -50,10 +47,10 @@ void InsetFootlike::draw(PainterInfo & pi, int x, int y) const } -void InsetFootlike::write(Buffer const & buf, std::ostream & os) const +void InsetFootlike::write(ostream & os) const { os << to_utf8(name()) << "\n"; - InsetCollapsable::write(buf, os); + InsetCollapsable::write(os); }