summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-08-09 20:02:08 +0200
committerEike Rathke <erack@redhat.com>2013-08-09 20:14:37 +0200
commitbc599dca8b6b46cff35dab01ad26c18ea529b261 (patch)
tree2f7e876206dbaf8a70e54f2889db773171650e63
parenteda55cdf98ae06b94434bd8529dabc516e0e065c (diff)
resolved fdo#66205 call PostPaintCell() in Set...Cell() data entry
Cell modifications need to chain repaint positions. Regression introduced with bcf5b54b47eda4e39b4f5f4813cb43e1f52f0201 and related. Change-Id: I4df633304443ea761ae743ee1271f5777e0da5b2
-rw-r--r--sc/source/ui/docshell/docfunc.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index 2b26a7399a34..9ff21c771f24 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -833,6 +833,7 @@ bool ScDocFunc::SetValueCell( const ScAddress& rPos, double fVal, bool bInteract
if (bHeight)
AdjustRowHeight(rPos);
+ rDocShell.PostPaintCell( rPos );
aModificator.SetDocumentModified();
// #103934#; notify editline and cell in edit mode
@@ -869,6 +870,7 @@ bool ScDocFunc::SetStringCell( const ScAddress& rPos, const OUString& rStr, bool
if (bHeight)
AdjustRowHeight(rPos);
+ rDocShell.PostPaintCell( rPos );
aModificator.SetDocumentModified();
// #103934#; notify editline and cell in edit mode
@@ -903,6 +905,7 @@ bool ScDocFunc::SetEditCell( const ScAddress& rPos, const EditTextObject& rStr,
if (bHeight)
AdjustRowHeight(rPos);
+ rDocShell.PostPaintCell( rPos );
aModificator.SetDocumentModified();
// #103934#; notify editline and cell in edit mode
@@ -956,6 +959,7 @@ bool ScDocFunc::SetFormulaCell( const ScAddress& rPos, ScFormulaCell* pCell, boo
if (bHeight)
AdjustRowHeight(rPos);
+ rDocShell.PostPaintCell( rPos );
aModificator.SetDocumentModified();
// #103934#; notify editline and cell in edit mode