namespace lyx {
-using std::ostream;
-
InsetHFill::InsetHFill()
: InsetCommand(InsetCommandParams("hfill"), std::string())
{}
-std::auto_ptr<Inset> InsetHFill::doClone() const
+Inset * InsetHFill::clone() const
{
- return std::auto_ptr<Inset>(new InsetHFill);
+ return new InsetHFill;
}
int InsetHFill::plaintext(Buffer const &, odocstream & os,
- OutputParams const &) const
+ OutputParams const &) const
{
os << " ";
- return 5;
+ return 5;
}
}
-void InsetHFill::write(Buffer const &, ostream & os) const
+void InsetHFill::write(Buffer const &, std::ostream & os) const
{
os << "\n\\hfill\n";
}