summaryrefslogtreecommitdiff
path: root/editeng/source/misc
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-08-05 14:47:07 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-08-06 07:39:26 +0200
commitfdbdfc97186ff8917faa3d7ca9f5ac26e45d9c70 (patch)
tree3b19f32c1c9683a2212725cc5106eb0e8ca644e8 /editeng/source/misc
parentf4f5e3f98aee5d9d1679edab8248a4cfd12f74ce (diff)
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@cib.de>
Diffstat (limited to 'editeng/source/misc')
-rw-r--r--editeng/source/misc/urlfieldhelper.cxx2
1 files changed, 2 insertions, 0 deletions
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();
}
}