Remove now unused routine.

(cherry picked from commit d6b4db1a4f85b15090d15afda0b9ec6c23d28e4c)
This commit is contained in:
Richard Kimberly Heck 2019-01-06 17:50:14 -05:00
parent 90d56cbb4a
commit 6bba2aa6a8
2 changed files with 0 additions and 11 deletions

View File

@ -483,15 +483,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 &);