mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
@ -759,10 +759,13 @@ bool isColumn(const std::wstring& columnName, _UINT32 listIndex, _UINT16& indexC
|
||||
if(arrColumn != XLS::GlobalWorkbookInfo::mapTableColumnNames_static.end())
|
||||
{
|
||||
indexColumn = -1;
|
||||
auto unqotedName = columnName;
|
||||
if(!unqotedName.empty() && unqotedName.at(0) == '\'')
|
||||
unqotedName = unqotedName.substr(1, unqotedName.size() - 1);
|
||||
for (const auto& itemColumn : arrColumn->second)
|
||||
{
|
||||
++indexColumn;
|
||||
if (columnName == itemColumn)
|
||||
if (unqotedName == itemColumn)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user