Kaydet (Commit) fb23c2df authored tarafından Rafael Dominguez's avatar Rafael Dominguez Kaydeden (comit) Joseph Powers

Replace List for std::vector<String>.

üst ea9d29c0
......@@ -3586,13 +3586,10 @@ void SvxNumOptionsTabPage::PageCreated(SfxAllItemSet aSet)
if (pListItem)
{
ListBox& myCharFmtLB = GetCharFmtListBox();
const List *pList = (pListItem)->GetList();
sal_uInt32 nCount = pList->Count();;
const std::vector<String> &aList = (pListItem)->GetList();
sal_uInt32 nCount = aList.size();;
for(sal_uInt32 i = 0; i < nCount; i++)
{
myCharFmtLB.InsertEntry(*(const String*)(pList->GetObject(i)) );
}
myCharFmtLB.InsertEntry(aList[i]);
}
if (pMetricItem)
SetMetric(static_cast<FieldUnit>(pMetricItem->GetValue()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment