diff options
author | Eike Rathke <erack@redhat.com> | 2013-08-09 20:02:08 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-08-10 14:58:58 +0000 |
commit | 100ba6a1a52925ac5042c3efb25c8376fd128ff7 (patch) | |
tree | 141dcf139ffc4feeda9fe15a4a24afe5e9515c2a | |
parent | a4a938f1ac9eea09e2fc7dd53d5c7e2d7ad1ddc2 (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
(cherry picked from commit bc599dca8b6b46cff35dab01ad26c18ea529b261)
Reviewed-on: https://gerrit.libreoffice.org/5332
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
-rw-r--r-- | sc/source/ui/docshell/docfunc.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index 6e8cd1c81173..1144c0e31694 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 |