Commit b5cd0eb1 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov

minor

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48389 954022d7-b5bf-4e40-9824-e11837661b57
parent 613eedce
......@@ -1357,6 +1357,10 @@ function Workbook(sUrlPath, eventsHandlers, oApi){
this.dependencyFormulas = new DependencyGraph(this);
this.nActive = 0;
// Global counters
g_oIdCounter = new CIdCounter();
g_oTableId = new CTableId();
this.theme = GenerateDefaultTheme(this);
this.clrSchemeMap = GenerateDefaultColorMap();
......@@ -1390,10 +1394,6 @@ Workbook.prototype.initGlobalObjects=function(){
g_oUndoRedoDrawingLayer = new UndoRedoDrawingLayer(this);
g_oUndoRedoAutoFilters = new UndoRedoAutoFilters(this);
g_oUndoRedoGraphicObjects = new UndoRedoGraphicObjects(this);
// Global counters
g_oIdCounter = new CIdCounter();
g_oTableId = new CTableId();
}
Workbook.prototype.init=function(){
if(this.nActive < 0)
......
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