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

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 6 05:40:15 UTC 2019


 editeng/source/misc/urlfieldhelper.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit fdbdfc97186ff8917faa3d7ca9f5ac26e45d9c70
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Mon Aug 5 14:47:07 2019 +0200
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Tue Aug 6 07:39:26 2019 +0200

    tdf#126369 Invalidate edit view after removing hyperlink
    
    Change-Id: I715c0de52a7eb27e8eb3848d99006addf0b90695
    Reviewed-on: https://gerrit.libreoffice.org/76982
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/editeng/source/misc/urlfieldhelper.cxx b/editeng/source/misc/urlfieldhelper.cxx
index f2499dbf3792..ce7217612ead 100644
--- a/editeng/source/misc/urlfieldhelper.cxx
+++ b/editeng/source/misc/urlfieldhelper.cxx
@@ -10,6 +10,7 @@
 #include <editeng/urlfieldhelper.hxx>
 
 #include <editeng/flditem.hxx>
+#include <editeng/editview.hxx>
 
 void URLFieldHelper::RemoveURLField(Outliner* pOutl, OutlinerView* pOLV)
 {
@@ -21,6 +22,7 @@ void URLFieldHelper::RemoveURLField(Outliner* pOutl, OutlinerView* pOLV)
     {
         ESelection aSel = pOLV->GetSelection();
         pOutl->QuickInsertText(pUrlField->GetRepresentation(), aSel);
+        pOLV->GetEditView().Invalidate();
     }
 }
 


More information about the Libreoffice-commits mailing list