InsetHFill::InsetHFill()
- : InsetCommand(InsetCommandParams("hfill"), std::string())
+ : InsetCommand(InsetCommandParams(HFILL_CODE), std::string())
{}
+CommandInfo const * InsetHFill::findInfo(std::string const & /* cmdName */)
+{
+ static const char * const paramnames[] = {""};
+ static const CommandInfo info = {0, paramnames, 0};
+ return &info;
+}
+
+
Inset * InsetHFill::clone() const
{
return new InsetHFill;
}
-bool InsetHFill::metrics(MetricsInfo &, Dimension & dim) const
+void InsetHFill::metrics(MetricsInfo &, Dimension & dim) const
{
dim.wid = 3;
dim.asc = 3;
dim.des = 3;
- bool const changed = dim_ != dim;
- dim_ = dim;
- return changed;
}