summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2019-05-06 15:42:20 +0200
committerEike Rathke <erack@redhat.com>2019-05-06 18:57:35 +0200
commit67d95af78b26d799e68859761dfe72771f71aeab (patch)
treefa05ab6d969d6c94d00509bf243be59b4fd46e21 /sc/source
parent1caea03fcc6c24e38b2d1d9f6097ad84183ffefd (diff)
Resolves: tdf#124315 clear "Enter pastes" mode and marching ants overlay
Change-Id: Ief20ca2631c66c3c23410019ee0b7dfd9bd742a0 Reviewed-on: https://gerrit.libreoffice.org/71864 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/view/viewfun6.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/view/viewfun6.cxx b/sc/source/ui/view/viewfun6.cxx
index 2332f88cdf05..b632d401d122 100644
--- a/sc/source/ui/view/viewfun6.cxx
+++ b/sc/source/ui/view/viewfun6.cxx
@@ -329,6 +329,11 @@ void ScViewFunc::InsertCurrentTime(SvNumFormatType nReqFmt, const OUString& rUnd
}
else
{
+ // Clear "Enter pastes" mode.
+ rViewData.SetPasteMode( ScPasteFlags::NONE );
+ // Clear CopySourceOverlay in each window of a split/frozen tabview.
+ rViewData.GetViewShell()->UpdateCopySourceOverlay();
+
bool bForceReqFmt = false;
const double fCell = rDoc.GetValue( aCurPos);
// Combine requested date/time stamp with existing cell time/date, if any.