diff options
author | Balazs Varga <balazs.varga.extern@allotropia.de> | 2024-11-05 09:41:16 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-11-06 20:01:34 +0100 |
commit | 72b027af1148ef57ee3c167f5a9e768831b61d43 (patch) | |
tree | 8b78ed9efe571570faf53055312f93d5857b4ef2 /idl | |
parent | 7dcfb8417f82be1fb496702afb4d0f54cb74839f (diff) |
Related: tdf#163736 - sc: Fix wrong nSearchMode (0) in vlookup
For VLOOKUP nSearchMode was 0. So static_cast<SearchMode>(nSearchMode)
casts to a value which does not exist in SearchMode enum. That gives an
"undefined behavior". Better to use the valid default forward search. (1)
Change-Id: I1757b43073e13638704b96c4a9d036cb9a21e470
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176043
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Tested-by: Jenkins
(cherry picked from commit e0521498bcde9235ae5b20b4a83a1c37fb91574d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176062
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'idl')
0 files changed, 0 insertions, 0 deletions