sw/inc/authfld.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 2771f01965d9a9542ecc645a2a708a17f541df07 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Mon Feb 13 20:47:21 2023 +0100 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Tue Feb 14 07:04:43 2023 +0000 sw: document SwAuthorityField Its invariant was already documented, but it wasn't mentioned that the UI's bibliography entry is called an authority field internally. Change-Id: I55a946a5bdb59e8d6e1def54b16d0c986e531c34 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146942 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx index 07144b3e43e2..764aa42190b6 100644 --- a/sw/inc/authfld.hxx +++ b/sw/inc/authfld.hxx @@ -143,7 +143,10 @@ public: }; -/** invariant for SwAuthorityField is that it is always registered at its +/** Represents an inserted bibliography entry, created using Insert -> Table of Contents and Index + -> Bibliography Entry. + + invariant for SwAuthorityField is that it is always registered at its SwAuthorityFieldType via AddField()/RemoveField() & therefore has m_nHandle set - but it's possible that multiple SwAuthorityField have the same m_nHandle & so the number of instances is an upper bound on