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/table | |
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/table')
-rw-r--r-- | sw/source/ui/table/tabledlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx index 19b3b79af16d..2796753c4f72 100644 --- a/sw/source/ui/table/tabledlg.cxx +++ b/sw/source/ui/table/tabledlg.cxx @@ -1497,9 +1497,9 @@ void SwTextFlowPage::Reset( const SfxItemSet* rSet ) if(bFlowAllowed) { //Inserting of the existing page templates in the list box - const sal_uInt16 nCount = pShell->GetPageDescCnt(); + const size_t nCount = pShell->GetPageDescCnt(); - for( sal_uInt16 i = 0; i < nCount; ++i) + for( size_t i = 0; i < nCount; ++i) { const SwPageDesc &rPageDesc = pShell->GetPageDesc(i); m_pPageCollLB->InsertEntry(rPageDesc.GetName()); |