diff options
Diffstat (limited to 'sw/inc/reffld.hxx')
-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 |