diff options
author | Bartosz Kosiorek <gang65@openoffice.org> | 2010-10-18 22:00:21 +0200 |
---|---|---|
committer | Bartosz Kosiorek <gang65@openoffice.org> | 2010-10-18 22:00:21 +0200 |
commit | 09bc02adba78638cb3b5cae28f04f18f283bf24a (patch) | |
tree | da9b7d0b1747bccd54a63cc06621d209a942cde0 /sw/source/filter/xml/xmlfonte.cxx | |
parent | 4a21f924ee5fb02c7b919da593cf18f6408db102 (diff) |
svarray: #i112395# #i84159# increase max number of pools to 2^32
Diffstat (limited to 'sw/source/filter/xml/xmlfonte.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlfonte.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/xml/xmlfonte.cxx b/sw/source/filter/xml/xmlfonte.cxx index 80c8e982c0dd..b611c02fe36c 100644 --- a/sw/source/filter/xml/xmlfonte.cxx +++ b/sw/source/filter/xml/xmlfonte.cxx @@ -80,10 +80,10 @@ SwXMLFontAutoStylePool_Impl::SwXMLFontAutoStylePool_Impl( Add( rFont.GetFamilyName(), rFont.GetStyleName(), static_cast< sal_uInt16 >(rFont.GetFamily()), static_cast< sal_uInt16 >(rFont.GetPitch()), rFont.GetCharSet() ); - sal_uInt16 nItems = rPool.GetItemCount( nWhichId ); - for( sal_uInt16 j = 0; j < nItems; ++j ) + sal_uInt32 nItems = rPool.GetItemCount2( nWhichId ); + for( sal_uInt32 j = 0; j < nItems; ++j ) { - if( 0 != (pItem = rPool.GetItem( nWhichId, j ) ) ) + if( 0 != (pItem = rPool.GetItem2( nWhichId, j ) ) ) { const SvxFontItem *pFont = (const SvxFontItem *)pItem; |