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/filter/html/htmlcss1.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/filter/html/htmlcss1.cxx')
-rw-r--r-- | sw/source/filter/html/htmlcss1.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx index 4d14e70bd61c..487549411f20 100644 --- a/sw/source/filter/html/htmlcss1.cxx +++ b/sw/source/filter/html/htmlcss1.cxx @@ -89,7 +89,7 @@ static struct SwCSS1ItemIds void SwCSS1Parser::ChgPageDesc( const SwPageDesc *pPageDesc, const SwPageDesc& rNewPageDesc ) { - sal_uInt16 pos; + size_t pos; bool found = pDoc->ContainsPageDesc( pPageDesc, &pos ); OSL_ENSURE( found, "Seitenvorlage nicht gefunden" ); if (found) @@ -1343,8 +1343,8 @@ SwPageDesc *SwCSS1Parser::GetMasterPageDesc() static SwPageDesc *FindPageDesc(SwDoc *pDoc, sal_uInt16 nPoolId) { - sal_uInt16 nPageDescs = pDoc->GetPageDescCnt(); - sal_uInt16 nPage; + size_t nPageDescs = pDoc->GetPageDescCnt(); + size_t nPage; for (nPage=0; nPage < nPageDescs && pDoc->GetPageDesc(nPage).GetPoolFmtId() != nPoolId; ++nPage) ; |