diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-04-10 15:48:31 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-04-10 15:50:02 +0200 |
commit | a04448dd7aaadc97542ad67ec19d5cb35fe532e0 (patch) | |
tree | d29586477d3db8ef61ad55939554f93943ac7420 | |
parent | 3f16751ea2b2356f0d1c2b3a4fd93de9c71438b0 (diff) |
fdo#82014: Repaint & set the document to modified after condformat change.private/kendy/condformat-fdo82014
Change-Id: Ife3e805b95bede7be5d436abab925b35e717ee5e
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 88a8a43fb5d0..7b5df4eea0af 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -2417,6 +2417,11 @@ void ScCellRangesBase::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pE pNew->AddRange( aRanges ); pDocShell->GetDocFunc().ReplaceConditionalFormat( 0, pNew, nTab, aRanges ); } + + // and repaint + for (size_t i = 0; i < aRanges.size(); ++i) + pDocShell->PostPaint(*aRanges[i], PAINT_GRID); + pDocShell->SetDocumentModified(); } } } |