diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-10-03 17:17:41 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-10-03 18:26:30 +0200 |
commit | 70216212dac0643b601d005386f0fd37fc19834a (patch) | |
tree | fc33da2dd192b9c75a79b7cd46dc5daf786609d7 /sc/source/ui | |
parent | 563fa900ba22bf83dfa58e67807ed0337f810576 (diff) |
changing conditional formats invalids the stream
Change-Id: I5d0137ebfa53cfbe37f7ad33c3400e75e2e3a05a
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/docshell/docfunc.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index f44fcd5f76aa..41fdfe6cccec 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -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)); |