summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorPaul Trojahn <paul.trojahn@gmail.com>2018-08-19 09:18:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-26 10:08:06 +0200
commit7b52990a234bfd6d4efcbc9fe51e240e065faeea (patch)
tree3b382c05febcb0a0fdcded0b1a8b5e0fd6af9873 /editeng/source
parent7a115715c7884d43ed7a4ff9054fed9a95cefef0 (diff)
tdf#106260 Fix invisible pasted urls
UpdateFields() was never called after pasting a field. Change-Id: I91f3eb183a0545d8735c0844f1e864a287101d22 Reviewed-on: https://gerrit.libreoffice.org/59339 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/editeng/impedit2.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index a3a3c374d3a9..603290f9609b 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -2817,6 +2817,7 @@ EditPaM ImpEditEngine::ImpInsertFeature(const EditSelection& rCurSel, const SfxP
if ( IsUndoEnabled() && !IsInUndo() )
InsertUndo(new EditUndoInsertFeature(pEditEngine, CreateEPaM(aPaM), rItem));
aPaM = aEditDoc.InsertFeature( aPaM, rItem );
+ UpdateFields();
ParaPortion* pPortion = FindParaPortion( aPaM.GetNode() );
OSL_ENSURE( pPortion, "Blind Portion in InsertFeature" );