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/dbfld.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/dbfld.hxx')
-rw-r--r-- | sw/inc/dbfld.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/inc/dbfld.hxx b/sw/inc/dbfld.hxx index 4fabaff6c253..8904575f319b 100644 --- a/sw/inc/dbfld.hxx +++ b/sw/inc/dbfld.hxx @@ -47,8 +47,9 @@ public: const OUString& GetColumnName() const {return m_sColumn;} const SwDBData& GetDBData() const {return m_aDBData;} - virtual void QueryValue( css::uno::Any& rVal, sal_uInt16 nWhich ) const override; - virtual void PutValue( const css::uno::Any& rVal, sal_uInt16 nWhich ) override; + virtual void QueryValue( css::uno::Any& rVal, sal_uInt16 nWhich ) const override; + virtual void PutValue( const css::uno::Any& rVal, sal_uInt16 nWhich ) override; + virtual void UpdateFields() override {}; }; // Classes derived from SwFields. They overlay the expand-function. |