sw/inc/docufld.hxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit fde51a00cc17d3bbc279b27ac730b7c9f4f0b920
Author: Miklos Vajna <[email protected]>
AuthorDate: Wed Sep 17 08:53:40 2025 +0200
Commit: Miklos Vajna <[email protected]>
CommitDate: Wed Sep 17 14:37:11 2025 +0200
sw: document SwAuthorField
I.e. current user on the UI is an author field, not a doc info field.
Change-Id: I9bb4c7e01697cbb786b9edd9ba59253053e10c2a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191081
Reviewed-by: Miklos Vajna <[email protected]>
Tested-by: Jenkins
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index a0d3a4873429..af8e996abaf8 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -206,6 +206,8 @@ public:
virtual std::unique_ptr<SwFieldType> Copy() const override;
};
+/// Insert -> Field -> More fields -> Document -> Author -> Name on the UI.
This expands to the
+/// name of the current user, first author would be an SwDocInfoField.
class SAL_DLLPUBLIC_RTTI SwAuthorField final : public SwField
{
OUString m_aContent;