Commit d639e0a7 authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

fix: Bug 19868 - Некорректно ищется аргумент, заданный текстом для формулы VLOOKUP/HLOOKUP

неверно брался индекс столбца для поиска.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50457 954022d7-b5bf-4e40-9824-e11837661b57
parent acecacbb
......@@ -260,11 +260,11 @@ cFormulaFunction.LookupAndReference = {
if ( arg0 instanceof cString ) {
if ( cvType instanceof cString ){
if( valueForSearching.localeCompare( cvType.getValue() ) == 0 ){
resC = r;
resC = c;
found = true;
}
else if( valueForSearching.localeCompare( cvType.getValue() ) == 1 && !found ){
resC = r;
resC = c;
}
}
}
......
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