diff options
author | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-12-06 22:06:20 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-12-07 11:40:03 +0100 |
commit | 8144e8133be99e3ad6c767756417d604cec2c3a5 (patch) | |
tree | dfac6bc50e9e31d8f8b5d443b8d0ddc4b0e05db4 /sw/inc | |
parent | 995b06bd0fb824c5717791c627746a5fb38cb656 (diff) |
SwRefPageSetFieldType: Modify no more
Change-Id: I313237069eeafd5913468e18e2eb34e9ef185302
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107320
Tested-by: Jenkins
Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/docufld.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index 62363f01bbd1..5da1a4729bcb 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -574,8 +574,8 @@ public: virtual std::unique_ptr<SwFieldType> Copy() const override; private: - /// Overlay, because there is nothing to update! - virtual void Modify( const SfxPoolItem*, const SfxPoolItem * ) override; + /// noop, there is nothing to update! + virtual void SwClientNotify(const SwModify&, const SfxHint&) override; }; // Relative page numbering. @@ -611,7 +611,7 @@ class SwRefPageGetFieldType final : public SwFieldType SetGetExpFields const & rSetList, SwRootFrame const* pLayout); /// overwritten to update all RefPageGet fields - virtual void Modify( const SfxPoolItem*, const SfxPoolItem * ) override; + virtual void SwClientNotify(const SwModify&, const SfxHint&) override; public: SwRefPageGetFieldType( SwDoc& rDoc ); virtual std::unique_ptr<SwFieldType> Copy() const override; |