[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Fri Aug 9 11:15:00 PDT 2013


 sc/source/ui/docshell/docfunc.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit bc599dca8b6b46cff35dab01ad26c18ea529b261
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Aug 9 20:02:08 2013 +0200

    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

diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index 2b26a73..9ff21c7 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


More information about the Libreoffice-commits mailing list