mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Remove now unused routine.
This commit is contained in:
parent
c4fdab6993
commit
d6b4db1a4f
@ -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_;
|
||||
|
@ -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 &);
|
||||
|
Loading…
Reference in New Issue
Block a user