https://bugs.documentfoundation.org/show_bug.cgi?id=115530

--- Comment #5 from Markus Mohrhard <markus.mohrh...@googlemail.com> ---
(In reply to Aron Budea from comment #4)
> It seems that when ScConditionEntry::StartListening() is called during XLSX
> import, the ranges aren't there yet.
> 
> My idea is that in the following function:
> void CondFormat::finalizeImport()
> https://opengrok.libreoffice.org/xref/core/sc/source/filter/oox/
> condformatbuffer.cxx#1052
> 
> ...move the following line:
> mpFormat->SetRange(maModel.maRanges);
> 
> ...so it precedes this one:
> maRules.forEachMem( &CondFormatRule::finalizeImport );
> 
> Based on a quick test that seems to fix the issue, but not sure if there's
> more to it.

I think it should fix all cases. XLSX does not allow some of the complicated
formulas that would require us to move the formula calculation after the
import.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to