]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetHFill.cpp
Further cleanup of collapsable insets. The layouts are now properly read and applied.
[lyx.git] / src / insets / InsetHFill.cpp
index 476ffdb79b90c4ae1721674d3f3e18a7a183f63b..968c64223e0d81e43eb32b5f54b041a15e4fd87f 100644 (file)
@@ -20,10 +20,18 @@ namespace lyx {
 
 
 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;