Kaydet (Commit) 56e08957 authored tarafından Aron Budea's avatar Aron Budea Kaydeden (comit) Eike Rathke

for listeners the range needs to be set before the formula, tdf#115530

Change-Id: I001795fd456375c4babab2c2e505bedff03e991f
Reviewed-on: https://gerrit.libreoffice.org/49957Reviewed-by: 's avatarAron Budea <aron.budea@collabora.com>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
(cherry picked from commit 26b51c95)
Reviewed-on: https://gerrit.libreoffice.org/50016Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
üst 4a412bdf
......@@ -1055,12 +1055,12 @@ void CondFormat::finalizeImport()
if ( !mbReadyForFinalize )
return;
ScDocument& rDoc = getScDocument();
mpFormat->SetRange(maModel.maRanges);
maRules.forEachMem( &CondFormatRule::finalizeImport );
SCTAB nTab = maModel.maRanges.GetTopLeftCorner().Tab();
sal_Int32 nIndex = getScDocument().AddCondFormat(mpFormat, nTab);
rDoc.AddCondFormatData( maModel.maRanges, nTab, nIndex );
mpFormat->SetRange(maModel.maRanges);
}
CondFormatRuleRef CondFormat::createRule()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment