X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfoot.C;h=b9be27578b7835d9ee2798557114dcf6c0365da1;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=cacf06c352e229b49950fa27ae8bb07abe8a208d;hpb=43b77ba2d722cdb8a9437926f839c1dcbf3c0b89;p=lyx.git diff --git a/src/insets/insetfoot.C b/src/insets/insetfoot.C index cacf06c352..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; @@ -32,18 +34,16 @@ using std::ostream; InsetFoot::InsetFoot(BufferParams const & bp) : InsetFootlike(bp) { - // FIXME UNICODE - setLabel(lyx::to_utf8(_("foot"))); - setInsetName("Foot"); + setLabel(_("foot")); + setInsetName(from_ascii("Foot")); } InsetFoot::InsetFoot(InsetFoot const & in) : InsetFootlike(in) { - // FIXME UNICODE - setLabel(lyx::to_utf8(_("foot"))); - setInsetName("Foot"); + setLabel(_("foot")); + setInsetName(from_ascii("Foot")); } @@ -53,14 +53,13 @@ auto_ptr InsetFoot::doClone() const } -string const InsetFoot::editMessage() const +docstring const InsetFoot::editMessage() const { - // FIXME UNICODE - return lyx::to_utf8(_("Opened Footnote Inset")); + 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; @@ -81,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 << ""; @@ -90,3 +89,6 @@ int InsetFoot::docbook(Buffer const & buf, ostream & os, return i; } + + +} // namespace lyx