Kaydet (Commit) 70216212 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

changing conditional formats invalids the stream

Change-Id: I5d0137ebfa53cfbe37f7ad33c3400e75e2e3a05a
üst 563fa900
......@@ -5069,6 +5069,7 @@ void ScDocFunc::ReplaceConditionalFormat( sal_uLong nOldFormat, ScConditionalFor
if(nOldFormat)
{
pDoc->DeleteConditionalFormat(nOldFormat, nTab);
pDoc->SetStreamValid(nTab, false);
}
if(pFormat)
{
......@@ -5082,6 +5083,7 @@ void ScDocFunc::ReplaceConditionalFormat( sal_uLong nOldFormat, ScConditionalFor
size_t n = rRanges.size();
for(size_t i = 0; i < n; ++i)
pFormat->DoRepaint(rRanges[i]);
pDoc->SetStreamValid(nTab, false);
}
aModificator.SetDocumentModified();
SFX_APP()->Broadcast(SfxSimpleHint(SC_HINT_AREAS_CHANGED));
......
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