X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfoot.C;h=b9be27578b7835d9ee2798557114dcf6c0365da1;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=0ed4db0936ad0cca6a193579f68fcf816d5eb102;hpb=59413be9a0b999c17784d1abad01e55819ecd27a;p=lyx.git diff --git a/src/insets/insetfoot.C b/src/insets/insetfoot.C index 0ed4db0936..b9be27578b 100644 --- a/src/insets/insetfoot.C +++ b/src/insets/insetfoot.C @@ -24,6 +24,8 @@ #include "support/std_ostream.h" +namespace lyx { + using std::string; using std::auto_ptr; using std::ostream; @@ -33,7 +35,7 @@ InsetFoot::InsetFoot(BufferParams const & bp) : InsetFootlike(bp) { setLabel(_("foot")); - setInsetName("Foot"); + setInsetName(from_ascii("Foot")); } @@ -41,7 +43,7 @@ InsetFoot::InsetFoot(InsetFoot const & in) : InsetFootlike(in) { setLabel(_("foot")); - setInsetName("Foot"); + setInsetName(from_ascii("Foot")); } @@ -51,13 +53,13 @@ auto_ptr InsetFoot::doClone() const } -string const InsetFoot::editMessage() const +docstring const InsetFoot::editMessage() const { return _("Opened Footnote Inset"); } -int InsetFoot::latex(Buffer const & buf, ostream & os, +int InsetFoot::latex(Buffer const & buf, odocstream & os, OutputParams const & runparams_in) const { OutputParams runparams = runparams_in; @@ -78,7 +80,7 @@ int InsetFoot::latex(Buffer const & buf, ostream & os, } -int InsetFoot::docbook(Buffer const & buf, ostream & os, +int InsetFoot::docbook(Buffer const & buf, odocstream & os, OutputParams const & runparams) const { os << ""; @@ -87,3 +89,6 @@ int InsetFoot::docbook(Buffer const & buf, ostream & os, return i; } + + +} // namespace lyx