Commit 6e5b9c36 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

убрал лишнюю проверку

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63955 954022d7-b5bf-4e40-9824-e11837661b57
parent d55627be
...@@ -6556,7 +6556,7 @@ ...@@ -6556,7 +6556,7 @@
cell_info.valign = c.getAlignVertical().toLowerCase(); cell_info.valign = c.getAlignVertical().toLowerCase();
var tablePartsOptions = this.autoFilters.searchRangeInTableParts(activeCell); var tablePartsOptions = this.autoFilters.searchRangeInTableParts(activeCell);
var curTablePart = tablePartsOptions !== -1 && tablePartsOptions !== -2 && this.model.TableParts && this.model.TableParts[tablePartsOptions].TableStyleInfo ? this.model.TableParts[tablePartsOptions] : null; var curTablePart = tablePartsOptions >= 0 ? this.model.TableParts[tablePartsOptions] : null;
cell_info.autoFilterInfo = new asc_CAutoFilterInfo(); cell_info.autoFilterInfo = new asc_CAutoFilterInfo();
cell_info.autoFilterInfo.tableStyleName = curTablePart ? curTablePart.TableStyleInfo.Name : null; cell_info.autoFilterInfo.tableStyleName = curTablePart ? curTablePart.TableStyleInfo.Name : null;
......
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