Remove unused methods

They actually lead to the following warning:
../../stable/src/mathed/InsetMath.h:236:26: warning: ‘virtual lyx::HullType lyx::InsetMath::getType() const’ was hidden [-Woverloaded-virtual=]
  236 |         virtual HullType getType() const;
      |                          ^~~~~~~
In file included from ../../stable/src/insets/InsetLabel.cpp:36:
../../stable/src/mathed/InsetMathRef.h:65:20: note:   by ‘static int lyx::InsetMathRef::getType(const lyx::docstring&)’
   65 |         static int getType(docstring const & name);
      |                    ^~~~~~~

In master the removal of these methods occurred as part of cf07d482.
This commit is contained in:
Jean-Marc Lasgouttes 2023-11-08 16:41:04 +01:00
parent ebf09680da
commit b3332f032c
2 changed files with 3 additions and 4 deletions

View File

@ -62,10 +62,6 @@ public:
};
static ref_type_info types[];
///
static int getType(docstring const & name);
///
static docstring const & getName(int type);
///
docstring const getTarget() const;
///
InsetCode lyxCode() const { return MATH_REF_CODE; }

View File

@ -70,6 +70,9 @@ What's new
- Fix wrong computation of what is an obviously fake PID number.
- remove a pair of static methods that were unused and hid another
one.
* DOCUMENTATION AND LOCALIZATION