]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insethfill.C
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / insethfill.C
index 2fc778ced0a447ed55cc8045a7004c82e9e506a5..0e43c963f4876a1c3058caacc1bd579dcbb7ea57 100644 (file)
@@ -18,7 +18,7 @@ using std::ostream;
 
 
 InsetHFill::InsetHFill()
-       : InsetCommand(InsetCommandParams("hfill"))
+       : InsetCommand(InsetCommandParams("hfill"), std::string())
 {}
 
 
@@ -77,5 +77,11 @@ int InsetHFill::docbook(Buffer const &, std::ostream & os,
 
 void InsetHFill::write(Buffer const &, ostream & os) const
 {
-       os << "\n\\hfill \n";
+       os << "\n\\hfill\n";
+}
+
+
+bool InsetHFill::isSpace() const
+{
+       return true;
 }