diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-05-13 09:54:50 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-05-18 13:54:12 +0200 |
commit | 3ccacb47faa625563f8bf0af8d4c62c1eea6ce7c (patch) | |
tree | 1fdf122a4dba1f212fed3e2b2fa9c84ab798c951 /sw/source/ui/misc/docfnote.cxx | |
parent | dcce3f7fd50b05593e77d7ff43735c5694e9422b (diff) |
tdf#89783: Allow more than 64k PageDescs
+ adjust related code using the functionality
Change-Id: I6fa4ad04137643009ee39522c36d6c9e6f3d2502
Diffstat (limited to 'sw/source/ui/misc/docfnote.cxx')
-rw-r--r-- | sw/source/ui/misc/docfnote.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/misc/docfnote.cxx b/sw/source/ui/misc/docfnote.cxx index 81cf7bd44d6b..76cad1a47ac5 100644 --- a/sw/source/ui/misc/docfnote.cxx +++ b/sw/source/ui/misc/docfnote.cxx @@ -235,8 +235,8 @@ void SwEndNoteOptionPage::Reset( const SfxItemSet* ) for( sal_uInt16 i = RES_POOLPAGE_BEGIN; i < RES_POOLPAGE_END; ++i ) m_pPageTemplBox->InsertEntry(SwStyleNameMapper::GetUIName( i, OUString() )); - const sal_uInt16 nCount = pSh->GetPageDescCnt(); - for(sal_uInt16 i = 0; i < nCount; ++i) + const size_t nCount = pSh->GetPageDescCnt(); + for(size_t i = 0; i < nCount; ++i) { const SwPageDesc &rPageDesc = pSh->GetPageDesc(i); if(LISTBOX_ENTRY_NOTFOUND == m_pPageTemplBox->GetEntryPos(rPageDesc.GetName())) |