]> git.lyx.org Git - lyx.git/commit
Cleanup MathMLStream
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 19 Jul 2024 12:57:58 +0000 (14:57 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 22 Jul 2024 18:53:29 +0000 (20:53 +0200)
commitfbd4b0a13fae4263cc88aa76bc4fbba5178b15fa
tree7379a4d9f2b4013208e4baadb3ca68de03e3466a
parentd7ba7bceb300c49ed1c3edb9b129810bb8a5160b
Cleanup MathMLStream

This is preparatory work for fixing ticket #13069.

Remove direct accesses to the underlying stream of MathMLStream in
InsetMathChar, InsetMathSpecialChar, and in all << operators other
than MathMLStream << docstring. This will allow to add a hook later in
this operator.

Move default values of MathMLStream private members to their definition.

Get rid of line_ member, which is not used.
src/mathed/InsetMathChar.cpp
src/mathed/InsetMathSpecialChar.cpp
src/mathed/MathStream.cpp
src/mathed/MathStream.h