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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Feb 1 07:39:55 UTC 2019


 sw/source/uibase/docvw/edtwin.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit a7082e565d7f8bccc822b2658592a4afbbf88d03
Author:     Martin van Zijl <martin.vanzijl at gmail.com>
AuthorDate: Tue Dec 11 10:35:18 2018 +1300
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Fri Feb 1 08:39:27 2019 +0100

    tdf#38101 remove highlight after using format painter
    
    Change-Id: I631fd1357c7b066eaad98f5b2f0950f59330330e
    Reviewed-on: https://gerrit.libreoffice.org/64904
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 26613e463ebb..201d2b2348d8 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -4730,6 +4730,9 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt)
             //if the clipboard is empty after paste remove the ApplyTemplate
             if(!pFormatClipboard->HasContent())
                 SetApplyTemplate(SwApplyTemplate());
+
+            //tdf#38101 remove temporary highlighting
+            m_pUserMarker.reset();
         }
         else if( m_pApplyTempl->nColor )
         {


More information about the Libreoffice-commits mailing list