summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-04-10 15:48:31 +0200
committerJan Holesovsky <kendy@collabora.com>2015-04-10 15:54:57 +0200
commitc7a1b9a01729e80dfc77353f9d0a60831f18af99 (patch)
tree50bf06c6b3b5f6bfb57b6bc5941e2199df7b70fe
parent97d4c1a8100c63091401736c93d6bbbb371d5b37 (diff)
fdo#82014: Repaint & set the document to modified after condformat change.
Change-Id: Ife3e805b95bede7be5d436abab925b35e717ee5e
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx5
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();
}
}
}