summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@openoffice.org>2010-10-18 22:00:21 +0200
committerBartosz Kosiorek <gang65@openoffice.org>2010-10-18 22:00:21 +0200
commit8ea563dce6cc7e6a81cab56db220e07cc407ee5a (patch)
treecdd47719e219afcbc42ce034711d1afa75f17051 /editeng/source
parent541c40f8d8ed36a8d16593f4a496cea568362b78 (diff)
svarray: #i112395# #i84159# increase max number of pools to 2^32
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/editeng/impedit4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index a86eed75238c..816489d68c21 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -472,7 +472,7 @@ sal_uInt32 ImpEditEngine::WriteRTF( SvStream& rOutput, EditSelection aSel )
aColorList.Insert( new SvxColorItem( *pColorItem ), nPos );
pColorItem = (SvxColorItem*)aEditDoc.GetItemPool().GetItem2( EE_CHAR_COLOR, ++i );
}
- aColorList.Insert( new SvxColorItem( (const SvxColorItem&)aEditDoc.GetItemPool().GetDefaultItem( EE_CHAR_COLOR) ), static_cast<sal_uInt32> (i) );
+ aColorList.Insert( new SvxColorItem( (const SvxColorItem&)aEditDoc.GetItemPool().GetDefaultItem( EE_CHAR_COLOR) ), i );
rOutput << '{' << OOO_STRING_SVTOOLS_RTF_COLORTBL;
for ( j = 0; j < aColorList.Count(); j++ )