diff options
author | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2021-10-25 02:02:09 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2021-10-29 03:00:47 +0200 |
commit | 86d11097cd4a2ae4a6b4e6b35e28a6075376d67a (patch) | |
tree | 104762ecf24daf8e4c617cc372310d642bc46929 /sw/inc/reffld.hxx | |
parent | cae107bab822acc198569750ae5b9a272f7ae996 (diff) |
use virtual function call for dynamic dispatch
... as it is around since the dawn of C++ and should be stable --
certainly more stable and less errorprone that manual typetagging.
Change-Id: I5dfe2ce40c2334dc8fe60705d358779fa4bf1586
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124131
Tested-by: Jenkins
Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sw/inc/reffld.hxx')
-rw-r--r-- | sw/inc/reffld.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/reffld.hxx b/sw/inc/reffld.hxx index c76fe074c854..c8c8965b5cb1 100644 --- a/sw/inc/reffld.hxx +++ b/sw/inc/reffld.hxx @@ -71,6 +71,7 @@ class SAL_DLLPUBLIC_RTTI SwGetRefFieldType final : public SwFieldType public: SwGetRefFieldType(SwDoc& rDoc ); virtual std::unique_ptr<SwFieldType> Copy() const override; + virtual void UpdateFields() override {}; SwDoc& GetDoc() const { return m_rDoc; } |