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