• Eike Rathke's avatar
    Do not force all string results to be recalculated if no style set · a014a9bc
    Eike Rathke yazdı
    Results are forced to recalculate for cells with General format in
    case they need to inherit a format that then can be set. However,
    a General format will never lead to some other format being set
    for any string results and almost all string result cells will
    have General format because the string is already what is being
    displayed. So for formula cells with a string result available do
    not allow to use ScFormulaCell::SetNeedNumberFormat() forcing the
    need to recalculate.
    
    This popped up during intercepting for tdf#118735 when the formula
    cell containing a WEBSERVICE() call is set dirty, through
    CompileXMLHandler::operator()(...)
    
        if (pCell->NeedsNumberFormat())
            pCell->SetDirtyVar();
    
    Which again, as WEBSERVICE() has to be recalculated to populate
    the link manager, made it necessary to add that to
    ScRecalcMode::ONLOAD_LENIENT (which it should already had been
    before (when that was ONLOAD), but no harm in this case).
    
    Change-Id: I0dc2cdfe35c56d9843f0edd24a6d14e3de79f7ef
    Reviewed-on: https://gerrit.libreoffice.org/57700Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
    Tested-by: Jenkins
    a014a9bc
Adı
Son kayıt (commit)
Son güncelleme
..
inc Loading commit data...
qa/unit Loading commit data...
source Loading commit data...
uiconfig/ui Loading commit data...
util Loading commit data...
AllLangMoTarget_for.mk Loading commit data...
CppunitTest_formula_dialogs_test.mk Loading commit data...
Library_for.mk Loading commit data...
Library_forui.mk Loading commit data...
Makefile Loading commit data...
Module_formula.mk Loading commit data...
README Loading commit data...
UIConfig_formula.mk Loading commit data...