Remove now unused routine.

This commit is contained in:
Richard Kimberly Heck 2019-01-06 17:50:14 -05:00
parent c4fdab6993
commit d6b4db1a4f
2 changed files with 0 additions and 11 deletions

View File

@ -485,15 +485,6 @@ InsetRef::type_info const InsetRef::types[] = {
};
int InsetRef::getType(string const & name)
{
for (int i = 0; !types[i].latex_name.empty(); ++i)
if (name == types[i].latex_name)
return i;
return 0;
}
docstring InsetRef::getTOCString() const
{
return tooltip_.empty() ? screenLabel() : tooltip_;

View File

@ -29,8 +29,6 @@ public:
std::string short_gui_name;
};
static const type_info types[];
///
static int getType(std::string const & name);
///
InsetRef(Buffer * buffer, InsetCommandParams const &);