]> git.lyx.org Git - lyx.git/commit
Force a Buffer * argument to math insets constructor
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 24 Apr 2024 13:07:15 +0000 (15:07 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 24 Apr 2024 14:27:04 +0000 (16:27 +0200)
commitc013799887eb5c330f3cff4d51542028683fe1bb
tree547d7fe067168ebfc3cc2d7cb363e083e8cde9a6
parent57d713065545ac53a62a641d12a8b8c2c62c22fc
Force a Buffer * argument to math insets constructor

Make sure that math insets have a proper buffer. To this end, make the
Buffer* parameter of InsetMath mandatory and fix the compilation
errors that ensue.
36 files changed:
src/Cursor.cpp
src/mathed/InsetMath.h
src/mathed/InsetMathBig.cpp
src/mathed/InsetMathBig.h
src/mathed/InsetMathBrace.cpp
src/mathed/InsetMathBrace.h
src/mathed/InsetMathChar.cpp
src/mathed/InsetMathChar.h
src/mathed/InsetMathDots.cpp
src/mathed/InsetMathDots.h
src/mathed/InsetMathExInt.cpp
src/mathed/InsetMathGrid.cpp
src/mathed/InsetMathHull.cpp
src/mathed/InsetMathKern.cpp
src/mathed/InsetMathKern.h
src/mathed/InsetMathMacro.cpp
src/mathed/InsetMathMacroArgument.cpp
src/mathed/InsetMathMacroArgument.h
src/mathed/InsetMathMacroTemplate.cpp
src/mathed/InsetMathNest.cpp
src/mathed/InsetMathNumber.cpp
src/mathed/InsetMathNumber.h
src/mathed/InsetMathSpace.cpp
src/mathed/InsetMathSpace.h
src/mathed/InsetMathSpecialChar.cpp
src/mathed/InsetMathSpecialChar.h
src/mathed/InsetMathString.cpp
src/mathed/InsetMathString.h
src/mathed/InsetMathSymbol.cpp
src/mathed/InsetMathSymbol.h
src/mathed/InsetMathUnknown.cpp
src/mathed/InsetMathUnknown.h
src/mathed/MathData.cpp
src/mathed/MathExtern.cpp
src/mathed/MathFactory.cpp
src/mathed/MathParser.cpp