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:54:57 +0200 |
commit | c7a1b9a01729e80dfc77353f9d0a60831f18af99 (patch) | |
tree | 50bf06c6b3b5f6bfb57b6bc5941e2199df7b70fe /sc/source | |
parent | 97d4c1a8100c63091401736c93d6bbbb371d5b37 (diff) |
fdo#82014: Repaint & set the document to modified after condformat change.
Change-Id: Ife3e805b95bede7be5d436abab925b35e717ee5e
Diffstat (limited to 'sc/source')
-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 7a7d4f595f05..c2b9637dad15 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -2421,6 +2421,11 @@ void ScCellRangesBase::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pE pNew->SetRange( 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(); } } } |