X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Frtf%2FParser.js;h=1a4590a9973006f630f74c0d8dee89267492ecfe;hp=6a3d7082f3a881c77caa9508f2e4ef9c96b4755a;hb=3818ab34627387a252c8450f8b34bbe7e153cafd;hpb=cb5e8fd6a6f6ead33b9f65a64d4af21c7d8b6672 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',