Commit b799114d authored by Alexander.Trofimov's avatar Alexander.Trofimov

crash open file

parent 9c9640c4
......@@ -56,6 +56,7 @@ var editor;
this.fontRenderingMode = Asc.c_oAscFontRenderingModeType.hintingAndSubpixeling;
this.wb = null;
this.wbModel = null;
this.tmpLocale = null;
this.documentFormatSave = c_oAscFileType.XLSX;
......@@ -440,6 +441,9 @@ var editor;
this.tmpLocale = val;
return;
}
if (null === val) {
return;
}
AscCommon.setCurrentCultureInfo(val);
parserHelp.setDigitSeparator(AscCommon.g_oDefaultCultureInfo.NumberDecimalSeparator);
if (this.wbModel) {
......
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