]> 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 20:06:02 +0000 (22:06 +0200)
commit17bc6d05b327034c2034087978c2ebf9f8d9e469
tree8c31bfeaa3160b988b3a60f2773323d1367d71a6
parent2999061e38c5d28d24cdb194f5272a6cbc7baa06
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.

(cherry picked from commit fbd4b0a13fae4263cc88aa76bc4fbba5178b15fa)
src/mathed/InsetMathChar.cpp
src/mathed/InsetMathSpecialChar.cpp
src/mathed/MathStream.cpp
src/mathed/MathStream.h