commit b3332f032ce5706d36b535772d1cf0e3ec8b85d6
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Wed Nov 8 16:41:04 2023 +0100

    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.
---
 src/mathed/InsetMathRef.h |    4 ----
 status.23x                |    3 +++
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/mathed/InsetMathRef.h b/src/mathed/InsetMathRef.h
index d1046d9..3209ac6 100644
--- a/src/mathed/InsetMathRef.h
+++ b/src/mathed/InsetMathRef.h
@@ -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; }
diff --git a/status.23x b/status.23x
index 74b4f04..2281bea 100644
--- a/status.23x
+++ b/status.23x
@@ -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
 
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to