Kaydet (Commit) 820383be authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

There are only 8 available strings

for RID_SVXSTR_SINGLENUM_DESCRIPTIONS, but since
71b35212, we're
allowing here more than 8 items. So don't try to get
strings for those items, the same way we
restrict that in SvxNumValueSet::SetNumberingSettings.
(Although these string are (still) not used anywhere
AFAIK.)

Change-Id: Iaa538e4aebfc72729646f0befc7bcf8e58d6cbee
üst c60c3704
......@@ -1312,7 +1312,8 @@ void NumberingTypeMgr::Init()
pNumEntry->nIndex = i + 1;
pNumEntry->nIndexDefault = i;
pNumEntry->pNumSetting = pNew;
pNumEntry->sDescription = SVX_RESSTR( RID_SVXSTR_SINGLENUM_DESCRIPTIONS + i );
if ( i < 8 )
pNumEntry->sDescription = SVX_RESSTR( RID_SVXSTR_SINGLENUM_DESCRIPTIONS + i );
pNumberSettingsArr->push_back(std::shared_ptr<NumberSettings_Impl>(pNumEntry));
}
}
......
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