summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-05-02 20:03:23 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-05-03 13:45:12 +0200
commit27588f9728eb9c6be19fcf69fd1c3a56285b4c1d (patch)
treec104a66c7912b5c73275f836e21481e41377d450 /sw/source/uibase
parent2ec4aa9f24d618bae5be84b804bf4a51faea4e32 (diff)
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 <vmiklos@collabora.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/inc/toxmgr.hxx4
1 files changed, 4 insertions, 0 deletions
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;