diff options
author | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-11-02 18:15:21 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-11-02 21:42:08 +0100 |
commit | 587b8eb1d0c7959967299ebfcd03c52dc4b1cab4 (patch) | |
tree | 7a1076e10027bc3b4da3c5241d8cd6b68098dbec | |
parent | f821939c1d2befafda70a8e8c3ed88748ab75762 (diff) |
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.michaelsen@libreoffice.org>
-rw-r--r-- | sw/source/core/unocore/unofield.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/fldui/fldmgr.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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(); |