Commit c1c90c3c authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

delete unused code

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@53919 954022d7-b5bf-4e40-9824-e11837661b57
parent 1ab508fb
......@@ -5,23 +5,6 @@ g_fontManagerExcel.Initialize(true);
var oldPpi = undefined,
cvt = undefined;
var asc_round = function round(x) {
var y = x + (x >= 0 ? .5 : -.4);
return y | y;
//return Math.round(x);
};
var asc_floor = function floor(x) {
var y = x | x;
y -= x < 0 && y > x ? 1 : 0;
return y + (x - y > kLeftLim1 ? 1 : 0); // to fix float number precision caused by binary presentation
//return Math.floor(x);
};
var asc_typeof = function typeOf(obj) {
if (obj === undefined) {return kUndefinedL;}
if (obj === null) {return kNullL;}
return Object.prototype.toString.call(obj).slice(8, -1).toLowerCase();
};
function getCvtRatio(fromUnits, toUnits, ppi) {
if (ppi !== oldPpi || oldPpi === undefined) {
var _ppi = 1 / ppi,
......
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