sal_uInt16 to sal_Int32

Change-Id: I278f325925717bcb8bc45afacd6dbf442f0eefbe
This commit is contained in:
Matteo Casalin
2014-03-29 22:26:55 +01:00
parent 3351ebde48
commit f4910a27d3

View File

@@ -530,7 +530,7 @@ void SwTemplateDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage )
::FillCharStyleListBox(rCharFmtLB, pDocShell);
std::vector<OUString> aList;
for(sal_uInt16 j = 0; j < rCharFmtLB.GetEntryCount(); j++)
for(sal_Int32 j = 0; j < rCharFmtLB.GetEntryCount(); j++)
aList.push_back( rCharFmtLB.GetEntry(j) );
aSet.Put( SfxStringListItem( SID_CHAR_FMT_LIST_BOX,&aList ) ) ;