]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetHFill.cpp
Fix text frame drawing.
[lyx.git] / src / insets / InsetHFill.cpp
index 2c071f659fd2de70ade8e3183f408a65815d5620..9369f09735d2a03ce424f697d7bfaf77fba7b6e1 100644 (file)
 
 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;
 }
 
 
@@ -65,7 +63,7 @@ int InsetHFill::docbook(Buffer const &, odocstream & os,
 }
 
 
-void InsetHFill::write(Buffer const &, ostream & os) const
+void InsetHFill::write(Buffer const &, std::ostream & os) const
 {
        os << "\n\\hfill\n";
 }