sw/source/core/unocore/unofield.cxx | 2 +- sw/source/uibase/fldui/fldmgr.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 587b8eb1d0c7959967299ebfcd03c52dc4b1cab4 Author: Bjoern Michaelsen <bjoern.michael...@libreoffice.org> AuthorDate: Mon Nov 2 18:15:21 2020 +0100 Commit: Bjoern Michaelsen <bjoern.michael...@libreoffice.org> CommitDate: Mon Nov 2 21:42:08 2020 +0100 Field, FieldType: Remove remaining calls to ModifyNotification Change-Id: I8a825711f3b1f1085b4da90d4d09e837161329f9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105193 Tested-by: Jenkins Reviewed-by: Bjoern Michaelsen <bjoern.michael...@libreoffice.org> diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx index f8785897a91a..5ac8da9bd311 100644 --- a/sw/source/core/unocore/unofield.cxx +++ b/sw/source/core/unocore/unofield.cxx @@ -2572,7 +2572,7 @@ void SAL_CALL SwXTextField::update() default: break; } // Text formatting has to be triggered. - m_pImpl->GetFormatField()->ModifyNotification(nullptr, nullptr); + m_pImpl->GetFormatField()->UpdateTextNode(nullptr, nullptr); } else m_pImpl->m_bCallUpdate = true; diff --git a/sw/source/uibase/fldui/fldmgr.cxx b/sw/source/uibase/fldui/fldmgr.cxx index a761111bacb5..42ac135fedcd 100644 --- a/sw/source/uibase/fldui/fldmgr.cxx +++ b/sw/source/uibase/fldui/fldmgr.cxx @@ -1511,7 +1511,7 @@ bool SwFieldMgr::InsertField( else if( bPageVar ) static_cast<SwRefPageGetFieldType*>(pCurShell->GetFieldType( 0, SwFieldIds::RefPageGet ))->UpdateFields(); else if( SwFieldTypesEnum::GetRef == rData.m_nTypeId ) - pField->GetTyp()->ModifyNotification( nullptr, nullptr ); + pField->GetTyp()->UpdateFields(); // delete temporary field pField.reset(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits