summaryrefslogtreecommitdiff
path: root/sw/inc/fldbas.hxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@libreoffice.org>2021-10-25 02:02:09 +0200
committerBjoern Michaelsen <bjoern.michaelsen@libreoffice.org>2021-10-29 03:00:47 +0200
commit86d11097cd4a2ae4a6b4e6b35e28a6075376d67a (patch)
tree104762ecf24daf8e4c617cc372310d642bc46929 /sw/inc/fldbas.hxx
parentcae107bab822acc198569750ae5b9a272f7ae996 (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/fldbas.hxx')
-rw-r--r--sw/inc/fldbas.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx
index 03a410834219..0251ba1f9a23 100644
--- a/sw/inc/fldbas.hxx
+++ b/sw/inc/fldbas.hxx
@@ -284,6 +284,7 @@ public:
void GatherRefFields(std::vector<SwGetRefField*>& rvRFields, const sal_uInt16 nTyp);
void GatherFields(std::vector<SwFormatField*>& rvFormatFields, bool bCollectOnlyInDocNodes=true) const;
void GatherDdeTables(std::vector<SwDDETable*>& rvTables) const;
+ virtual void UpdateFields();
};
/** Base class of all fields.