diff options
author | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-11-16 00:21:46 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-11-16 19:04:28 +0100 |
commit | a27966454efc25591fe198548d38e5eafe443a68 (patch) | |
tree | 5908e03e52704e23674093928ffa7f7ecfab827f /sw/inc | |
parent | d129e1785e541f217d4f6547faec87b9fa772019 (diff) |
Replace needless SwClientNotifyCalls with CallSwClientNotify
Change-Id: I967d458be7cd7c68ff410357da0cb0163dcb454e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105908
Tested-by: Jenkins
Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/reffld.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/reffld.hxx b/sw/inc/reffld.hxx index 6d9ee86f7950..c76fe074c854 100644 --- a/sw/inc/reffld.hxx +++ b/sw/inc/reffld.hxx @@ -67,7 +67,7 @@ class SAL_DLLPUBLIC_RTTI SwGetRefFieldType final : public SwFieldType SwDoc& m_rDoc; /// Overlay in order to update all ref-fields. - virtual void Modify( const SfxPoolItem*, const SfxPoolItem* ) override; + virtual void SwClientNotify(const SwModify&, const SfxHint&) override; public: SwGetRefFieldType(SwDoc& rDoc ); virtual std::unique_ptr<SwFieldType> Copy() const override; @@ -80,6 +80,7 @@ public: sal_uInt16 nSubType, sal_uInt16 nSeqNo, sal_Int32* pStt, sal_Int32* pEnd = nullptr, SwRootFrame const* pLayout = nullptr); + void UpdateGetReferences(); }; class SW_DLLPUBLIC SwGetRefField final : public SwField |