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

Eike Rathke (via logerrit) logerrit at kemper.freedesktop.org
Mon May 6 16:58:36 UTC 2019


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

New commits:
commit 67d95af78b26d799e68859761dfe72771f71aeab
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Mon May 6 15:42:20 2019 +0200
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Mon May 6 18:57:35 2019 +0200

    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 at redhat.com>
    Tested-by: Jenkins

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.


More information about the Libreoffice-commits mailing list