#include <ostream>
+using namespace std;
+using namespace lyx::support;
namespace lyx {
-using support::bformat;
-
-using std::string;
-
InsetFloatList::InsetFloatList()
: InsetCommand(InsetCommandParams(FLOAT_LIST_CODE), "toc")
}
-CommandInfo const * InsetFloatList::findInfo(std::string const & /* cmdName */)
+CommandInfo const * InsetFloatList::findInfo(string const & /* cmdName */)
{
static const char * const paramnames[] = {"type", ""};
static const bool isoptional[] = {false};
//HACK
-bool InsetFloatList::isCompatibleCommand(std::string const & s)
+bool InsetFloatList::isCompatibleCommand(string const & s)
{
- std::string str = s.substr(0, 6);
+ string str = s.substr(0, 6);
return str == "listof";
}
}
-void InsetFloatList::write(Buffer const &, std::ostream & os) const
+void InsetFloatList::write(Buffer const &, ostream & os) const
{
os << "FloatList " << to_ascii(getParam("type")) << "\n";
}