X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Frtf%2FParser.js;fp=Roo%2Frtf%2FParser.js;h=1a4590a9973006f630f74c0d8dee89267492ecfe;hp=6a3d7082f3a881c77caa9508f2e4ef9c96b4755a;hb=47c96bffe20aebba2f6d3d95a6428931e0b3a2da;hpb=fc82bff3902f6b9018e9efb96c6ea168fb4f5d7a diff --git a/Roo/rtf/Parser.js b/Roo/rtf/Parser.js index 6a3d7082f3..1a4590a997 100644 --- a/Roo/rtf/Parser.js +++ b/Roo/rtf/Parser.js @@ -173,7 +173,7 @@ Roo.rtf.Parser.prototype = { this.hexStore.push(cmd); }, cmderror : function(cmd) { - throw new Exception (cmd.value); + throw cmd.value; }, /* @@ -303,7 +303,8 @@ Roo.rtf.Parser.prototype = { { this.emitText(); if (this.controlWord === '') { - this.emitError('empty control word'); + // do we want to track this - it seems just to cause problems. + //this.emitError('empty control word'); } else { this.push({ type: 'controlword',