• Luboš Luňák's avatar
    do not keep incorrect calc values in the cache · 8af5cb78
    Luboš Luňák yazdı
    All these calls first entered the whole array into the cache and
    only then filled it up with values. If that failed, the values
    stayed in the cache and could be reused by something else.
    Testcase is sc/qa/.../linest.fods, where the error in X19 prevents
    caching of that column for the formula in AA24:AA28. Since currently
    ScFormulaCell::InterpretFormulaGroup() calls InterpretFormulaGroupOpenCL()
    twice, the first ScGroupTokenConverter::convert() call cached
    the incomplete column and then failed, and the second call simply reused
    the value. But this could presumably happen for multiple formulas using
    data in the same column as well, even without the double call.
    
    Change-Id: Iaa55671936fe61f72dfa35940db8deaf27d1c22d
    Reviewed-on: https://gerrit.libreoffice.org/57912
    Tested-by: Jenkins
    Reviewed-by: 's avatarLuboš Luňák <l.lunak@collabora.com>
    8af5cb78
formulagroup.hxx 4.68 KB