]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathNest.cpp
Constify InsetMathNest::setMouseHover and remove the const_cast from BufferView.
[features.git] / src / mathed / InsetMathNest.cpp
index 25204bc91bcacc7bbdae76a78bfd8f5e951bf459..edbe99aea08ccdd904a642debc75f98a2688459e 100644 (file)
@@ -407,6 +407,7 @@ void InsetMathNest::latex(otexstream & os, OutputParams const & runparams) const
 
 
 bool InsetMathNest::setMouseHover(BufferView const * bv, bool mouse_hover)
+       const
 {
        mouse_hover_[bv] = mouse_hover;
        return true;