diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-05-30 20:06:14 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-05-30 23:28:57 +0200 |
commit | 549e8285b2b57797d72fd064d947da522471a6b9 (patch) | |
tree | 98a72b897abdb84e129ddfe109710a2a82e41e74 /sw/source/uibase/inc/content.hxx | |
parent | b75c104ace039cff957696ea3de091f60b26c918 (diff) |
Use size_t for GetMemberCount/GetMember
Also use more proper integer types in related files.
Change-Id: I07536491f0a28d27de07ceb3326b703206087caf
Diffstat (limited to 'sw/source/uibase/inc/content.hxx')
-rw-r--r-- | sw/source/uibase/inc/content.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/inc/content.hxx b/sw/source/uibase/inc/content.hxx index 0d1a804b9d86..adcb3f799527 100644 --- a/sw/source/uibase/inc/content.hxx +++ b/sw/source/uibase/inc/content.hxx @@ -155,7 +155,7 @@ class SwContentType : public SwTypeNumber OUString sContentTypeName; // name of content type OUString sSingleContentTypeName; // name of content type, singular OUString sTypeToken; // attachment for URL - sal_uInt16 nMemberCount; // content count + size_t nMemberCount; // content count sal_uInt16 nContentType; // content type's Id sal_uInt8 nOutlineLevel; bool bDataValid : 1; @@ -169,10 +169,10 @@ public: void Init(bool* pbInvalidateWindow = 0); void FillMemberList(bool* pbLevelChanged = NULL); - sal_uInt16 GetMemberCount() const + size_t GetMemberCount() const {return nMemberCount;}; sal_uInt16 GetType() const {return nContentType;} - const SwContent* GetMember(sal_uInt16 nIndex); + const SwContent* GetMember(size_t nIndex); const OUString& GetName() {return sContentTypeName;} const OUString& GetSingleName() const {return sSingleContentTypeName;} const OUString& GetTypeToken() const{return sTypeToken;} |