summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-03-01 22:41:50 +0100
committerEike Rathke <erack@redhat.com>2018-03-01 22:42:43 +0100
commitf97622381b77a0b14af5600ef4179f277723d50f (patch)
tree295ef02415d3dad9b2b0b419c912f0861a178939
parent75a289c81880d11982b64f5fecfc5021c8716260 (diff)
Resolves: tdf#54197 update input line with new cell content after Ctrl+D fill
... and invalidate cell slots. Change-Id: Icbe7784430f7ddeed8fa0bc56352269447ee8cbb
-rw-r--r--sc/source/ui/view/viewfun2.cxx4
1 files changed, 4 insertions, 0 deletions
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