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

New commits:
commit f97622381b77a0b14af5600ef4179f277723d50f
Author: Eike Rathke <er...@redhat.com>
Date:   Thu Mar 1 22:41:50 2018 +0100

    Resolves: tdf#54197 update input line with new cell content after Ctrl+D 
fill
    
    ... and invalidate cell slots.
    
    Change-Id: Icbe7784430f7ddeed8fa0bc56352269447ee8cbb

diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index 5198708574d0..cad55a396f70 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -1282,10 +1282,14 @@ void ScViewFunc::FillSimple( FillDir eDir )
         {
             pDocSh->UpdateOle(&GetViewData());
             UpdateScrollBars();
+
             bool bDoAutoSpell = 
pDocSh->GetDocument().GetDocOptions().IsAutoSpell();
             if ( bDoAutoSpell )
                 CopyAutoSpellData(eDir, aRange.aStart.Col(), 
aRange.aStart.Row(), aRange.aEnd.Col(), aRange.aEnd.Row(),
                         ::std::numeric_limits<sal_uLong>::max());
+
+            // Invalidate cell slots and update input line with new content.
+            CellContentChanged();
         }
     }
     else
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to