X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Fmathml_editor%2Fsrc%2FTPushParser.cc;h=0c96fe43968c94be52a1fdcffac385012d683ebb;hb=97c2d258a5c524eb5c4b85208899d80751a2c82f;hp=1a477078503c6f489fb5093db7732aaf16ddf576;hpb=e02ad98d0f2aa460a049ab102619ea5b8231fcdc;p=helm.git diff --git a/helm/DEVEL/mathml_editor/src/TPushParser.cc b/helm/DEVEL/mathml_editor/src/TPushParser.cc index 1a4770785..0c96fe439 100644 --- a/helm/DEVEL/mathml_editor/src/TPushParser.cc +++ b/helm/DEVEL/mathml_editor/src/TPushParser.cc @@ -23,6 +23,8 @@ * or send an email to */ +#include + #include "ALogger.hh" #include "TPushParser.hh" #include "AMathMLFactory.hh" @@ -55,6 +57,7 @@ TPushParser::reset() { nextId = 1; if (cursor.parent()) cursor.remove(); + cursor["val"] = ""; doc.reset(); doc.root().append(cursor); if (factory && !frozen()) factory->documentModified(doc);