]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfloatlist.C
fix typo that put too many include paths for most people
[lyx.git] / src / insets / insetfloatlist.C
index b51064490b5b1f910fc329fa6d60943d11dcadee..e40876460ef34a0686f9d84b3bc5e696f33a8b7f 100644 (file)
 #include "gettext.h"
 #include "debug.h"
 
+
+using std::ostream;
 using std::endl;
 
+
 InsetFloatList::InsetFloatList()
        : InsetCommand(InsetCommandParams())
 {
 }
 
+
 InsetFloatList::InsetFloatList(string const & type)
        : InsetCommand(InsetCommandParams())
 {
@@ -28,11 +31,11 @@ InsetFloatList::InsetFloatList(string const & type)
 }
 
 
-string const InsetFloatList::getScreenLabel(Buffer const *) const 
+string const InsetFloatList::getScreenLabel(Buffer const *) const
 {
        string const guiName = floatList[getCmdName()]->second.name();
        if (!guiName.empty()) {
-               string const res = guiName + _(" List");
+               string const res = _(guiName) + _(" List");
                return res;
        }
        return _("ERROR: Nonexistent float type!");
@@ -45,13 +48,13 @@ Inset::Code InsetFloatList::lyxCode() const
 }
 
 
-void InsetFloatList::write(Buffer const *, std::ostream & os) const
+void InsetFloatList::write(Buffer const *, ostream & os) const
 {
        os << "FloatList " << getCmdName() << "\n";
 }
 
 
-void InsetFloatList::read(Buffer const *, LyXLex & lex) 
+void InsetFloatList::read(Buffer const *, LyXLex & lex)
 {
        string token;
 
@@ -85,7 +88,7 @@ void InsetFloatList::edit(BufferView * bv, bool)
 }
 
 
-int InsetFloatList::latex(Buffer const *, std::ostream & os, bool, bool) const
+int InsetFloatList::latex(Buffer const *, ostream & os, bool, bool) const
 {
        FloatList::const_iterator cit = floatList[getCmdName()];
 
@@ -112,7 +115,7 @@ int InsetFloatList::latex(Buffer const *, std::ostream & os, bool, bool) const
 }
 
 
-int InsetFloatList::ascii(Buffer const * buffer, std::ostream & os, int) const
+int InsetFloatList::ascii(Buffer const * buffer, ostream & os, int) const
 {
        os << getScreenLabel(buffer) << "\n\n";