]> 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 3ba32488b753afe9ae297c649f7f572826e2a85d..b9be27578b7835d9ee2798557114dcf6c0365da1 100644 (file)
@@ -23,7 +23,8 @@
 
 #include "support/std_ostream.h"
 
-using lyx::docstring;
+
+namespace lyx {
 
 using std::string;
 using std::auto_ptr;
@@ -34,7 +35,7 @@ InsetFoot::InsetFoot(BufferParams const & bp)
        : InsetFootlike(bp)
 {
        setLabel(_("foot"));
-       setInsetName("Foot");
+       setInsetName(from_ascii("Foot"));
 }
 
 
@@ -42,7 +43,7 @@ InsetFoot::InsetFoot(InsetFoot const & in)
        : InsetFootlike(in)
 {
        setLabel(_("foot"));
-       setInsetName("Foot");
+       setInsetName(from_ascii("Foot"));
 }
 
 
@@ -58,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;
@@ -79,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>";
@@ -88,3 +89,6 @@ int InsetFoot::docbook(Buffer const & buf, ostream & os,
 
        return i;
 }
+
+
+} // namespace lyx