Commit 1e2b8d8e authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55749 954022d7-b5bf-4e40-9824-e11837661b57
parent e6e4416c
......@@ -384,4 +384,7 @@ CTextMeasurerWrapper.prototype["Init"] = CTextMeasurerWrapper.prototype.Init;
window["CreateTextMeasurerWrapper"] = function()
{
return new CTextMeasurerWrapper();
}
\ No newline at end of file
};
g_oTextMeasurer = window["CreateTextMeasurerWrapper"]();
g_oTextMeasurer.Init();
\ No newline at end of file
......@@ -250,9 +250,6 @@ function NativeOpenFile()
function NativeOpenFile2()
{
g_oTextMeasurer = window["CreateTextMeasurerWrapper"]();
g_oTextMeasurer.Init();
window.g_file_path = "native_open_file";
window.NATIVE_DOCUMENT_TYPE = window.native.GetEditorType();
var doc_bin = window.native.GetFileString(window.g_file_path);
......
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