mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 05:37:11 +00:00
Remove now unused routine.
(cherry picked from commit d6b4db1a4f85b15090d15afda0b9ec6c23d28e4c)
This commit is contained in:
parent
90d56cbb4a
commit
6bba2aa6a8
@ -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_;
|
||||
|
@ -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…
x
Reference in New Issue
Block a user