]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfoot.C
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / insetfoot.C
index 0876d9b8d919207c84d2e24657d64f91678fcac7..b9be27578b7835d9ee2798557114dcf6c0365da1 100644 (file)
@@ -23,7 +23,8 @@
 
 #include "support/std_ostream.h"
 
-using lyx::docstring;
+
+namespace lyx {
 
 using std::string;
 using std::auto_ptr;
@@ -33,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"));
 }
 
 
@@ -60,7 +59,7 @@ docstring const InsetFoot::editMessage() const
 }
 
 
-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 << "<footnote>";
@@ -90,3 +89,6 @@ int InsetFoot::docbook(Buffer const & buf, ostream & os,
 
        return i;
 }
+
+
+} // namespace lyx