Commit 312cab08 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Поправил баг http://bugzserver/show_bug.cgi?id=25355

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57452 954022d7-b5bf-4e40-9824-e11837661b57
parent 6b77a2a8
...@@ -79,11 +79,11 @@ ...@@ -79,11 +79,11 @@
} }
charProperties.prototype.clone = function () { charProperties.prototype.clone = function () {
var oRes = new charProperties(); var oRes = new charProperties();
oRes.c = (undefined !== this.c) ? this.c.clone() : null; oRes.c = (undefined !== this.c) ? this.c.clone() : undefined;
oRes.lm = (undefined !== this.lm) ? this.lm.clone() : null; oRes.lm = (undefined !== this.lm) ? this.lm.clone() : undefined;
oRes.fm = (undefined !== this.fm) ? this.fm.clone() : null; oRes.fm = (undefined !== this.fm) ? this.fm.clone() : undefined;
oRes.fsz = (undefined !== this.fsz) ? this.fsz.clone() : null; oRes.fsz = (undefined !== this.fsz) ? this.fsz.clone() : undefined;
oRes.font = (undefined !== this.font) ? this.font.clone() : null; oRes.font = (undefined !== this.font) ? this.font.clone() : undefined;
oRes.va = this.va; oRes.va = this.va;
oRes.nl = this.nl; oRes.nl = this.nl;
oRes.hp = this.hp; oRes.hp = this.hp;
...@@ -627,7 +627,7 @@ ...@@ -627,7 +627,7 @@
/** /**
* @param {Boolean} dontCalcRepeatChars * @param {Boolean} dontCalcRepeatChars
* @return {TextMetrics} * @return {asc_TM}
*/ */
StringRender.prototype._calcTextMetrics = function (dontCalcRepeatChars) { StringRender.prototype._calcTextMetrics = function (dontCalcRepeatChars) {
var self = this, i, p, p_, lm, beg; var self = this, i, p, p_, lm, beg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment