sw/source/uibase/inc/toxmgr.hxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 27588f9728eb9c6be19fcf69fd1c3a56285b4c1d Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Mon May 2 20:03:23 2022 +0200 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Tue May 3 13:45:12 2022 +0200 sw: document SwTOXMgr Unlike most other managers, this is now owned by SwDoc: this can be created on the stack when there is a need for it. Then it can do its work and safe to delete when no longer needed. Change-Id: Ief2e8c1172602edada36d330a652f8fe51fc8be2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133710 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/sw/source/uibase/inc/toxmgr.hxx b/sw/source/uibase/inc/toxmgr.hxx index 5544a4b860a8..84a49a5a258c 100644 --- a/sw/source/uibase/inc/toxmgr.hxx +++ b/sw/source/uibase/inc/toxmgr.hxx @@ -223,6 +223,10 @@ public: std::optional<OUString> const & GetPhoneticReadingOfSecKey() const { return maPhoneticReadingOfSecKey; } }; +/** + * Built on top of SwWrtShell, provides functionality to insert, update or perform other actions on + * various ToX types (table of contents, indexes and so on). + */ class SW_DLLPUBLIC SwTOXMgr { SwWrtShell* m_pSh;