> If we are going to use dynamic casting in core code I suggest that we do > that fully and remove our own implementation of that (asInsetCommand(), > asInsetMath(), etc)... >
Yes, ok. I hope you agree with my log message in http://www.lyx.org/trac/changeset/35855. I also found some unsafe static_casts leading to crashes. Vincent