sw/inc/authfld.hxx | 2 +- sw/source/core/fields/authfld.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 995b06bd0fb824c5717791c627746a5fb38cb656 Author: Bjoern Michaelsen <bjoern.michael...@libreoffice.org> AuthorDate: Sun Dec 6 22:02:58 2020 +0100 Commit: Bjoern Michaelsen <bjoern.michael...@libreoffice.org> CommitDate: Mon Dec 7 11:39:10 2020 +0100 SwAuthorityFieldType: Modify no more Change-Id: I59f1e5d25c0defa3b551061fccfeea625d0df3aa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107319 Tested-by: Jenkins Reviewed-by: Bjoern Michaelsen <bjoern.michael...@libreoffice.org> diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx index 05921ad7a454..6ea5612f3164 100644 --- a/sw/inc/authfld.hxx +++ b/sw/inc/authfld.hxx @@ -69,7 +69,7 @@ class SW_DLLPUBLIC SwAuthorityFieldType final : public SwFieldType LanguageType m_eLanguage; OUString m_sSortAlgorithm; - virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew ) override; + virtual void SwClientNotify(const SwModify&, const SfxHint&) override; public: SwAuthorityFieldType(SwDoc* pDoc); diff --git a/sw/source/core/fields/authfld.cxx b/sw/source/core/fields/authfld.cxx index 7efac3af55f3..e00c727962cc 100644 --- a/sw/source/core/fields/authfld.cxx +++ b/sw/source/core/fields/authfld.cxx @@ -411,11 +411,11 @@ void SwAuthorityFieldType::PutValue( const Any& rAny, sal_uInt16 nWhichId ) } } -void SwAuthorityFieldType::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew ) +void SwAuthorityFieldType::SwClientNotify(const SwModify&, const SfxHint& rHint) { //re-generate positions of the fields DelSequenceArray(); - NotifyClients( pOld, pNew ); + CallSwClientNotify(rHint); } sal_uInt16 SwAuthorityFieldType::GetSortKeyCount() const _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits