[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - sc/source

Eike Rathke (via logerrit) logerrit at kemper.freedesktop.org
Tue May 7 14:52:19 UTC 2019


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

New commits:
commit 905634202afe1d8562ae321909a40ff6117af2ad
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Mon May 6 15:42:20 2019 +0200
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Tue May 7 16:51:42 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
    (cherry picked from commit 67d95af78b26d799e68859761dfe72771f71aeab)
    Reviewed-on: https://gerrit.libreoffice.org/71874
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/sc/source/ui/view/viewfun6.cxx b/sc/source/ui/view/viewfun6.cxx
index 8ab2a6d29e2d..f58008b2a4c4 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