]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTOC.cpp
pimpl not needed here
[lyx.git] / src / insets / InsetTOC.cpp
index d561a76b7fa7d23588b91a454467951792e9f1ce..9f91c06f192e24e04d629791c06caf2c4d7a7abe 100644 (file)
@@ -34,6 +34,15 @@ InsetTOC::InsetTOC(InsetCommandParams const & p)
 {}
 
 
+CommandInfo const * InsetTOC::findInfo(std::string const & /* cmdName */)
+{
+       static const char * const paramnames[] = {"type", ""};
+       static const bool isoptional[] = {false};
+       static const CommandInfo info = {1, paramnames, isoptional};
+       return &info;
+}
+
+
 Inset * InsetTOC::clone() const
 {
        return new InsetTOC(*this);