mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 15:01:58 +00:00
try to fix error shown by valgrind
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4780 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
07e56bf085
commit
01f9ad1e3b
@ -117,8 +117,8 @@ void InsetFormulaMacro::read(Buffer const *, LyXLex & lex)
|
||||
void InsetFormulaMacro::read(std::istream & is)
|
||||
{
|
||||
MathMacroTemplate * p = new MathMacroTemplate(is);
|
||||
MathMacroTable::create(MathAtom(p));
|
||||
setInsetName(p->name());
|
||||
MathMacroTable::create(MathAtom(p));
|
||||
metrics();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user