diff options
-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(); |