diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-03-15 11:59:23 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-03-15 11:42:28 +0000 |
commit | 77db147eeff5643338c678ec73b6ca962b6c162f (patch) | |
tree | 9ac317b17762ce1af398b5ea194df1188e20ba2d /sw/source/uibase/inc/content.hxx | |
parent | 1c2edd6e7ce5ea479b76ca263a3b6188403b6d7f (diff) |
Fix some comments
* Format some comments as doxygen comments
* Remove some unnecessary comments
Change-Id: I2a33ee70f73bef565bff662f77e13a15f32df253
Reviewed-on: https://gerrit.libreoffice.org/23266
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sw/source/uibase/inc/content.hxx')
-rw-r--r-- | sw/source/uibase/inc/content.hxx | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/sw/source/uibase/inc/content.hxx b/sw/source/uibase/inc/content.hxx index 85a20ec1bd77..10b547d0071d 100644 --- a/sw/source/uibase/inc/content.hxx +++ b/sw/source/uibase/inc/content.hxx @@ -141,13 +141,15 @@ public: const SwTOXBase* GetTOXBase() const {return pBase;} }; -/* - class ContentType contains information to one type of content. - MemberArray is only populated if the content is requested by - GetMember. It is reloaded after Invalidate() only if the content - should be read again. -*/ +/** + * Content type, knows it's contents and the WrtShell. + * + * The class ContentType contains information to one type of content. + * MemberArray is only populated if the content is requested by + * GetMember. It is reloaded after Invalidate() only if the content + * should be read again. +*/ class SwContentType : public SwTypeNumber { SwWrtShell* pWrtShell; @@ -168,10 +170,14 @@ public: virtual ~SwContentType(); void Init(bool* pbInvalidateWindow = nullptr); + + /** Fill the List of contents */ void FillMemberList(bool* pbLevelChanged = nullptr); size_t GetMemberCount() const {return nMemberCount;}; ContentTypeId GetType() const {return nContentType;} + + /** Deliver content, for that if necessary fill the list */ const SwContent* GetMember(size_t nIndex); const OUString& GetName() {return sContentTypeName;} const OUString& GetSingleName() const {return sSingleContentTypeName;} |