This issue is based on https://bugs.documentfoundation.org/show_bug.cgi?id=123158#c16 run Sub test msgbox isNumeric(" ") End Sub it returns True while it should return False Reproduced in Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: c1af1b9c555480305862336954ceefe14865e27d CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded and Version: 6.0.0.0.alpha1+ Build ID: 6eeac3539ea4cac32d126c5e24141f262eb5a4d9 CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3; Locale: es-ES (es_ES.UTF-8); Calc: group threaded
FTR in MSO the same macro would return "False", so indeed this is a bug. In LO: isNumeric(" ") -> True (Wrong) isNumeric("") -> False (OK) I'd say the problem is in ImpScan (sbxscan.cxx), but I have to give it a closer look.